Commit Graph

8369 Commits

Author SHA1 Message Date
Felix Fietkau
40990382e5 (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
2008-06-15 11:10:27 +00:00
Felix Fietkau
9621d872ca (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
2008-06-15 11:10:13 +00:00
Felix Fietkau
f9ad520e37 (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
2008-06-15 11:09:49 +00:00
Felix Fietkau
f7e09198fe (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
2008-06-15 11:09:27 +00:00
Peter Denison
464ed48321 Remove ssb headers from mac80211 to avoid conflict with in-kernel ones
SVN-Revision: 11462
2008-06-13 21:05:26 +00:00
Felix Fietkau
0249312a64 remove accidentally committed swap file
SVN-Revision: 11461
2008-06-13 15:29:07 +00:00
Felix Fietkau
d26fa58d25 create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
SVN-Revision: 11460
2008-06-13 15:28:31 +00:00
Imre Kaloz
983b22aa95 temporary hack to fixup the mach id for the wrt350nv2
SVN-Revision: 11459
2008-06-13 12:58:28 +00:00
Imre Kaloz
957626ff72 openwrt partition map for the wrt350nv2
SVN-Revision: 11458
2008-06-13 12:14:39 +00:00
Imre Kaloz
111f11d91f workaround bogus CFI version for the wrt350nv2
SVN-Revision: 11457
2008-06-13 12:14:01 +00:00
Imre Kaloz
354d78404a upgrade orion and sync to 2.6.26-rc6
SVN-Revision: 11456
2008-06-13 12:12:34 +00:00
Felix Fietkau
7c029b0355 another patch fix
SVN-Revision: 11455
2008-06-13 08:56:06 +00:00
Felix Fietkau
ad9bc6ab09 fix a small comment
SVN-Revision: 11454
2008-06-13 07:30:21 +00:00
Felix Fietkau
01c61b0d64 fix ANI and make use of it in all modes except for monitor
SVN-Revision: 11453
2008-06-13 01:51:31 +00:00
Matteo Croce
d1c097e3d0 ar7: refresh patches
SVN-Revision: 11452
2008-06-12 22:33:48 +00:00
Matteo Croce
e8a8d5811d avr32: clean and refresh patch
SVN-Revision: 11451
2008-06-12 22:24:27 +00:00
Matteo Croce
b0fa59bef2 avr32: upgrade to 2.6.25.6
SVN-Revision: 11450
2008-06-12 21:13:40 +00:00
Matteo Croce
f5e550f438 use the european kernel.org mirror too
SVN-Revision: 11448
2008-06-12 14:48:32 +00:00
Florian Fainelli
31d9bcc1fc Use 2.6.25.6 for rdc
SVN-Revision: 11447
2008-06-12 08:07:08 +00:00
John Crispin
456893e798 make ip-up scripts aware of network settings
SVN-Revision: 11446
2008-06-11 20:03:08 +00:00
John Crispin
0bf765b362 system now knows which timezone it is in
SVN-Revision: 11445
2008-06-11 19:59:16 +00:00
Felix Fietkau
ab504da309 fix missing package compile/installation issue
SVN-Revision: 11441
2008-06-11 18:48:37 +00:00
Florian Fainelli
23d1a5bd88 Use 2.6.25 for rdc321x
SVN-Revision: 11439
2008-06-11 16:38:37 +00:00
Florian Fainelli
6d88031192 Add syskonnect yukon2 support (#2568)
SVN-Revision: 11437
2008-06-11 15:51:23 +00:00
Imre Kaloz
057b87f685 upgrade orion to 2.6.26-rc5
SVN-Revision: 11436
2008-06-11 11:59:45 +00:00
Imre Kaloz
2eb6751084 upgrade to 2.6.25.6
SVN-Revision: 11435
2008-06-11 11:38:39 +00:00
Imre Kaloz
4a0631658c refresh patch
SVN-Revision: 11434
2008-06-11 11:37:08 +00:00
Imre Kaloz
02a4a8019e add newer, fixed IMQ patch for 2.6.25 and 2.6.26
SVN-Revision: 11433
2008-06-11 11:35:49 +00:00
Felix Fietkau
46e3535d08 fix some previously ignored build dependencies (for example, uci->lua)
SVN-Revision: 11429
2008-06-11 01:36:08 +00:00
Felix Fietkau
51bc4434dd consider virtual dependencies (generated by using PROVIDES:=) when generating the build dependencies (fixes python build dependency errors)
SVN-Revision: 11428
2008-06-10 21:10:02 +00:00
Gabor Juhos
306910e5d1 generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
SVN-Revision: 11427
2008-06-10 08:20:19 +00:00
John Crispin
c9d9f8045c adds missing patch for native toolchain
SVN-Revision: 11425
2008-06-10 07:18:41 +00:00
Felix Fietkau
80e70b78fd fix make menuconfig/oldconfig
SVN-Revision: 11415
2008-06-09 16:21:20 +00:00
Felix Fietkau
4c665e6ca4 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
2008-06-09 15:38:45 +00:00
Felix Fietkau
21e09858f1 add missing fix for etrax compile without axis toolchain
SVN-Revision: 11413
2008-06-09 15:38:27 +00:00
Felix Fietkau
1b4c04cab2 fix a small dep bug in the docs/ dir
SVN-Revision: 11412
2008-06-09 15:38:23 +00:00
Felix Fietkau
6fd92eece4 allow parallel downloading for make download
SVN-Revision: 11411
2008-06-09 15:38:19 +00:00
Felix Fietkau
b014357704 set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
SVN-Revision: 11410
2008-06-09 10:31:46 +00:00
Felix Fietkau
62bef2bced madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future HALs
SVN-Revision: 11409
2008-06-09 10:17:36 +00:00
Peter Denison
ea8b4cb0d7 Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens. Fixes #3501
SVN-Revision: 11407
2008-06-08 20:19:19 +00:00
John Crispin
a59821735c remove proc and char dev from ifxmips gpio driver
SVN-Revision: 11406
2008-06-08 08:21:20 +00:00
John Crispin
b3331b3d03 adds gpiodev support to ifxmips
SVN-Revision: 11405
2008-06-08 08:07:14 +00:00
Gabor Juhos
2fdfd541da add packages required by failsafe support to defaults
SVN-Revision: 11404
2008-06-08 06:43:21 +00:00
Gabor Juhos
e5ad400330 add initial failsafe support
SVN-Revision: 11403
2008-06-08 06:38:26 +00:00
Gabor Juhos
11b8dfe86c add button devices to several boards
SVN-Revision: 11402
2008-06-08 06:37:31 +00:00
Gabor Juhos
50a749e9a7 add button-hotplug driver, will be usable to check status of buttons connected to GPIO lines
SVN-Revision: 11401
2008-06-07 18:25:32 +00:00
Gabor Juhos
64fddc8d81 fix image names in the wget2nand script
SVN-Revision: 11400
2008-06-07 17:47:21 +00:00
Gabor Juhos
2ea9fc7b30 fix image names in the whet2nand script
SVN-Revision: 11399
2008-06-07 17:45:04 +00:00
Gabor Juhos
5ee91fef1e strip kernel version from image names
SVN-Revision: 11398
2008-06-07 17:43:36 +00:00
Gabor Juhos
116a3864ad generic-2.6: refresh yaffs patches
SVN-Revision: 11397
2008-06-07 17:14:22 +00:00