bcma: add support for BCM43131 that was found in Tenda W311E
authorRafał Miłecki <zajec5@gmail.com>
Thu, 24 Jul 2014 13:29:19 +0000 (15:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Jul 2014 14:32:57 +0000 (10:32 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_chipcommon_pmu.c
drivers/bcma/host_pci.c
drivers/bcma/sprom.c

index bb694e2e9f32917358e676d9f7203fe5d876c80c..fe0d48cb17788a9f3614fd8a36add7bac5f58848 100644 (file)
@@ -603,6 +603,7 @@ void bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid)
                tmp = BCMA_CC_PMU_CTL_PLL_UPD | BCMA_CC_PMU_CTL_NOILPONW;
                break;
 
+       case BCMA_CHIP_ID_BCM43131:
        case BCMA_CHIP_ID_BCM43217:
        case BCMA_CHIP_ID_BCM43227:
        case BCMA_CHIP_ID_BCM43228:
index 3cf725a49dc184e83951e44628ae80b75654bed4..294a7dd2519028a21260579f6c25b5a9aff011f7 100644 (file)
@@ -280,6 +280,7 @@ static const struct pci_device_id bcma_pci_bridge_tbl[] = {
        { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4359) },
        { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4365) },
        { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x43a9) },
+       { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x43aa) },
        { PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4727) },
        { 0, },
 };
index 97bb38e9ed653ba0aa6712333705d860b114611d..efb037f9c98a23a4c6741ad28053a97a511f774e 100644 (file)
@@ -534,6 +534,7 @@ static bool bcma_sprom_onchip_available(struct bcma_bus *bus)
                /* for these chips OTP is always available */
                present = true;
                break;
+       case BCMA_CHIP_ID_BCM43131:
        case BCMA_CHIP_ID_BCM43217:
        case BCMA_CHIP_ID_BCM43227:
        case BCMA_CHIP_ID_BCM43228: