summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* his patch mainly fixes the huge delay when we ping from the RDC device to ↵florian2008-06-161-151/+165
| | | | | | | | | | | | | | | | | | | another host (160-230 ms). r6040_rx() was rewritten. Further changes: - fix a bug in hex2str(), which overwrote the source with a zero - removed rx_free_desc counter; allocate skb inside r6040_rx() on the fly - r6040_rx: don't take the error from the MLSR register (may be too late) but from the descriptor (we may have to allow these errors (via MCR0) there - r6040_alloc_rxbufs() may fail due to lack of skb, added a return value - changed some debugs - more defines - version: 0.18 -> 0.19 Signed-Off by Joerg Albert <jal2@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* This patch applies to the RDC 32xx ethernet driver (svn r10754, first patch ↵florian2008-06-161-106/+135
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Hi,florian2008-06-161-39/+265
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* backport mv643xx ethernet changes from the Marvell git repokaloz2008-06-161-0/+5345
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable AMD flash support and physmap on orionkaloz2008-06-161-2/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11503 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patchjuhosg2008-06-161-45/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11502 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26juhosg2008-06-162-574/+686
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libnl: backport memleak fixkaloz2008-06-161-0/+40
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix libnl compile with older kernelskaloz2008-06-161-0/+80
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refresh generic 2.6.22 patcheskaloz2008-06-1648-1192/+652
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fixup machid workaround, generate uImage manuallykaloz2008-06-162-4/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added unsquashfs-lzma, usefull for debugging of existing fs imagesralph2008-06-162-5/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix the path to the x-wrt feed (svn:// is broken on berlios.de at the moment)nbd2008-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add another check to the dependenciesnbd2008-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix typonbd2008-06-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add some sanity checkingnbd2008-06-152-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove some unused crapnbd2008-06-1512-2361/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* (6/6) bcm57xx: packagenbd2008-06-1540-0/+27527
| | | | | | | | | | | | | | | | | | | | | | | 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
* (5/6) bcm57xx: bcm4785 incomplete rebootnbd2008-06-151-0/+13
| | | | | | | | | | | | 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
* (4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registerednbd2008-06-153-1/+19
| | | | | | | | | | | | | 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
* (3/6) bcm57xx: preinitnbd2008-06-151-3/+14
| | | | | | | | | | | | | | | | | | | 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
* (2/6) bcm57xx: netconfignbd2008-06-151-0/+5
| | | | | | | | | | 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
* (1/6) bcm57xx: init from diagnbd2008-06-151-0/+3
| | | | | | | | | | | | | | | | | | | | | 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
* Remove ssb headers from mac80211 to avoid conflict with in-kernel onesnoz2008-06-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove accidentally committed swap filenbd2008-06-131-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* create a platform config-* file if there is none already when running ↵nbd2008-06-133-1/+2
| | | | | | kernel_menuconfig or kernel_oldconfig git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* temporary hack to fixup the mach id for the wrt350nv2kaloz2008-06-131-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openwrt partition map for the wrt350nv2kaloz2008-06-131-0/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* workaround bogus CFI version for the wrt350nv2kaloz2008-06-131-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade orion and sync to 2.6.26-rc6kaloz2008-06-132-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* another patch fixnbd2008-06-131-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a small commentnbd2008-06-131-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix ANI and make use of it in all modes except for monitornbd2008-06-131-5/+280
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar7: refresh patchesmatteo2008-06-1212-122/+80
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: clean and refresh patchmatteo2008-06-121-34782/+235
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* avr32: upgrade to 2.6.25.6matteo2008-06-124-10876/+39979
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use the european kernel.org mirror toomatteo2008-06-121-4/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use 2.6.25.6 for rdcflorian2008-06-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make ip-up scripts aware of network settingsblogic2008-06-111-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* system now knows which timezone it is inblogic2008-06-113-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix missing package compile/installation issuenbd2008-06-111-11/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use 2.6.25 for rdc321xflorian2008-06-1118-849/+394
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add syskonnect yukon2 support (#2568)florian2008-06-111-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade orion to 2.6.26-rc5kaloz2008-06-114-14/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* upgrade to 2.6.25.6kaloz2008-06-1110-11/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refresh patchkaloz2008-06-111-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add newer, fixed IMQ patch for 2.6.25 and 2.6.26kaloz2008-06-112-163/+261
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix some previously ignored build dependencies (for example, uci->lua)nbd2008-06-111-4/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* consider virtual dependencies (generated by using PROVIDES:=) when ↵nbd2008-06-101-14/+32
| | | | | | generating the build dependencies (fixes python build dependency errors) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] generic-2.6: revert yaffs changes [11378], the new code is not ↵juhosg2008-06-1070-2306/+2967
| | | | | | working correctly on RouterBoards git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11427 3c298f89-4303-0410-b956-a3cf2f4a3e73