Commit Graph

11056 Commits (4160eed2528345d9b38555cd47317766d3868790)

Author SHA1 Message Date
Felix Fietkau 415cc1c3db add some sanity checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 14:34:00 +00:00
Felix Fietkau 1a598982c4 remove some unused crap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:15:35 +00:00
Felix Fietkau 567993fa4c (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:11:28 +00:00
Felix Fietkau d6b78c826a (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:43 +00:00
Felix Fietkau ec81fa9d4e (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:27 +00:00
Felix Fietkau 0c1bbd505a (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:13 +00:00
Felix Fietkau 7675a31a53 (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:09:49 +00:00
Felix Fietkau 7886efab9d (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:09:27 +00:00
Peter Denison ef3c293536 Remove ssb headers from mac80211 to avoid conflict with in-kernel ones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 21:05:26 +00:00
Felix Fietkau cab05bb905 remove accidentally committed swap file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 15:29:07 +00:00
Felix Fietkau 2fb4a47e9a create a platform config-* file if there is none already when running kernel_menuconfig or kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 15:28:31 +00:00
Imre Kaloz 3a02933ef3 temporary hack to fixup the mach id for the wrt350nv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:58:28 +00:00
Imre Kaloz e48fee7183 openwrt partition map for the wrt350nv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:14:39 +00:00
Imre Kaloz 99af7f0cff workaround bogus CFI version for the wrt350nv2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:14:01 +00:00
Imre Kaloz 91aa7be624 upgrade orion and sync to 2.6.26-rc6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 12:12:34 +00:00
Felix Fietkau 8697eb8993 another patch fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 08:56:06 +00:00
Felix Fietkau c42badd5fb fix a small comment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 07:30:21 +00:00
Felix Fietkau 22e0367add fix ANI and make use of it in all modes except for monitor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 01:51:31 +00:00
Matteo Croce 4731f82a22 ar7: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 22:33:48 +00:00
Matteo Croce 19561f6f7c avr32: clean and refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 22:24:27 +00:00
Matteo Croce 689909e7e9 avr32: upgrade to 2.6.25.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 21:13:40 +00:00
Matteo Croce 3fcc17ed61 use the european kernel.org mirror too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 14:48:32 +00:00
Florian Fainelli 2efd587b18 Use 2.6.25.6 for rdc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-12 08:07:08 +00:00
John Crispin 15e807bd2f make ip-up scripts aware of network settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 20:03:08 +00:00
John Crispin e9f32f8648 system now knows which timezone it is in
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 19:59:16 +00:00
Felix Fietkau c857936b93 fix missing package compile/installation issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 18:48:37 +00:00
Florian Fainelli af60e16a61 Use 2.6.25 for rdc321x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 16:38:37 +00:00
Florian Fainelli a814dc2cbf Add syskonnect yukon2 support (#2568)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 15:51:23 +00:00
Imre Kaloz a240b4c366 upgrade orion to 2.6.26-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:59:45 +00:00
Imre Kaloz db81fa946e upgrade to 2.6.25.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:38:39 +00:00
Imre Kaloz f9993d6d19 refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:37:08 +00:00
Imre Kaloz a76a9eced2 add newer, fixed IMQ patch for 2.6.25 and 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 11:35:49 +00:00
Felix Fietkau a3b3d0ca6a fix some previously ignored build dependencies (for example, uci->lua)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-11 01:36:08 +00:00
Felix Fietkau 03976cac7d consider virtual dependencies (generated by using PROVIDES:=) when generating the build dependencies (fixes python build dependency errors)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 21:10:02 +00:00
Gabor Juhos 5f27e3969e [kernel] generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 08:20:19 +00:00
John Crispin 00ee3a96d1 adds missing patch for native toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 07:18:41 +00:00
Felix Fietkau 7007ab6ddd fix make menuconfig/oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 16:21:20 +00:00
Felix Fietkau f4e7bdac42 large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:45 +00:00
Felix Fietkau ef36c74b06 add missing fix for etrax compile without axis toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:27 +00:00
Felix Fietkau 13598c707a fix a small dep bug in the docs/ dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:23 +00:00
Felix Fietkau 5ecb93f47c allow parallel downloading for make download
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 15:38:19 +00:00
Felix Fietkau a790561538 set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 10:31:46 +00:00
Felix Fietkau 233eb1df59 madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future HALs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 10:17:36 +00:00
Peter Denison f29e8a8442 Compilation fix for hostapd with newer mac80211 code. Thanks Hauke Mehrtens.
Fixes #3501


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 20:19:19 +00:00
John Crispin b8569f8857 remove proc and char dev from ifxmips gpio driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 08:21:20 +00:00
John Crispin d91dfde056 adds gpiodev support to ifxmips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 08:07:14 +00:00
Gabor Juhos 8715d963a1 [adm5120] add packages required by failsafe support to defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 06:43:21 +00:00
Gabor Juhos 672d15d39e [adm5120] add initial failsafe support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 06:38:26 +00:00
Gabor Juhos 0b40cc693a [adm5120] add button devices to several boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-08 06:37:31 +00:00
Gabor Juhos 87e2cd94ad [package] add button-hotplug driver, will be usable to check status of buttons connected to GPIO lines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 18:25:32 +00:00