Commit Graph

45 Commits

Author SHA1 Message Date
Felix Fietkau
f7e09198fe (1/6) bcm57xx: init from diag
I've been working to finish up the bcm57xx module package nbd
posted a few months ago.  I am no expert, just had some spare
time and some motivation.  Here is the background:

https://dev.openwrt.org/ticket/2744

This first patch disables the bcm57xx gpio setup in broadcom-diag.
The switch needs to be initialized by the driver so the driver can
then reset the switch ASAP.  If the switch isn't reset quickly enough,
it will forward packets between the WAN and LAN, which will cause
problems with modems that only allow one mac to access the internet.

Tested on wrt350n.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11466
2008-06-15 11:09:27 +00:00
Florian Fainelli
6fab96eb3e Add Siemens SE505v2 detection to diag (#3416)
SVN-Revision: 11308
2008-05-31 12:32:05 +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
Florian Fainelli
99b6b35be3 Add support for Asus wl-520gc
SVN-Revision: 11145
2008-05-16 01:18:57 +00:00
Peter Denison
06c7c04288 Fix typo in broadcom-diag LED output enable
SVN-Revision: 11125
2008-05-12 19:46:53 +00:00
Andy Boyett
c15de3860c Add support for the WL-500gP v2
SVN-Revision: 10693
2008-03-31 08:04:56 +00:00
Andy Boyett
e229b1b849 Add support for the ASUS WL-520gU
SVN-Revision: 10692
2008-03-31 08:04:27 +00:00
Andy Boyett
a6a59ce520 broadcom-diag cleanup
SVN-Revision: 10691
2008-03-31 08:04:06 +00:00
Michael Büsch
faa14263f5 ssb: Make the GPIO API reentrancy safe.
SVN-Revision: 10496
2008-02-19 15:22:17 +00:00
Michael Büsch
66dec6d8a1 ssb: Update the GPIO API
SVN-Revision: 10495
2008-02-19 13:52:57 +00:00
Florian Fainelli
a4ca693c7e Add back Sitecom WL-105b support
SVN-Revision: 10142
2008-01-08 14:27:48 +00:00
Felix Fietkau
85ad2a43a0 add switch gpio init for bcm57xx (untested, see #2744)
SVN-Revision: 9642
2007-11-30 21:58:14 +00:00
Felix Fietkau
66a69b145a add extra wrt350n leds (patch from #2745)
SVN-Revision: 9641
2007-11-30 21:58:06 +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
Florian Fainelli
874935fe41 Add detection support for Buffalo WHR-G125 from #2611
SVN-Revision: 9548
2007-11-13 07:39:29 +00:00
Felix Fietkau
9b486d6381 fix wr850g detection (#1936)
SVN-Revision: 9492
2007-11-03 16:17:53 +00:00
Mike Baker
c6e6780624 fix wan configuration on wr850g v2/v3
SVN-Revision: 8482
2007-08-25 12:27:01 +00:00
Florian Fainelli
b43058582a Fix the typo
SVN-Revision: 8336
2007-08-04 09:28:19 +00:00
Florian Fainelli
4be0c0cda1 Add support for the D-Link DWL-3150
SVN-Revision: 8335
2007-08-04 09:04:55 +00:00
Mike Baker
af7a203b76 rearrange diag's platform detection code to look for known platform strings before guessing
SVN-Revision: 7876
2007-07-04 16:51:00 +00:00
Felix Fietkau
8c41e51e92 fix failsafe on broadcom, send netlink events in diag when running linux 2.6
SVN-Revision: 7722
2007-06-25 08:32:25 +00:00
Felix Fietkau
fa799b9b4c fix a memleak in broadcom-diag (#1780)
SVN-Revision: 7683
2007-06-20 21:52:55 +00:00
Florian Fainelli
9f1f24069b Add support for the D-Link DIR-130/330
SVN-Revision: 7660
2007-06-18 08:14:11 +00:00
Florian Fainelli
4f1ed37138 Add updated support for buffalo routers (#1874)
SVN-Revision: 7585
2007-06-12 11:31:27 +00:00
Imre Kaloz
3237230249 bcm47xx compile fix for .21, thanks to noz
SVN-Revision: 7337
2007-05-26 15:54:22 +00:00
Felix Fietkau
a1206669e8 fix gpio interrupts on broadcom (thanks, jpcass)
SVN-Revision: 7090
2007-05-04 17:35:58 +00:00
Florian Fainelli
5203f99da6 Fix reverse polarity on WGT634U (was : green while booting, amber when ready)
SVN-Revision: 6958
2007-04-15 19:44:15 +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
c55d91061f add SimpleTech SimpleShare NAS diag support (untested; based on patch from #1352)
SVN-Revision: 6460
2007-03-02 16:27:53 +00:00
Felix Fietkau
89b89ef77d add wl-500w diag support (untested, based on patch from #1298)
SVN-Revision: 6416
2007-02-28 00:01:41 +00:00
Felix Fietkau
2fb06d46d9 Add WL-700gE support (based on work by jr) Includes kernel/diag patch and a new target profile
SVN-Revision: 6142
2007-01-20 12:35:00 +00:00
Felix Fietkau
8bcdd4e5e9 add usb led for wl-hdd
SVN-Revision: 6133
2007-01-20 01:18:58 +00:00
Felix Fietkau
680e7b59bc add hardware detection for dell truemobile 2300
SVN-Revision: 5854
2006-12-19 06:40:32 +00:00
Imre Kaloz
ee1839c4f2 add diag support for the Buffalo WZR-G300N
SVN-Revision: 5812
2006-12-16 23:03:54 +00:00
Felix Fietkau
fe98b0751a add diag support for the WRT350N
SVN-Revision: 5785
2006-12-14 07:59:45 +00:00
Florian Fainelli
7790289f3e Add Trendware TEW-411BRplus (#1038)
SVN-Revision: 5764
2006-12-11 21:46:31 +00:00
Mike Baker
7e7ff643f5 Ignore false button events generated by switch gpio use
SVN-Revision: 5687
2006-12-01 22:31:11 +00:00
Felix Fietkau
7bb9865fff fix gpios for wzr-rs-g54, add support for the wzr-rs-g54hp
SVN-Revision: 5636
2006-11-24 02:39:41 +00:00
Felix Fietkau
f33d7f1127 diag: add support for the buffalo wzr-rs-g54
SVN-Revision: 5616
2006-11-22 20:58:18 +00:00
Felix Fietkau
541abcfad6 fix dmz gpio for the wrtsl54gs
SVN-Revision: 5600
2006-11-21 14:09:34 +00:00
Felix Fietkau
f5669c81c3 fix motorola we800g misdetection
SVN-Revision: 5579
2006-11-19 00:18:56 +00:00
Felix Fietkau
ff7e84d401 improve accuracy of the diag detection of the wrt54g3g
SVN-Revision: 5521
2006-11-13 18:22:05 +00:00
Felix Fietkau
b592d36cb1 forward port diag changes from whiterussian, add extra abstraction for the gpio stuff
SVN-Revision: 5478
2006-11-09 07:35:27 +00:00
Felix Fietkau
a61a61e523 fix typo
SVN-Revision: 5428
2006-11-03 22:11:29 +00:00
Felix Fietkau
c9dcbd5531 port new diag driver to kamikaze
SVN-Revision: 5426
2006-11-03 21:58:08 +00:00