John W. Linville 2be5490
Simple patch to remove the overlap between the bcma (i.e. b43) driver
John W. Linville 2be5490
and the brcmsmac driver.  David Woodhouse <dwmw2@infradead.org>
John W. Linville 2be5490
confirmed that this patch restores functionality of bcm4331 devices.
John W. Linville 2be5490
John W. Linville 2be5490
-- John W. Linville <linville@redhat.com>
John W. Linville 2be5490
John W. Linville 2be5490
diff -up linux-3.1.x86_64/drivers/bcma/host_pci.c.orig linux-3.1.x86_64/drivers/bcma/host_pci.c
John W. Linville 2be5490
--- linux-3.1.x86_64/drivers/bcma/host_pci.c.orig	2011-11-10 11:41:26.829742757 -0500
John W. Linville 2be5490
+++ linux-3.1.x86_64/drivers/bcma/host_pci.c	2011-11-10 11:41:22.884792078 -0500
John W. Linville 2be5490
@@ -225,11 +225,13 @@ static void bcma_host_pci_remove(struct 
John W. Linville 2be5490
 }
John W. Linville 2be5490
 
John W. Linville 2be5490
 static DEFINE_PCI_DEVICE_TABLE(bcma_pci_bridge_tbl) = {
John W. Linville 2be5490
-	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x0576) },
John W. Linville 2be5490
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4331) },
John W. Linville 2be5490
+#if 0 /* Not in Fedora... */
John W. Linville 2be5490
+ 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x0576) },
John W. Linville 2be5490
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4353) },
John W. Linville 2be5490
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4357) },
John W. Linville 2be5490
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4727) },
John W. Linville 2be5490
+#endif
John W. Linville 2be5490
 	{ 0, },
John W. Linville 2be5490
 };
John W. Linville 2be5490
 MODULE_DEVICE_TABLE(pci, bcma_pci_bridge_tbl);
John W. Linville 2be5490
diff -up linux-3.1.x86_64/drivers/net/wireless/brcm80211/Kconfig.orig linux-3.1.x86_64/drivers/net/wireless/brcm80211/Kconfig
John W. Linville 2be5490
--- linux-3.1.x86_64/drivers/net/wireless/brcm80211/Kconfig.orig	2011-11-10 11:42:31.764930961 -0500
John W. Linville 2be5490
+++ linux-3.1.x86_64/drivers/net/wireless/brcm80211/Kconfig	2011-11-10 11:42:33.613907846 -0500
John W. Linville 2be5490
@@ -5,7 +5,6 @@ config BRCMSMAC
John W. Linville 2be5490
 	tristate "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver"
John W. Linville 2be5490
 	depends on PCI
John W. Linville 2be5490
 	depends on MAC80211
John W. Linville 2be5490
-	depends on BCMA=n
John W. Linville 2be5490
 	select BRCMUTIL
John W. Linville 2be5490
 	select FW_LOADER
John W. Linville 2be5490
 	select CRC_CCITT