Florian Fainelli [Mon, 16 Jun 2008 13:24:41 +0000 (13:24 +0000)]
This patch applies to the RDC 32xx ethernet driver (svn r10754, first patch applied) and fixes the following issues:
- re-added the parent parameter to specify a netdevice to steal the MAC address from (optional).
- fixed null pointer access in r6040_rx() (lp->dev init. was missing)
- fixed "scheduling while atomic" endless loop if tx_timeout() was called (caused by the re-allocs of the buffers)
- fixed tx timeouts (tx irq weren't re-enabled on rx irq)
It adds some defines and cleans the code a bit (IMHO).
Signed-Off by Joerg Albert <jal2@gmx.de>
SVN-Revision: 11507
Florian Fainelli [Mon, 16 Jun 2008 13:24:09 +0000 (13:24 +0000)]
Hi,
this is the first of three patches to fix the ethernet driver of RDC R32xx applied to svn r10754.
It adds debugs and make some procedures (r6040_*) global symbols in order to help with debugging kernel oops. Version is increased from 0.16 to 0.18 to avoid conflicts with the driver variant metioned in the X-WRT forum (call 0.17.3) Tested on a Sitecom WL-153.
Signed-Off-By: Joerg Albert <jal2@gmx.de>
SVN-Revision: 11506
Imre Kaloz [Mon, 16 Jun 2008 13:20:10 +0000 (13:20 +0000)]
backport mv643xx ethernet changes from the Marvell git repo
SVN-Revision: 11504
Imre Kaloz [Mon, 16 Jun 2008 13:18:58 +0000 (13:18 +0000)]
enable AMD flash support and physmap on orion
SVN-Revision: 11503
Gabor Juhos [Mon, 16 Jun 2008 13:17:52 +0000 (13:17 +0000)]
[kernel] generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch
SVN-Revision: 11502
Gabor Juhos [Mon, 16 Jun 2008 12:57:56 +0000 (12:57 +0000)]
[kernel] generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26
SVN-Revision: 11501
Imre Kaloz [Mon, 16 Jun 2008 12:43:16 +0000 (12:43 +0000)]
libnl: backport memleak fix
SVN-Revision: 11500
Imre Kaloz [Mon, 16 Jun 2008 12:42:36 +0000 (12:42 +0000)]
fix libnl compile with older kernels
SVN-Revision: 11499
Imre Kaloz [Mon, 16 Jun 2008 12:40:48 +0000 (12:40 +0000)]
refresh generic 2.6.22 patches
SVN-Revision: 11498
Imre Kaloz [Mon, 16 Jun 2008 12:38:55 +0000 (12:38 +0000)]
fixup machid workaround, generate uImage manually
SVN-Revision: 11497
Ralph Hempel [Mon, 16 Jun 2008 11:32:13 +0000 (11:32 +0000)]
added unsquashfs-lzma, usefull for debugging of existing fs images
SVN-Revision: 11496
Felix Fietkau [Sun, 15 Jun 2008 20:41:41 +0000 (20:41 +0000)]
fix the path to the x-wrt feed (svn:// is broken on berlios.de at the moment)
SVN-Revision: 11494
Felix Fietkau [Sun, 15 Jun 2008 14:50:41 +0000 (14:50 +0000)]
add another check to the dependencies
SVN-Revision: 11475
Felix Fietkau [Sun, 15 Jun 2008 14:49:00 +0000 (14:49 +0000)]
fix typo
SVN-Revision: 11474
Felix Fietkau [Sun, 15 Jun 2008 14:34:00 +0000 (14:34 +0000)]
add some sanity checking
SVN-Revision: 11473
Felix Fietkau [Sun, 15 Jun 2008 11:15:35 +0000 (11:15 +0000)]
remove some unused crap
SVN-Revision: 11472
Felix Fietkau [Sun, 15 Jun 2008 11:11:28 +0000 (11:11 +0000)]
(6/6) bcm57xx: package
This is the bcm57xx package. I have tested default vlan functions,
but I dont have the equipment to test more advanced setups. The default
vlan setup seems to be working fine. I also added the activate_gpio
parameter which will make the driver activate the switch via gpio before
probing for it.
I'm not sure which method is best for autoload. For the wrt350n, I
need the activate_gpio parameter. But its probably not a good idea
to add that to the autoload file. On a system without a bcm57xx switch,
isn't it a bad idea to mess with the gpios looking for the switch? Ideally,
wouldn't it be best to load the bcm57xx module from broadcom-diag, after
it has determined which router its on? I tried using 'request_module' from
there, but had no success. For now, I am relying on preinit to load
the bcm57xx module with activate_gpio param, after it has failed to load
switch_robo and switch_adm.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11471
Felix Fietkau [Sun, 15 Jun 2008 11:10:43 +0000 (11:10 +0000)]
(5/6) bcm57xx: bcm4785 incomplete reboot
I noticed my wrt350n would not reliably reboot after entering
the reboot command. I found this code in the source for the
wrt600n. It corrects the problem, and the wrt350n reboots
reliably now.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11470
Felix Fietkau [Sun, 15 Jun 2008 11:10:27 +0000 (11:10 +0000)]
(4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered
This patch prevents switch-robo.c from attempting robo_probe on a port
that is already registered. robo_probe will adjust kernel reference counts
if it detects a switch on the port. If this patch wasn't applied, the
wrt350n would hang on reboot, waiting for the network driver reference count
to reach zero indefinitely.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11469
Felix Fietkau [Sun, 15 Jun 2008 11:10:13 +0000 (11:10 +0000)]
(3/6) bcm57xx: preinit
This patch allows the bcm57xx module to work correctly with failsafe mode.
insmod doesn't return an error when a module loads but doesn't detect a switch.
I added the check_module function to load the module, then make sure
it doesn't just exit immediately. This allows preinit to only attempt to
load the bcm57xx module when switch-robo and switch-adm dont detect a switch.
The activate_gpio parameter to bcm57xx simply instructs the module to attempt
to activate the switch via gpio before probing for the switch.
Tested on wrt350n.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11468
Felix Fietkau [Sun, 15 Jun 2008 11:09:49 +0000 (11:09 +0000)]
(2/6) bcm57xx: netconfig
Update the netconfig script to support boardtype 0x478. I've tested this
on the wrt350n, hopefully it will match the 600n as well.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11467
Felix Fietkau [Sun, 15 Jun 2008 11:09:27 +0000 (11:09 +0000)]
(1/6) bcm57xx: init from diag
I've been working to finish up the bcm57xx module package nbd
posted a few months ago. I am no expert, just had some spare
time and some motivation. Here is the background:
https://dev.openwrt.org/ticket/2744
This first patch disables the bcm57xx gpio setup in broadcom-diag.
The switch needs to be initialized by the driver so the driver can
then reset the switch ASAP. If the switch isn't reset quickly enough,
it will forward packets between the WAN and LAN, which will cause
problems with modems that only allow one mac to access the internet.
Tested on wrt350n.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11466
Peter Denison [Fri, 13 Jun 2008 21:05:26 +0000 (21:05 +0000)]
Remove ssb headers from mac80211 to avoid conflict with in-kernel ones
SVN-Revision: 11462
Felix Fietkau [Fri, 13 Jun 2008 15:29:07 +0000 (15:29 +0000)]
remove accidentally committed swap file
SVN-Revision: 11461
Felix Fietkau [Fri, 13 Jun 2008 15:28:31 +0000 (15:28 +0000)]
create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
SVN-Revision: 11460
Imre Kaloz [Fri, 13 Jun 2008 12:58:28 +0000 (12:58 +0000)]
temporary hack to fixup the mach id for the wrt350nv2
SVN-Revision: 11459
Imre Kaloz [Fri, 13 Jun 2008 12:14:39 +0000 (12:14 +0000)]
openwrt partition map for the wrt350nv2
SVN-Revision: 11458
Imre Kaloz [Fri, 13 Jun 2008 12:14:01 +0000 (12:14 +0000)]
workaround bogus CFI version for the wrt350nv2
SVN-Revision: 11457
Imre Kaloz [Fri, 13 Jun 2008 12:12:34 +0000 (12:12 +0000)]
upgrade orion and sync to 2.6.26-rc6
SVN-Revision: 11456
Felix Fietkau [Fri, 13 Jun 2008 08:56:06 +0000 (08:56 +0000)]
another patch fix
SVN-Revision: 11455
Felix Fietkau [Fri, 13 Jun 2008 07:30:21 +0000 (07:30 +0000)]
fix a small comment
SVN-Revision: 11454
Felix Fietkau [Fri, 13 Jun 2008 01:51:31 +0000 (01:51 +0000)]
fix ANI and make use of it in all modes except for monitor
SVN-Revision: 11453
Matteo Croce [Thu, 12 Jun 2008 22:33:48 +0000 (22:33 +0000)]
ar7: refresh patches
SVN-Revision: 11452
Matteo Croce [Thu, 12 Jun 2008 22:24:27 +0000 (22:24 +0000)]
avr32: clean and refresh patch
SVN-Revision: 11451
Matteo Croce [Thu, 12 Jun 2008 21:13:40 +0000 (21:13 +0000)]
avr32: upgrade to 2.6.25.6
SVN-Revision: 11450
Matteo Croce [Thu, 12 Jun 2008 14:48:32 +0000 (14:48 +0000)]
use the european kernel.org mirror too
SVN-Revision: 11448
Florian Fainelli [Thu, 12 Jun 2008 08:07:08 +0000 (08:07 +0000)]
Use 2.6.25.6 for rdc
SVN-Revision: 11447
John Crispin [Wed, 11 Jun 2008 20:03:08 +0000 (20:03 +0000)]
make ip-up scripts aware of network settings
SVN-Revision: 11446
John Crispin [Wed, 11 Jun 2008 19:59:16 +0000 (19:59 +0000)]
system now knows which timezone it is in
SVN-Revision: 11445
Felix Fietkau [Wed, 11 Jun 2008 18:48:37 +0000 (18:48 +0000)]
fix missing package compile/installation issue
SVN-Revision: 11441
Florian Fainelli [Wed, 11 Jun 2008 16:38:37 +0000 (16:38 +0000)]
Use 2.6.25 for rdc321x
SVN-Revision: 11439
Florian Fainelli [Wed, 11 Jun 2008 15:51:23 +0000 (15:51 +0000)]
Add syskonnect yukon2 support (#2568)
SVN-Revision: 11437
Imre Kaloz [Wed, 11 Jun 2008 11:59:45 +0000 (11:59 +0000)]
upgrade orion to 2.6.26-rc5
SVN-Revision: 11436
Imre Kaloz [Wed, 11 Jun 2008 11:38:39 +0000 (11:38 +0000)]
upgrade to 2.6.25.6
SVN-Revision: 11435
Imre Kaloz [Wed, 11 Jun 2008 11:37:08 +0000 (11:37 +0000)]
refresh patch
SVN-Revision: 11434
Imre Kaloz [Wed, 11 Jun 2008 11:35:49 +0000 (11:35 +0000)]
add newer, fixed IMQ patch for 2.6.25 and 2.6.26
SVN-Revision: 11433
Felix Fietkau [Wed, 11 Jun 2008 01:36:08 +0000 (01:36 +0000)]
fix some previously ignored build dependencies (for example, uci->lua)
SVN-Revision: 11429
Felix Fietkau [Tue, 10 Jun 2008 21:10:02 +0000 (21:10 +0000)]
consider virtual dependencies (generated by using PROVIDES:=) when generating the build dependencies (fixes python build dependency errors)
SVN-Revision: 11428
Gabor Juhos [Tue, 10 Jun 2008 08:20:19 +0000 (08:20 +0000)]
[kernel] generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
SVN-Revision: 11427
John Crispin [Tue, 10 Jun 2008 07:18:41 +0000 (07:18 +0000)]
adds missing patch for native toolchain
SVN-Revision: 11425
Felix Fietkau [Mon, 9 Jun 2008 16:21:20 +0000 (16:21 +0000)]
fix make menuconfig/oldconfig
SVN-Revision: 11415
Felix Fietkau [Mon, 9 Jun 2008 15:38:45 +0000 (15:38 +0000)]
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
SVN-Revision: 11414
Felix Fietkau [Mon, 9 Jun 2008 15:38:27 +0000 (15:38 +0000)]
add missing fix for etrax compile without axis toolchain
SVN-Revision: 11413
Felix Fietkau [Mon, 9 Jun 2008 15:38:23 +0000 (15:38 +0000)]
fix a small dep bug in the docs/ dir
SVN-Revision: 11412
Felix Fietkau [Mon, 9 Jun 2008 15:38:19 +0000 (15:38 +0000)]
allow parallel downloading for make download
SVN-Revision: 11411
Felix Fietkau [Mon, 9 Jun 2008 10:31:46 +0000 (10:31 +0000)]
set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
SVN-Revision: 11410
Felix Fietkau [Mon, 9 Jun 2008 10:17:36 +0000 (10:17 +0000)]
madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future HALs
SVN-Revision: 11409
Peter Denison [Sun, 8 Jun 2008 20:19:19 +0000 (20:19 +0000)]
Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens.
Fixes #3501
SVN-Revision: 11407
John Crispin [Sun, 8 Jun 2008 08:21:20 +0000 (08:21 +0000)]
remove proc and char dev from ifxmips gpio driver
SVN-Revision: 11406
John Crispin [Sun, 8 Jun 2008 08:07:14 +0000 (08:07 +0000)]
adds gpiodev support to ifxmips
SVN-Revision: 11405
Gabor Juhos [Sun, 8 Jun 2008 06:43:21 +0000 (06:43 +0000)]
[adm5120] add packages required by failsafe support to defaults
SVN-Revision: 11404
Gabor Juhos [Sun, 8 Jun 2008 06:38:26 +0000 (06:38 +0000)]
[adm5120] add initial failsafe support
SVN-Revision: 11403
Gabor Juhos [Sun, 8 Jun 2008 06:37:31 +0000 (06:37 +0000)]
[adm5120] add button devices to several boards
SVN-Revision: 11402
Gabor Juhos [Sat, 7 Jun 2008 18:25:32 +0000 (18:25 +0000)]
[package] add button-hotplug driver, will be usable to check status of buttons connected to GPIO lines
SVN-Revision: 11401
Gabor Juhos [Sat, 7 Jun 2008 17:47:21 +0000 (17:47 +0000)]
[rb532] fix image names in the wget2nand script
SVN-Revision: 11400
Gabor Juhos [Sat, 7 Jun 2008 17:45:04 +0000 (17:45 +0000)]
[adm5120] fix image names in the whet2nand script
SVN-Revision: 11399
Gabor Juhos [Sat, 7 Jun 2008 17:43:36 +0000 (17:43 +0000)]
[images] strip kernel version from image names
SVN-Revision: 11398
Gabor Juhos [Sat, 7 Jun 2008 17:14:22 +0000 (17:14 +0000)]
[kernel] generic-2.6: refresh yaffs patches
SVN-Revision: 11397
John Crispin [Sat, 7 Jun 2008 16:04:31 +0000 (16:04 +0000)]
fixes ifxmips pci support and adds GENERIC_GPIO
SVN-Revision: 11396
Felix Fietkau [Sat, 7 Jun 2008 15:11:21 +0000 (15:11 +0000)]
oops. accidentally committed the wrong patch version
SVN-Revision: 11395
John Crispin [Sat, 7 Jun 2008 14:58:08 +0000 (14:58 +0000)]
rename ifmips images
SVN-Revision: 11394
John Crispin [Sat, 7 Jun 2008 14:57:46 +0000 (14:57 +0000)]
several uboot fixes
SVN-Revision: 11393
John Crispin [Sat, 7 Jun 2008 10:33:46 +0000 (10:33 +0000)]
fixes ifxmips danube flashing using uboot, 2nd try
SVN-Revision: 11392
John Crispin [Sat, 7 Jun 2008 10:31:09 +0000 (10:31 +0000)]
fixes ifxmips danube flashing using uboot
SVN-Revision: 11391
John Crispin [Sat, 7 Jun 2008 10:12:15 +0000 (10:12 +0000)]
clean up etehrnet driver
SVN-Revision: 11389
John Crispin [Sat, 7 Jun 2008 10:01:56 +0000 (10:01 +0000)]
missing file in ifxmips driver support patch
SVN-Revision: 11388
Felix Fietkau [Sat, 7 Jun 2008 09:30:59 +0000 (09:30 +0000)]
fix spurious ifxmips u-boot build errors
SVN-Revision: 11387
Gabor Juhos [Sat, 7 Jun 2008 08:35:09 +0000 (08:35 +0000)]
[kernel] add a chip_fixup function to the plat_nand driver on 2.6.23 as well (closes #3513)
SVN-Revision: 11386
Felix Fietkau [Fri, 6 Jun 2008 23:53:03 +0000 (23:53 +0000)]
fix madwifi on linux 2.4
SVN-Revision: 11385
John Crispin [Fri, 6 Jun 2008 20:22:01 +0000 (20:22 +0000)]
remove axis toolchain dependency for etrax
SVN-Revision: 11384
John Crispin [Fri, 6 Jun 2008 20:12:05 +0000 (20:12 +0000)]
finally fixes etrax toolchain problems, thanks nbd
SVN-Revision: 11383
John Crispin [Fri, 6 Jun 2008 19:57:03 +0000 (19:57 +0000)]
fixes au1000 ethernet support, signed off: Bruno Randolf
SVN-Revision: 11382
Felix Fietkau [Fri, 6 Jun 2008 19:04:01 +0000 (19:04 +0000)]
update svn:ignore and .gitignore
SVN-Revision: 11381
John Crispin [Fri, 6 Jun 2008 18:49:23 +0000 (18:49 +0000)]
use default gateway for routes that have no gw specified, Signed off by: Brian J. Murrell
SVN-Revision: 11380
Gabor Juhos [Fri, 6 Jun 2008 13:14:59 +0000 (13:14 +0000)]
[kernel] generic-2.6: yaffs cleanup
* reduce compiler warnings,
* renumber/rename patches
SVN-Revision: 11379
Gabor Juhos [Fri, 6 Jun 2008 12:52:39 +0000 (12:52 +0000)]
[kernel] generic-2.6: sync yaffs code with the official CVS tree
SVN-Revision: 11378
Gabor Juhos [Fri, 6 Jun 2008 09:04:14 +0000 (09:04 +0000)]
[rb532] make use the chip_fixup function of the plat_nand driver
SVN-Revision: 11377
Gabor Juhos [Fri, 6 Jun 2008 09:03:35 +0000 (09:03 +0000)]
[adm5120] make use the chip_fixup function of the plat_nand driver
SVN-Revision: 11376
Gabor Juhos [Fri, 6 Jun 2008 09:01:33 +0000 (09:01 +0000)]
[kernel] add a chip_fixup function to the plat_nand driver
SVN-Revision: 11375
Gabor Juhos [Fri, 6 Jun 2008 08:54:13 +0000 (08:54 +0000)]
[adm5120] refresh patches to match upstream style
SVN-Revision: 11374
Yuji Mano [Thu, 5 Jun 2008 18:42:18 +0000 (18:42 +0000)]
Set executable permissions on ps3 target specific scripts
SVN-Revision: 11370
Imre Kaloz [Thu, 5 Jun 2008 17:15:12 +0000 (17:15 +0000)]
add little endian arm wpa_supplicant config file
SVN-Revision: 11369
Imre Kaloz [Thu, 5 Jun 2008 17:14:02 +0000 (17:14 +0000)]
rename and renumber storm patches
SVN-Revision: 11368
Imre Kaloz [Thu, 5 Jun 2008 17:10:39 +0000 (17:10 +0000)]
* refresh storm patches
* disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas
SVN-Revision: 11367
Imre Kaloz [Thu, 5 Jun 2008 17:01:00 +0000 (17:01 +0000)]
refresh generic 2.6.23 patches in upstream style
SVN-Revision: 11366
Imre Kaloz [Thu, 5 Jun 2008 16:38:04 +0000 (16:38 +0000)]
add patch to fix EABI compiles on ARMv4
SVN-Revision: 11365
Florian Fainelli [Thu, 5 Jun 2008 16:19:46 +0000 (16:19 +0000)]
Add bcm3350 cpuid
SVN-Revision: 11364
Felix Fietkau [Wed, 4 Jun 2008 23:20:56 +0000 (23:20 +0000)]
fix sysupgrade 'do_upgrade: not found' error
SVN-Revision: 11362
Felix Fietkau [Wed, 4 Jun 2008 22:43:26 +0000 (22:43 +0000)]
upgrade uci to 0.4.2 - fixes some escaping and library issues
SVN-Revision: 11361
Yuji Mano [Wed, 4 Jun 2008 22:34:19 +0000 (22:34 +0000)]
Adding ps3 target specific /bin/login script.
For security reasons, allow telnet login only if the user explicitly sets a flag in the ps3 flash db to enable telnet login from the host console.
SVN-Revision: 11360