summaryrefslogtreecommitdiffstats
path: root/package/switch/src
Commit message (Collapse)AuthorAgeFilesLines
* switch: run cleanfile over the source codehauke2013-02-131-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: ROBO Switch Gigabit MII Supporthauke2013-01-035-34/+154
| | | | | | | | | | | | | | | | | | | | | | | | I wrote this patch some time ago because I had a need for one of the Gigabit ports (Linksys E3000) to be forced to 100FD. This is based on the robocfg sources included w/ the RT-N16 sources from ASUS. Since work is progressing on a BGMAC driver that could be included in OpenWRT, this may be useful to someone else. In testing, forcing the speed to 10/100 or 1000 worked fine; however, when trying to force full-duplex mode, the result was always half-duplex. I was not able to isolate the source of the problem (this patch, driver or H/W limitation). The only way I could get it to work was to set the port to Auto, but then only advertise 100FD (not included in this patch). I have a modified version of the robocfg package as well, I'd have to clean it up a little first (remove the full-duplex hack) before submitting it if there is interest. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: improve error messageshauke2013-01-031-15/+14
| | | | | | | This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add a new version of the nvram rewrite patchhauke2013-01-032-8/+8
| | | | | | | This is the version like it was send for mainline inclusion. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] switch: warn if ndo_do_ioctl is not implemented in the Ethernet ↵hauke2012-09-221-0/+4
| | | | | | driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package]: switch: improve error messagehauke2012-09-191-4/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] switch: clean up robo switch driverhauke2012-08-051-98/+42
| | | | | | | | | | | * remove use_et, all supported drivers are using mii ioctls * remove robo.phy_addr, phy_addr was always set to ROBO_PHY_ADDR. * remove support for old kernel versions * do_ioctl is allways called with buff == NULL * use if_mii git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use libgpio instaed of implementing the gpio interface ourself.hauke2012-08-043-79/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: fix some memory leaks in switch_parse_vlan()hauke2012-01-283-7/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: update for brcm47xx targethauke2011-08-046-98/+83
| | | | | | | | | * remove suport for 2.4 kernel * add support for bcma bus git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] switch: fix switch-robo device reference countingflorian2011-02-201-5/+14
| | | | | | | | Fix incorrect device reference counting by switch-robo. Signed-off-by: George Kashperko <george@znau.edu.ua> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] remove whitespaces in kmod-switch sourcesflorian2010-07-203-56/+56
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove linux 2.4 support from several packagesnbd2010-06-263-20/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] switch: do not include linux/autoconf.h (#6513)florian2010-02-283-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix breakage on wl500gp after r18214, thanks sn9 (#6084)florian2009-11-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make etehrent work on wrt350n, thx sn9blogic2009-10-291-2/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx] add patches for kernel 2.6.31hauke2009-09-261-0/+4
| | | | | | | This is completly untested. Only a compile tests with the default config was done! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson ↵florian2009-05-051-1/+1
| | | | | | (#5053) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] prevent kmod-switch from accessing nvram on brcm63xx (#5035)florian2009-05-021-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix nvram_get checking on non-WGT634U (#4975)florian2009-04-211-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix strange LED behavior with Netgear WGT634U (#3552)florian2009-04-201-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15290 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd2009-04-173-3/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] allow kmod-switch to be used on brcm63xx (#4599)florian2009-03-092-3/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: remove message about BFL_ENETADM not being set on systems with a ↵nbd2008-11-021-3/+2
| | | | | | roboswitch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13100 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
* [bcm47xx] Stopgap compilation fixes for diag and switch under 2.6.25noz2008-05-201-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Allow package/switch to compile against 2.6.25noz2008-05-141-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Check the return values of kmalloc()mb2008-03-131-6/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10599 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix switch-robo.c compile errors on linux 2.4nbd2008-03-011-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix the roboswitch code for the WRT350Nmb2008-02-273-80/+186
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ssb: Make the GPIO API reentrancy safe.mb2008-02-191-22/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix adm switch misdetection, which led to bogus button events that caused ↵nbd2007-11-161-6/+6
| | | | | | the system to shut down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix kmod-switch compile on brcm-2.4 (#1461)nbd2007-03-141-11/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke ↵nbd2007-03-141-10/+0
| | | | | | the old brcm-2.6 port, close #1312, #1451 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add diag and switch support for brcm47xx-2.6nbd2007-03-143-55/+106
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix memory leak in switch drivers (patch from #1132)nbd2007-01-071-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix the counters bug (#983)florian2006-12-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prepare packages for kernel upgrade to 2.6.19nbd2006-12-143-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add Trendware TEW-411BRplus (#1038)florian2006-12-111-1/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing copyrightnbd2006-06-271-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4093 3c298f89-4303-0410-b956-a3cf2f4a3e73
* be politically correctkaloz2006-06-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix module params on 2.6.17, suppress warnings.nico2006-06-193-10/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix display of uninitialized portsmbm2006-06-141-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move target/linux/package/switch to package/, fix a bug in the ipkg ↵nbd2006-05-317-0/+2258
dependency handling git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3864 3c298f89-4303-0410-b956-a3cf2f4a3e73