Skip to contentSkip to conversation

bcma: handle BCM43227

PATCH Superseded Rafał Miłecki 2 participants 3 messages Aug 18, 2012 – Aug 23, 2012 Broadcom specific amba driver (bcma)

lore
Share & tools
lore

Rafał Miłecki

author maintainer
#0 lore raw

PATCH 1/1 bcma: handle BCM43227

---
 drivers/bcma/host_pci.c |    1 +
 drivers/bcma/sprom.c    |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
drivers/bcma/host_pci.c +1 -0
index f7b0af7..b6b4b5e 100644
@@ -273,6 +273,7 @@ static DEFINE_PCI_DEVICE_TABLE(bcma_pci_bridge_tbl) = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4331) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4353) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4357) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4358) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4359) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4727) },
 	{ 0, },
drivers/bcma/sprom.c +2 -0
index 9ea4627..0d546b6 100644
@@ -507,7 +507,9 @@ static bool bcma_sprom_onchip_available(struct bcma_bus *bus)
 		/* for these chips OTP is always available */
 		present = true;
 		break;
+	case BCMA_CHIP_ID_BCM43227:
 	case BCMA_CHIP_ID_BCM43228:
+	case BCMA_CHIP_ID_BCM43428:
 		present = chip_status & BCMA_CC_CHIPST_43228_OTP_PRESENT;
 		break;
 	default:
Signature · 1 line
1.7.7
#1 lore raw

What are the prerequisite patches for this one? It seems to be based on something other than wireless-next.

John

Quoted 38 lines · Rafał Miłecki
---
 drivers/bcma/host_pci.c |    1 +
 drivers/bcma/sprom.c    |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
drivers/bcma/host_pci.c +1 -0
index f7b0af7..b6b4b5e 100644
@@ -273,6 +273,7 @@ static DEFINE_PCI_DEVICE_TABLE(bcma_pci_bridge_tbl) = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4331) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4353) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4357) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4358) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4359) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_BROADCOM, 0x4727) },
 	{ 0, },
drivers/bcma/sprom.c +2 -0
index 9ea4627..0d546b6 100644
@@ -507,7 +507,9 @@ static bool bcma_sprom_onchip_available(struct bcma_bus *bus)
 		/* for these chips OTP is always available */
 		present = true;
 		break;
+	case BCMA_CHIP_ID_BCM43227:
 	case BCMA_CHIP_ID_BCM43228:
+	case BCMA_CHIP_ID_BCM43428:
 		present = chip_status & BCMA_CC_CHIPST_43228_OTP_PRESENT;
 		break;
 	default:
Signature · 1 line
1.7.7
Signature · 2 lines
John W. Linville		Someday the world will need a hero, and you
[email protected]			might be all we have.  Be ready.
author maintainer
#2 lore raw

2012/8/22 John W. Linville <[email protected]>:

Quoted 2 lines

What are the prerequisite patches for this one? It seems to be based on something other than wireless-next.

Sorry for problem, please drop this. I'll double re-check and submit version that applies.

Signature · 1 line
Rafał