Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 304864 Details for
Bug 444988
b43 module 'wireless' light shows incorrect status
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
hp bitflip fix
b43-workaround-hp-sprom-bitflip.patch (text/plain), 2.88 KB, created by
Michael Buesch
on 2008-05-08 14:11:49 UTC
(
hide
)
Description:
hp bitflip fix
Filename:
MIME Type:
Creator:
Michael Buesch
Created:
2008-05-08 14:11:49 UTC
Size:
2.88 KB
patch
obsolete
>Index: wireless-testing/drivers/net/wireless/b43/leds.h >=================================================================== >--- wireless-testing.orig/drivers/net/wireless/b43/leds.h 2008-02-16 19:08:12.000000000 +0100 >+++ wireless-testing/drivers/net/wireless/b43/leds.h 2008-05-02 20:45:34.000000000 +0200 >@@ -1,28 +1,11 @@ > #ifndef B43_LEDS_H_ > #define B43_LEDS_H_ > >-struct b43_wldev; >- >-#ifdef CONFIG_B43_LEDS >- > #include <linux/types.h> > #include <linux/leds.h> > > >-#define B43_LED_MAX_NAME_LEN 31 >- >-struct b43_led { >- struct b43_wldev *dev; >- /* The LED class device */ >- struct led_classdev led_dev; >- /* The index number of the LED. */ >- u8 index; >- /* If activelow is true, the LED is ON if the >- * bit is switched off. */ >- bool activelow; >- /* The unique name string for this LED device. */ >- char name[B43_LED_MAX_NAME_LEN + 1]; >-}; >+struct b43_wldev; > > #define B43_LED_BEHAVIOUR 0x7F > #define B43_LED_ACTIVELOW 0x80 >@@ -42,6 +25,25 @@ enum b43_led_behaviour { > B43_LED_INACTIVE, > }; > >+ >+ >+#ifdef CONFIG_B43_LEDS >+ >+#define B43_LED_MAX_NAME_LEN 31 >+ >+struct b43_led { >+ struct b43_wldev *dev; >+ /* The LED class device */ >+ struct led_classdev led_dev; >+ /* The index number of the LED. */ >+ u8 index; >+ /* If activelow is true, the LED is ON if the >+ * bit is switched off. */ >+ bool activelow; >+ /* The unique name string for this LED device. */ >+ char name[B43_LED_MAX_NAME_LEN + 1]; >+}; >+ > void b43_leds_init(struct b43_wldev *dev); > void b43_leds_exit(struct b43_wldev *dev); > >Index: wireless-testing/drivers/net/wireless/b43/main.c >=================================================================== >--- wireless-testing.orig/drivers/net/wireless/b43/main.c 2008-05-02 20:31:55.000000000 +0200 >+++ wireless-testing/drivers/net/wireless/b43/main.c 2008-05-08 16:08:59.000000000 +0200 >@@ -4423,21 +4423,27 @@ static int b43_one_core_attach(struct ss > > static void b43_sprom_fixup(struct ssb_bus *bus) > { >+ struct ssb_sprom *sprom = &bus->sprom; > struct pci_dev *pdev; > >- /* boardflags workarounds */ > if (bus->boardinfo.vendor == SSB_BOARDVENDOR_DELL && > bus->chip_id == 0x4301 && bus->boardinfo.rev == 0x74) >- bus->sprom.boardflags_lo |= B43_BFL_BTCOEXIST; >+ sprom->boardflags_lo |= B43_BFL_BTCOEXIST; > if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && > bus->boardinfo.type == 0x4E && bus->boardinfo.rev > 0x40) >- bus->sprom.boardflags_lo |= B43_BFL_PACTRL; >+ sprom->boardflags_lo |= B43_BFL_PACTRL; >+ > if (bus->bustype == SSB_BUSTYPE_PCI) { > pdev = bus->host_pci; >+ > if (IS_PDEV(pdev, BROADCOM, 0x4318, ASUSTEK, 0x100F) || > IS_PDEV(pdev, BROADCOM, 0x4320, LINKSYS, 0x0015) || > IS_PDEV(pdev, BROADCOM, 0x4320, LINKSYS, 0x0013)) >- bus->sprom.boardflags_lo &= ~B43_BFL_BTCOEXIST; >+ sprom->boardflags_lo &= ~B43_BFL_BTCOEXIST; >+ >+ if (IS_PDEV(pdev, BROADCOM, 0x4311, HP, 0x1364) && >+ sprom->gpio1 && (sprom->gpio1 != 0xFF)) >+ sprom->gpio1 &= ~B43_LED_ACTIVELOW; > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 444988
:
304611
| 304864