From: Hauke Mehrtens Date: Thu, 3 Oct 2013 11:49:11 +0000 (+0200) Subject: brcmsmac: add support for a BCM4313 with PCI id 0x4313 X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~3^2^2~396 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d9b3589dfea43fb49ebc13205b5feadc4e364d7;p=platform%2Fkernel%2Flinux-arm64.git brcmsmac: add support for a BCM4313 with PCI id 0x4313 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c index 4608e0e..df6229e 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c @@ -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;