Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bcm63xx: switch to b53 and swconfig | Jonas Gorski | 2013-01-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | Switch to using the B53 switch driver where appropriate. Use a non-tagged default config where it isn't confirmed to be working. Remove the switch configuration in preinit as the switch will now be configured by the driver to use port isolation to prevent leakage between lan and wan. While at it, also provide a switch config for Neufbox 6. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35307 | ||||
* | switch: ROBO Switch Gigabit MII Support | Hauke Mehrtens | 2013-01-03 | 6 | -35/+155 |
| | | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 34992 | ||||
* | switch: improve error messages | Hauke Mehrtens | 2013-01-03 | 1 | -15/+14 |
| | | | | | | This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34991 | ||||
* | brcm47xx: add a new version of the nvram rewrite patch | Hauke Mehrtens | 2013-01-03 | 2 | -8/+8 |
| | | | | | | This is the version like it was send for mainline inclusion. SVN-Revision: 34988 | ||||
* | switch: warn if ndo_do_ioctl is not implemented in the Ethernet driver | Hauke Mehrtens | 2012-09-22 | 1 | -0/+4 |
| | | | | SVN-Revision: 33506 | ||||
* | switch: improve error message | Hauke Mehrtens | 2012-09-19 | 1 | -4/+9 |
| | | | | SVN-Revision: 33464 | ||||
* | switch: clean up robo switch driver | Hauke Mehrtens | 2012-08-05 | 1 | -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 SVN-Revision: 33002 | ||||
* | brcm47xx: use libgpio instaed of implementing the gpio interface ourself. | Hauke Mehrtens | 2012-08-04 | 3 | -79/+24 |
| | | | | SVN-Revision: 32992 | ||||
* | switch: the hardware must be up while configuring Since the removal of the ↵ | Jo-Philipp Wich | 2012-03-13 | 2 | -2/+3 |
| | | | | | | 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. SVN-Revision: 30937 | ||||
* | switch: fix some memory leaks in switch_parse_vlan() | Hauke Mehrtens | 2012-01-28 | 3 | -7/+8 |
| | | | | SVN-Revision: 29936 | ||||
* | switch: update for brcm47xx target | Hauke Mehrtens | 2011-08-04 | 7 | -102/+83 |
| | | | | | | | * remove suport for 2.4 kernel * add support for bcma bus SVN-Revision: 27904 | ||||
* | switch: fix switch-robo device reference counting | Florian Fainelli | 2011-02-20 | 2 | -7/+16 |
| | | | | | | | | Fix incorrect device reference counting by switch-robo. Signed-off-by: George Kashperko <george@znau.edu.ua> SVN-Revision: 25619 | ||||
* | remove whitespaces in kmod-switch sources | Florian Fainelli | 2010-07-20 | 3 | -56/+56 |
| | | | | SVN-Revision: 22320 | ||||
* | massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 | Claudio Mignanti | 2010-07-12 | 1 | -3/+3 |
| | | | | SVN-Revision: 22145 | ||||
* | remove linux 2.4 support from several packages | Felix Fietkau | 2010-06-26 | 4 | -27/+3 |
| | | | | SVN-Revision: 21954 | ||||
* | switch: explicitely clear port mappings in unsused vlans (#7082) | Jo-Philipp Wich | 2010-04-05 | 2 | -1/+7 |
| | | | | SVN-Revision: 20717 | ||||
* | switch: suppress boot error message on 2.4 | Nicolas Thill | 2010-03-01 | 1 | -2/+2 |
| | | | | SVN-Revision: 19922 | ||||
* | switch: eliminate the asterisk from the switch port configuration and set it ↵ | Jo-Philipp Wich | 2010-02-28 | 1 | -1/+9 |
| | | | | | | automatically on the first vlan, this aligns the broadcom vlan config with the swconfig format SVN-Revision: 19909 | ||||
* | switch: do not include linux/autoconf.h (#6513) | Florian Fainelli | 2010-02-28 | 3 | -3/+0 |
| | | | | SVN-Revision: 19903 | ||||
* | change switch config to swconfig style format to remain consistent accross ↵ | Jo-Philipp Wich | 2009-11-15 | 1 | -25/+30 |
| | | | | | | platforms SVN-Revision: 18425 | ||||
* | fix breakage on wl500gp after r18214, thanks sn9 (#6084) | Florian Fainelli | 2009-11-03 | 1 | -2/+2 |
| | | | | SVN-Revision: 18289 | ||||
* | make etehrent work on wrt350n, thx sn9 | John Crispin | 2009-10-29 | 1 | -2/+25 |
| | | | | SVN-Revision: 18214 | ||||
* | add patches for kernel 2.6.31 | Hauke Mehrtens | 2009-09-26 | 1 | -0/+4 |
| | | | | | | This is completly untested. Only a compile tests with the default config was done! SVN-Revision: 17734 | ||||
* | fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053) | Florian Fainelli | 2009-05-05 | 1 | -1/+1 |
| | | | | SVN-Revision: 15611 | ||||
* | prevent kmod-switch from accessing nvram on brcm63xx (#5035) | Florian Fainelli | 2009-05-02 | 1 | -1/+5 |
| | | | | SVN-Revision: 15555 | ||||
* | fix nvram_get checking on non-WGT634U (#4975) | Florian Fainelli | 2009-04-21 | 1 | -1/+2 |
| | | | | SVN-Revision: 15319 | ||||
* | fix strange LED behavior with Netgear WGT634U (#3552) | Florian Fainelli | 2009-04-20 | 2 | -3/+7 |
| | | | | SVN-Revision: 15290 | ||||
* | get rid of $Id$ - it has never helped us and it has broken too many patches ;) | Felix Fietkau | 2009-04-17 | 4 | -4/+0 |
| | | | | SVN-Revision: 15242 | ||||
* | allow kmod-switch to be used on brcm63xx (#4599) | Florian Fainelli | 2009-03-09 | 3 | -4/+14 |
| | | | | SVN-Revision: 14825 | ||||
* | switch: remove message about BFL_ENETADM not being set on systems with a ↵ | Felix Fietkau | 2008-11-02 | 1 | -3/+2 |
| | | | | | | roboswitch SVN-Revision: 13100 | ||||
* | (4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered | Felix Fietkau | 2008-06-15 | 3 | -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> SVN-Revision: 11469 | ||||
* | Stopgap compilation fixes for diag and switch under 2.6.25 | Peter Denison | 2008-05-20 | 1 | -0/+4 |
| | | | | SVN-Revision: 11231 | ||||
* | Allow package/switch to compile against 2.6.25 | Peter Denison | 2008-05-14 | 1 | -0/+4 |
| | | | | SVN-Revision: 11138 | ||||
* | Check the return values of kmalloc() | Michael Büsch | 2008-03-13 | 1 | -6/+25 |
| | | | | SVN-Revision: 10599 | ||||
* | fix switch-robo.c compile errors on linux 2.4 | Felix Fietkau | 2008-03-01 | 1 | -0/+4 |
| | | | | SVN-Revision: 10539 | ||||
* | Fix the roboswitch code for the WRT350N | Michael Büsch | 2008-02-27 | 3 | -80/+186 |
| | | | | SVN-Revision: 10531 | ||||
* | ssb: Make the GPIO API reentrancy safe. | Michael Büsch | 2008-02-19 | 1 | -22/+7 |
| | | | | SVN-Revision: 10496 | ||||
* | export switch-core.h to $(STAGING_DIR) | Felix Fietkau | 2008-01-06 | 1 | -1/+10 |
| | | | | SVN-Revision: 10138 | ||||
* | fix adm switch misdetection, which led to bogus button events that caused ↵ | Felix Fietkau | 2007-11-16 | 1 | -6/+6 |
| | | | | | | the system to shut down SVN-Revision: 9555 | ||||
* | major target cleanup. it is now possible to have subtargets that can ↵ | Felix Fietkau | 2007-09-08 | 1 | -1/+1 |
| | | | | | | override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets SVN-Revision: 8694 | ||||
* | fix board name for nvram and switch packages on brcm-2.4 after [8653] | Nicolas Thill | 2007-09-07 | 1 | -5/+5 |
| | | | | SVN-Revision: 8664 | ||||
* | move package description to a separate definition, remove it when ↵ | Nicolas Thill | 2007-09-07 | 1 | -2/+4 |
| | | | | | | DESCRIPTION=TITLE SVN-Revision: 8659 | ||||
* | strip the kernel version suffix from target directories, except for brcm-2.4 ↵ | Felix Fietkau | 2007-09-06 | 1 | -1/+1 |
| | | | | | | (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles. SVN-Revision: 8653 | ||||
* | package Makefile cleanup: remove uneeded vars | Nicolas Thill | 2007-09-03 | 1 | -2/+0 |
| | | | | SVN-Revision: 8587 | ||||
* | use a default VERSION field for kmod packages | Nicolas Thill | 2007-09-02 | 1 | -1/+0 |
| | | | | SVN-Revision: 8575 | ||||
* | fix kmod-switch compile on brcm-2.4 (#1461) | Felix Fietkau | 2007-03-14 | 2 | -12/+12 |
| | | | | SVN-Revision: 6565 | ||||
* | fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke ↵ | Felix Fietkau | 2007-03-14 | 1 | -10/+0 |
| | | | | | | the old brcm-2.6 port, close #1312, #1451 SVN-Revision: 6564 | ||||
* | add diag and switch support for brcm47xx-2.6 | Felix Fietkau | 2007-03-14 | 4 | -58/+118 |
| | | | | SVN-Revision: 6562 | ||||
* | cleanup, nuke obsolete 'Kernel drivers' category, convert remaining kmod ↵ | Felix Fietkau | 2007-01-20 | 1 | -10/+9 |
| | | | | | | packages to KernelPackage interface SVN-Revision: 6136 | ||||
* | fix memory leak in switch drivers (patch from #1132) | Felix Fietkau | 2007-01-07 | 1 | -0/+1 |
| | | | | SVN-Revision: 6011 |