This patch fixes a problem with wrong GPIOs being changed when the wlan is on, which disables the wired network ports until the right GPIO is turned back off. (see https://lists.openwrt.org/pipermail/openwrt-devel/2012-December/018113.html).
The patch makes it only use the correct GPIO pin. NOTE: this patch may interfere with other systems with chip id brcm47162, I do not know how that works (if all brcm47162's have the GPIO ports hooked up to the same LEDs etc.). If necessary/possible, a check can be added for the Linksys E1000 V1. In my source tree, I put it under package/mac80211/patches/918-b43main-gpio-testing.patch Thanks to Zajec for assistance with fixing this issue. --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -2722,6 +2722,9 @@ } else if (dev->dev->chip_id == 0x5354) { /* Don't allow overtaking buttons GPIOs */ set &= 0x2; /* 0x2 is LED GPIO on BCM5354 */ + } else if (dev->dev->chip_id == 47162) { + /* only use the wlan LED GPIO (gpio 0 on Linksys E1000 V1) */ + set &= 0x1; } if (0 /* FIXME: conditional unknown */ ) { _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel