Ticket #12906: b43-gpio_rootdir.patch

File b43-gpio_rootdir.patch, 704 bytes (added by heehooman+openwrt.trac@…, 5 years ago)
  • new file package/mac80211/patches/916-b43-gpio_init-maskset.patch

    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
    - +  
     1--- a/drivers/net/wireless/b43/main.c 
     2+++ b/drivers/net/wireless/b43/main.c 
     3@@ -2722,6 +2722,10 @@ 
     4        } else if (dev->dev->chip_id == 0x5354) { 
     5                /* Don't allow overtaking buttons GPIOs */ 
     6                set &= 0x2; /* 0x2 is LED GPIO on BCM5354 */ 
     7+       } else if (dev->dev->chip_id == 47162) { 
     8+               /* only use LED GPIO (gpio 0 on Linksys E1000 V1) */ 
     9+               set &= 0x1; 
     10+               mask = 0x0000FFFF; 
     11        } 
     12  
     13        if (0 /* FIXME: conditional unknown */ ) {