2014-08-23 10:22:40

by Hauke Mehrtens

[permalink] [raw]
Subject: [PATCH] bcma: add PCI ID for spromless BCM43227

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 <[email protected]>
---
drivers/bcma/host_pci.c | 1 +
1 file changed, 1 insertion(+)

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);
--
1.9.1



2014-08-23 14:58:45

by Larry Finger

[permalink] [raw]
Subject: Re: [PATCH] bcma: add PCI ID for spromless BCM43227

On 08/23/2014 08:39 AM, Rafał Miłecki wrote:
> On 23 August 2014 12:22, Hauke Mehrtens <[email protected]> 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 [email protected]
> 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



2014-08-23 13:42:22

by Hauke Mehrtens

[permalink] [raw]
Subject: Re: [PATCH] bcma: add PCI ID for spromless BCM43227

On 08/23/2014 03:39 PM, Rafał Miłecki wrote:
> On 23 August 2014 12:22, Hauke Mehrtens <[email protected]> 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

2014-08-23 13:39:18

by Rafał Miłecki

[permalink] [raw]
Subject: Re: [PATCH] bcma: add PCI ID for spromless BCM43227

On 23 August 2014 12:22, Hauke Mehrtens <[email protected]> wrote:
> This adds the PCI ID a BCM43227 without a sprom.

Do you have bcma log from detecting this chip? Is this really BCM43227?