summaryrefslogtreecommitdiffstats
path: root/package/switch/src/switch-core.c
Commit message (Collapse)AuthorAgeFilesLines
* switch: export cpuport, ports and vlans via /prochauke2013-02-141-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: ROBO Switch Gigabit MII Supporthauke2013-01-031-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | 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: fix some memory leaks in switch_parse_vlan()hauke2012-01-281-3/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: update for brcm47xx targethauke2011-08-041-1/+0
| | | | | | | | | * 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] remove whitespaces in kmod-switch sourcesflorian2010-07-201-19/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22320 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove linux 2.4 support from several packagesnbd2010-06-261-10/+0
| | | | 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-281-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* (4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registerednbd2008-06-151-0/+16
| | | | | | | | | | | | | 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
* 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 the roboswitch code for the WRT350Nmb2008-02-271-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10531 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
* prepare packages for kernel upgrade to 2.6.19nbd2006-12-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix module params on 2.6.17, suppress warnings.nico2006-06-191-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move target/linux/package/switch to package/, fix a bug in the ipkg ↵nbd2006-05-311-0/+466
dependency handling git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3864 3c298f89-4303-0410-b956-a3cf2f4a3e73