]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
brcmsmac: add support for a BCM4313 with PCI id 0x4313
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 3 Oct 2013 11:49:11 +0000 (13:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Oct 2013 17:46:00 +0000 (13:46 -0400)
There are some BCM4313 out there with a PCI id of 0x4313. These devices
are missing a sprom and are only used on routers or other embedded
devices. We found one connected to a BCM63XX SoC.

This devices was found by someone in this ticket:
https://dev.openwrt.org/ticket/13551

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c

index 4608e0eb14939d12a73a4af5d3c2408e27bc877c..df6229ed52c8d23289d8ec41eff2e32be24c4146 100644 (file)
@@ -5695,7 +5695,7 @@ static bool brcms_c_chipmatch_pci(struct bcma_device *core)
                return true;
        if ((device == BCM43224_D11N_ID) || (device == BCM43225_D11N2G_ID))
                return true;
-       if (device == BCM4313_D11N2G_ID)
+       if (device == BCM4313_D11N2G_ID || device == BCM4313_CHIP_ID)
                return true;
        if ((device == BCM43236_D11N_ID) || (device == BCM43236_D11N2G_ID))
                return true;