aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-12-07 11:10:03 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-12-10 15:47:31 -0500
commit9dd4ea51544de0f9679630592daa3d2147f298ed (patch)
tree49fafafe1e3390787d21fdaf826bf00c98b4d356
parent512ae05611179e6e98a48b5ddc4d263b7eb8a587 (diff)
brcmsmac: add support for BCM43224 with PCI id of 14e4:a8d8
This device can be found on some embedded devices connected to a Broadcom SoC like the BCM4718. I tested this with my Netgear WNDR3400 v1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c
index 2599cd0cd667..17594de4199e 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
@@ -4500,7 +4500,8 @@ static int brcms_b_attach(struct brcms_c_info *wlc, struct bcma_device *core,
4500 4500
4501 /* check device id(srom, nvram etc.) to set bands */ 4501 /* check device id(srom, nvram etc.) to set bands */
4502 if (wlc_hw->deviceid == BCM43224_D11N_ID || 4502 if (wlc_hw->deviceid == BCM43224_D11N_ID ||
4503 wlc_hw->deviceid == BCM43224_D11N_ID_VEN1) 4503 wlc_hw->deviceid == BCM43224_D11N_ID_VEN1 ||
4504 wlc_hw->deviceid == BCM43224_CHIP_ID)
4504 /* Dualband boards */ 4505 /* Dualband boards */
4505 wlc_hw->_nbands = 2; 4506 wlc_hw->_nbands = 2;
4506 else 4507 else
@@ -5653,7 +5654,7 @@ static bool brcms_c_chipmatch_pci(struct bcma_device *core)
5653 return false; 5654 return false;
5654 } 5655 }
5655 5656
5656 if (device == BCM43224_D11N_ID_VEN1) 5657 if (device == BCM43224_D11N_ID_VEN1 || device == BCM43224_CHIP_ID)
5657 return true; 5658 return true;
5658 if ((device == BCM43224_D11N_ID) || (device == BCM43225_D11N2G_ID)) 5659 if ((device == BCM43224_D11N_ID) || (device == BCM43225_D11N2G_ID))
5659 return true; 5660 return true;