FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-11-2008, 12:14 AM
Tim Gardner
 
Default UBUNTU: b43: Workaround invalid bluetooth settings OriginalAuthor: Michael Buesch OriginalLocation: http://launchpadlibrarian.net/14435339/0001-b43_invalid_bluetooth Bug: #197959

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 patch was applied to mainline kernels with commit
1855ba7812dbd294fcfc083dc7d3b14d3b1f38db and was authored by
Michael Buesch <mb@bu3sch.de>.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
drivers/net/wireless/b43/main.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 69795fd..8092bf6 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -3852,6 +3852,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)
@@ -3859,6 +3861,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.r1.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.r1.boardflags_lo &= ~B43_BFL_BTCOEXIST;
+ }

/* Handle case when gain is not set in sprom */
if (bus->sprom.r1.antenna_gain_a == 0xFF)
--
1.5.4.3



--------------040705030006050706090801
Content-Type: text/x-diff;
name="0002-UBUNTU-ssb-Fix-IRQ-vectors-enable-for-early-cards.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0002-UBUNTU-ssb-Fix-IRQ-vectors-enable-for-early-cards.patch"
 

Thread Tools




All times are GMT. The time now is 01:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org