Author: hauke
Date: 2014-07-06 13:40:51 +0200 (Sun, 06 Jul 2014)
New Revision: 41526

Modified:
   trunk/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h
Log:
b53: hardcode reset GPIO for Linksys WRT300N 1.1

According to the thread https://forum.openwrt.org/viewtopic.php?id=48281
b53 uses GPIO 7:
[    4.470000] b53_common: [DBG] b53_switch_reset_gpio using 7
and causes device to self-reboot. GPIO 8 was found in CFE boot log:
"Reset switch via GPIO 8 ..."

Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>


Modified: trunk/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h
===================================================================
--- trunk/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h     
2014-07-06 11:23:13 UTC (rev 41525)
+++ trunk/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h     
2014-07-06 11:40:51 UTC (rev 41526)
@@ -308,6 +308,7 @@
        enum bcm47xx_board board = bcm47xx_board_get();
 
        switch (board) {
+       case BCM47XX_BOARD_LINKSYS_WRT300NV11:
        case BCM47XX_BOARD_LINKSYS_WRT310NV1:
                return 8;
        default:
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to