(1/6) bcm57xx: init from diag
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Jun 2008 11:09:27 +0000 (11:09 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 15 Jun 2008 11:09:27 +0000 (11:09 +0000)
commit7f7d2044e4ec7aad06734ceb824aa74fde29c986
tree94f913c2410b551e42abff977730254492503b37
parentf82fc98012bfde9f997f313b7832a869092bbade
(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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11466 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/broadcom-diag/src/diag.c