Commit Graph

39 Commits (c16879a385bcdeee426b2b7f0be89f0320b63c81)

Author SHA1 Message Date
Hauke Mehrtens d8f1fa1e38 switch: ROBO Switch Gigabit MII Support
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
2013-01-03 01:58:01 +00:00
Hauke Mehrtens 63ec34612c switch: improve error messages
This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34991
2013-01-03 01:57:19 +00:00
Hauke Mehrtens 25afeba608 brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.

SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Hauke Mehrtens da94d4ac29 switch: warn if ndo_do_ioctl is not implemented in the Ethernet driver
SVN-Revision: 33506
2012-09-22 12:29:23 +00:00
Hauke Mehrtens bf0974e8da switch: improve error message
SVN-Revision: 33464
2012-09-19 10:57:38 +00:00
Hauke Mehrtens 40f139b53b switch: clean up robo switch driver
* 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
2012-08-05 13:10:43 +00:00
Hauke Mehrtens 0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
2012-08-04 19:46:25 +00:00
Hauke Mehrtens b9da4dcb6b switch: fix some memory leaks in switch_parse_vlan()
SVN-Revision: 29936
2012-01-28 13:52:37 +00:00
Hauke Mehrtens b220442c75 switch: update for brcm47xx target
* remove suport for 2.4 kernel
* add support for bcma bus

SVN-Revision: 27904
2011-08-04 20:07:58 +00:00
Florian Fainelli 640927dde3 switch: fix switch-robo device reference counting
Fix incorrect device reference counting by switch-robo.

Signed-off-by: George Kashperko <george@znau.edu.ua>

SVN-Revision: 25619
2011-02-20 17:24:15 +00:00
Florian Fainelli e31542241c remove whitespaces in kmod-switch sources
SVN-Revision: 22320
2010-07-20 22:25:04 +00:00
Felix Fietkau 543d870e82 remove linux 2.4 support from several packages
SVN-Revision: 21954
2010-06-26 20:43:41 +00:00
Florian Fainelli f4edda27af switch: do not include linux/autoconf.h (#6513)
SVN-Revision: 19903
2010-02-28 12:57:57 +00:00
Florian Fainelli 5a13cc0726 fix breakage on wl500gp after r18214, thanks sn9 (#6084)
SVN-Revision: 18289
2009-11-03 20:35:37 +00:00
John Crispin 2d57b56bce make etehrent work on wrt350n, thx sn9
SVN-Revision: 18214
2009-10-29 21:26:36 +00:00
Hauke Mehrtens 8673372e20 add patches for kernel 2.6.31
This is completly untested. Only a compile tests with the default config was done!

SVN-Revision: 17734
2009-09-26 11:48:48 +00:00
Florian Fainelli 369db35a29 fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053)
SVN-Revision: 15611
2009-05-05 06:32:45 +00:00
Florian Fainelli 9051239daf prevent kmod-switch from accessing nvram on brcm63xx (#5035)
SVN-Revision: 15555
2009-05-02 10:01:09 +00:00
Florian Fainelli 210254c279 fix nvram_get checking on non-WGT634U (#4975)
SVN-Revision: 15319
2009-04-21 09:25:51 +00:00
Florian Fainelli 6f80c9cc7c fix strange LED behavior with Netgear WGT634U (#3552)
SVN-Revision: 15290
2009-04-20 10:27:46 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Florian Fainelli 04909ca614 allow kmod-switch to be used on brcm63xx (#4599)
SVN-Revision: 14825
2009-03-09 21:57:11 +00:00
Felix Fietkau 529e87f6c5 switch: remove message about BFL_ENETADM not being set on systems with a roboswitch
SVN-Revision: 13100
2008-11-02 23:14:16 +00:00
Felix Fietkau 40990382e5 (4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered
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
2008-06-15 11:10:27 +00:00
Peter Denison f027ecb2cf Stopgap compilation fixes for diag and switch under 2.6.25
SVN-Revision: 11231
2008-05-20 22:33:45 +00:00
Peter Denison 72d40dec08 Allow package/switch to compile against 2.6.25
SVN-Revision: 11138
2008-05-14 15:03:05 +00:00
Michael Büsch 6a2a1e251b Check the return values of kmalloc()
SVN-Revision: 10599
2008-03-13 15:22:46 +00:00
Felix Fietkau d65241e13b fix switch-robo.c compile errors on linux 2.4
SVN-Revision: 10539
2008-03-01 15:34:17 +00:00
Michael Büsch a9cddc69ec Fix the roboswitch code for the WRT350N
SVN-Revision: 10531
2008-02-27 22:35:41 +00:00
Michael Büsch faa14263f5 ssb: Make the GPIO API reentrancy safe.
SVN-Revision: 10496
2008-02-19 15:22:17 +00:00
Felix Fietkau e3ecefbd23 fix adm switch misdetection, which led to bogus button events that caused the system to shut down
SVN-Revision: 9555
2007-11-16 03:11:09 +00:00
Felix Fietkau 80840457a5 fix kmod-switch compile on brcm-2.4 (#1461)
SVN-Revision: 6565
2007-03-14 13:42:21 +00:00
Felix Fietkau dcfbd5f656 fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke the old brcm-2.6 port, close #1312, #1451
SVN-Revision: 6564
2007-03-14 03:37:40 +00:00
Felix Fietkau bf622ab0ae add diag and switch support for brcm47xx-2.6
SVN-Revision: 6562
2007-03-14 01:19:24 +00:00
Felix Fietkau dd03b56357 fix memory leak in switch drivers (patch from #1132)
SVN-Revision: 6011
2007-01-07 14:59:43 +00:00
Florian Fainelli abd458dae6 Fix the counters bug (#983)
SVN-Revision: 5910
2006-12-27 19:35:13 +00:00
Felix Fietkau 63d865e7a1 prepare packages for kernel upgrade to 2.6.19
SVN-Revision: 5786
2006-12-14 08:00:20 +00:00
Florian Fainelli 7790289f3e Add Trendware TEW-411BRplus (#1038)
SVN-Revision: 5764
2006-12-11 21:46:31 +00:00
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00