Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 150892 Details for
Bug 218553
b43 module in 2.6.24.x fails to associate
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
upstream patch workaround invalid bluetooth settings
fix_invalid_bluetooth_settings.patch (text/plain), 2.99 KB, created by
Mike Pagano
on 2008-04-25 01:31:28 UTC
(
hide
)
Description:
upstream patch workaround invalid bluetooth settings
Filename:
MIME Type:
Creator:
Mike Pagano
Created:
2008-04-25 01:31:28 UTC
Size:
2.99 KB
patch
obsolete
>From: Michael Buesch <mb@bu3sch.de> >Date: Fri, 18 Apr 2008 18:51:41 +0000 (+0200) >Subject: b43: Workaround invalid bluetooth settings >X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=1855ba7812dbd294fcfc083dc7d3b14d3b1f38db > >b43: Workaround invalid bluetooth settings > >This adds a workaround for invalid bluetooth SPROM settings >on ASUS PCI cards. >This will stop the microcode from poking with the BT GPIO line. >This fixes data transmission on this device, as the BT GPIO line >is used for something TX related on this device >(probably the power amplifier or the radio). >This also adds a modparam knob to help debugging this in the future, >as more devices with this bug may show up. > >Signed-off-by: Michael Buesch <mb@bu3sch.de> >Signed-off-by: John W. Linville <linville@tuxdriver.com> >--- > >diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c >index cf5c046..4bc053f 100644 >--- a/drivers/net/wireless/b43/main.c >+++ b/drivers/net/wireless/b43/main.c >@@ -84,6 +84,10 @@ int b43_modparam_qos = 1; > module_param_named(qos, b43_modparam_qos, int, 0444); > MODULE_PARM_DESC(qos, "Enable QOS support (default on)"); > >+static int modparam_btcoex = 1; >+module_param_named(btcoex, modparam_btcoex, int, 0444); >+MODULE_PARM_DESC(btcoex, "Enable Bluetooth coexistance (default on)"); >+ > > static const struct ssb_device_id b43_ssb_tbl[] = { > SSB_DEVICE(SSB_VENDOR_BROADCOM, SSB_DEV_80211, 5), >@@ -3708,6 +3712,8 @@ static void b43_bluetooth_coext_enable(struct b43_wldev *dev) > struct ssb_sprom *sprom = &dev->dev->bus->sprom; > u32 hf; > >+ if (!modparam_btcoex) >+ return; > if (!(sprom->boardflags_lo & B43_BFL_BTCOEXIST)) > return; > if (dev->phy.type != B43_PHYTYPE_B && !dev->phy.gmode) >@@ -3719,11 +3725,13 @@ static void b43_bluetooth_coext_enable(struct b43_wldev *dev) > else > hf |= B43_HF_BTCOEX; > b43_hf_write(dev, hf); >- //TODO > } > > static void b43_bluetooth_coext_disable(struct b43_wldev *dev) >-{ //TODO >+{ >+ if (!modparam_btcoex) >+ return; >+ //TODO > } > > static void b43_imcfglo_timeouts_workaround(struct b43_wldev *dev) >@@ -4416,6 +4424,8 @@ static int b43_one_core_attach(struct ssb_device *dev, struct b43_wl *wl) > > static void b43_sprom_fixup(struct ssb_bus *bus) > { >+ struct pci_dev *pdev; >+ > /* boardflags workarounds */ > if (bus->boardinfo.vendor == SSB_BOARDVENDOR_DELL && > bus->chip_id == 0x4301 && bus->boardinfo.rev == 0x74) >@@ -4423,6 +4433,14 @@ static void b43_sprom_fixup(struct ssb_bus *bus) > if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && > bus->boardinfo.type == 0x4E && bus->boardinfo.rev > 0x40) > bus->sprom.boardflags_lo |= B43_BFL_PACTRL; >+ if (bus->bustype == SSB_BUSTYPE_PCI) { >+ pdev = bus->host_pci; >+ if (pdev->vendor == PCI_VENDOR_ID_BROADCOM && >+ pdev->device == 0x4318 && >+ pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK && >+ pdev->subsystem_device == 0x100F) >+ bus->sprom.boardflags_lo &= ~B43_BFL_BTCOEXIST; >+ } > } > > static void b43_wireless_exit(struct ssb_device *dev, struct b43_wl *wl) >
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 218553
: 150892 |
150893