Here is the patch from
https://lists.openwrt.org/pipermail/openwrt-devel/2013-January/018171.html
(which itself was an update for
https://lists.openwrt.org/pipermail/openwrt-devel/2013-January/018155.html).

It is reformatted to apply straight to the OpenWrt tree.

Is this the way it is supposed to be formatted, or should it be
formatted like the one sent before?

diff --git a/package/mac80211/patches/916-b43-gpio_init-maskset.patch
b/package/mac80211/patches/916-b43-gpio_init-maskset.patch
new file mode 100644
index 0000000..8d136db
--- /dev/null
+++ b/package/mac80211/patches/916-b43-gpio_init-maskset.patch
@@ -0,0 +1,13 @@
+--- a/drivers/net/wireless/b43/main.c
++++ b/drivers/net/wireless/b43/main.c
+@@ -2722,6 +2722,10 @@
+       } 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 LED GPIO (gpio 0 on Linksys E1000 V1) */
++              set &= 0x1;
++              mask = 0x0000FFFF;
+       }
+
+       if (0 /* FIXME: conditional unknown */ ) {
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to