summaryrefslogtreecommitdiff
path: root/package/switch
AgeCommit message (Collapse)Author
2013-01-03switch: ROBO Switch Gigabit MII Supporthauke
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
2013-01-03switch: improve error messageshauke
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
2013-01-03brcm47xx: add a new version of the nvram rewrite patchhauke
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
2012-09-22[packages] switch: warn if ndo_do_ioctl is not implemented in the Ethernet ↵hauke
driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19[package]: switch: improve error messagehauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05[packages] switch: clean up robo switch driverhauke
* 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
2012-08-04brcm47xx: use libgpio instaed of implementing the gpio interface ourself.hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13[package] switch: the hardware must be up while configuringjow
Since the removal of the interface coldplug hack the timing changed in such a way that eth0 is not up during switch setup, leading to an inaccesible device. Bring up the switch interface before configuring it to mitigate the problem. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28switch: fix some memory leaks in switch_parse_vlan()hauke
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04switch: update for brcm47xx targethauke
* 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
2011-02-20[package] switch: fix switch-robo device reference countingflorian
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
2010-07-20[package] remove whitespaces in kmod-switch sourcesflorian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950claudio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26remove linux 2.4 support from several packagesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05[package] switch: explicitely clear port mappings in unsused vlans (#7082)jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01switch: suppress boot error message on 2.4nico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28[package] switch:jow
eliminate the asterisk from the switch port configuration and set it automatically on the first vlan, this aligns the broadcom vlan config with the swconfig format git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28[package] switch: do not include linux/autoconf.h (#6513)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-15[brcm-2.4] change switch config to swconfig style format to remain ↵jow
consistent accross platforms git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-03[package] fix breakage on wl500gp after r18214, thanks sn9 (#6084)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-29make etehrent work on wrt350n, thx sn9blogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26[brcm47xx] add patches for kernel 2.6.31hauke
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
2009-05-05[package] fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson ↵florian
(#5053) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-02[package] prevent kmod-switch from accessing nvram on brcm63xx (#5035)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21[package] fix nvram_get checking on non-WGT634U (#4975)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20[package] fix strange LED behavior with Netgear WGT634U (#3552)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09[package] allow kmod-switch to be used on brcm63xx (#4599)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-02switch: remove message about BFL_ENETADM not being set on systems with a ↵nbd
roboswitch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15(4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registerednbd
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-05-20[bcm47xx] Stopgap compilation fixes for diag and switch under 2.6.25noz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-14Allow package/switch to compile against 2.6.25noz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-13Check the return values of kmalloc()mb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-01fix switch-robo.c compile errors on linux 2.4nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-27Fix the roboswitch code for the WRT350Nmb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19ssb: Make the GPIO API reentrancy safe.mb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-06export switch-core.h to $(STAGING_DIR)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16fix adm switch misdetection, which led to bogus button events that caused ↵nbd
the system to shut down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08major target cleanup. it is now possible to have subtargets that can ↵nbd
override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07fix board name for nvram and switch packages on brcm-2.4 after [8653]nico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07move package description to a separate definition, remove it when ↵nico
DESCRIPTION=TITLE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06strip the kernel version suffix from target directories, except for brcm-2.4 ↵nbd
(the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03package Makefile cleanup: remove uneeded varsnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02use a default VERSION field for kmod packagesnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14fix kmod-switch compile on brcm-2.4 (#1461)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke ↵nbd
the old brcm-2.6 port, close #1312, #1451 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14add diag and switch support for brcm47xx-2.6nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20cleanup, nuke obsolete 'Kernel drivers' category, convert remaining kmod ↵nbd
packages to KernelPackage interface git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-07fix memory leak in switch drivers (patch from #1132)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-27Fix the counters bug (#983)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5910 3c298f89-4303-0410-b956-a3cf2f4a3e73