diff mbox

bcma: add PCI ID for spromless BCM43227

Message ID 1408789351-5803-1-git-send-email-hauke@hauke-m.de (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Hauke Mehrtens Aug. 23, 2014, 10:22 a.m. UTC
This adds the PCI ID a BCM43227 without a sprom.
This devices was found on a Netgear R6250 attached to a BCM4708 ARM SoC.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 drivers/bcma/host_pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Rafał Miłecki Aug. 23, 2014, 1:39 p.m. UTC | #1
On 23 August 2014 12:22, Hauke Mehrtens <hauke@hauke-m.de> wrote:
> This adds the PCI ID a BCM43227 without a sprom.

Do you have bcma log from detecting this chip? Is this really BCM43227?
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Hauke Mehrtens Aug. 23, 2014, 1:42 p.m. UTC | #2
On 08/23/2014 03:39 PM, Rafa? Mi?ecki wrote:
> On 23 August 2014 12:22, Hauke Mehrtens <hauke@hauke-m.de> wrote:
>> This adds the PCI ID a BCM43227 without a sprom.
> 
> Do you have bcma log from detecting this chip? Is this really BCM43227?
> 
Sorry it is a BCM43217

[    2.457832] bcma: bus1: Found chip with id 0xA8D1, rev 0x00 and
package 0x08
[    2.464899] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id
0x800, rev 0x27, class 0x0)
[    2.473421] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
0x812, rev 0x1E, class 0x0)
[    2.482046] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820,
rev 0x14, class 0x0)
...
[    8.435380] b43-phy0: Broadcom 43217 WLAN found (core revision 30)
[    8.441623] bcma: bus1: Switched to core: 0x812
[    8.450226] b43-phy0: Found PHY: Analog 9, Type 4 (N), Revision 17
[    8.456393] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2057, Revision
14, Version 1

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Larry Finger Aug. 23, 2014, 2:51 p.m. UTC | #3
On 08/23/2014 08:39 AM, Rafa? Mi?ecki wrote:
> On 23 August 2014 12:22, Hauke Mehrtens <hauke@hauke-m.de> wrote:
>> This adds the PCI ID a BCM43227 without a sprom.
> 
> Do you have bcma log from detecting this chip? Is this really BCM43227?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

When you resubmit, could you also add the Product ID in hex in a comment? If it
were ever necessary to find the driver from the PCI ID given by 'lspci -nn',
having that ID in the code would be useful.

Larry


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/bcma/host_pci.c b/drivers/bcma/host_pci.c
index 294a7dd..42fcd6d 100644
--- a/drivers/bcma/host_pci.c
+++ b/drivers/bcma/host_pci.c
@@ -282,6 +282,7 @@  static const struct pci_device_id bcma_pci_bridge_tbl[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x43a9) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x43aa) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4727) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 43227) },
 	{ 0, },
 };
 MODULE_DEVICE_TABLE(pci, bcma_pci_bridge_tbl);