]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
brcm80211: smac: register with bcma for specific 802.11 core revisions
authorArend van Spriel <arend@broadcom.com>
Mon, 12 Dec 2011 23:15:12 +0000 (15:15 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Dec 2011 20:48:35 +0000 (15:48 -0500)
The brcmsmac driver has been verified on chipsets that were supported
when it was a pci device driver, ie. bcm4313, bcm43224, and bcm43225.
This patch restricts the driver to 802.11 core revisions that are found
in these chipsets.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c

index 30ac8b4ce443d50252de00374197c5d890a6b08e..77fdc45b43efe93dcec3dbc9ae3945e6f2b4b84f 100644 (file)
@@ -90,8 +90,8 @@ MODULE_LICENSE("Dual BSD/GPL");
 
 /* recognized BCMA Core IDs */
 static struct bcma_device_id brcms_coreid_table[] = {
-       BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211,
-                 BCMA_ANY_REV, BCMA_ANY_CLASS),
+       BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211, 23, BCMA_ANY_CLASS),
+       BCMA_CORE(BCMA_MANUF_BCM, BCMA_CORE_80211, 24, BCMA_ANY_CLASS),
        BCMA_CORETABLE_END
 };
 MODULE_DEVICE_TABLE(bcma, brcms_coreid_table);