bcma: define some additional cores IDs
Rafał Miłecki
maintainerPATCH 1/1 bcma: define some additional cores IDs
Some of them are BCM4706 specific AFAWK. Most of them was confirmed on Netgear WNDR450.
--- drivers/bcma/scan.c | 6 ++++++ include/linux/bcma/bcma.h | 7 +++++++ 2 files changed, 13 insertions(+), 0 deletions(-)
drivers/bcma/scan.c +6 -0
@@ -28,6 +28,12 @@ static const struct bcma_device_id_name bcma_arm_device_names[] = {static const struct bcma_device_id_name bcma_bcm_device_names[] = { {BCMA_CORE_OOB_ROUTER ,"OOB Router" }, + {BCMA_CORE_4706_CHIPCOMMON ,"BCM4706 ChipCommon" }, + {BCMA_CORE_4706_SOC_RAM ,"BCM4706 SOC RAM" }, + {BCMA_CORE_4706_MAC_GBIT ,"BCM4706 GBit MAC" }, + {BCMA_CORE_AMEMC ,"AMEMC (DDR)" }, + {BCMA_CORE_ALTA ,"ALTA (I2S)" }, + {BCMA_CORE_4706_MAC_GBIT_COMMON ,"BCM4706 GBit MAC Common" }, {BCMA_CORE_INVALID ,"Invalid" }, {BCMA_CORE_CHIPCOMMON ,"ChipCommon" }, {BCMA_CORE_ILINE20 ,"ILine 20" },
include/linux/bcma/bcma.h +7 -0
@@ -70,6 +70,13 @@ struct bcma_host_ops {/* Core-ID values. */ #define BCMA_CORE_OOB_ROUTER 0x367/* Out of band */ +#define BCMA_CORE_4706_CHIPCOMMON 0x500 +#define BCMA_CORE_4706_SOC_RAM 0x50E +#define BCMA_CORE_4706_MAC_GBIT 0x52D +#define BCMA_CORE_AMEMC 0x52E/* DDR1/2 memory controller core */ +#define BCMA_CORE_ALTA 0x534/* I2S core */ +#define BCMA_CORE_4706_MAC_GBIT_COMMON 0x5DC +#define BCMA_CORE_DDR23_PHY 0x5DD#define BCMA_CORE_INVALID 0x700#define BCMA_CORE_CHIPCOMMON 0x800#define BCMA_CORE_ILINE20 0x801
Signature · 1 line
1.7.7
Hi Rafał,
Minor point:
Quoted 14 lines · Rafał Miłecki
Some of them are BCM4706 specific AFAWK. Most of them was confirmed on Netgear WNDR450.
Signed-off-by Rafał Miłecki <[email protected]>---
drivers/bcma/scan.c | 6 ++++++
include/linux/bcma/bcma.h | 7 +++++++2 files changed, 13 insertions(+), 0 deletions(-)drivers/bcma/scan.c +0
-0
drivers/bcma/scan.c struct bcma_host_ops { · line 79
Quoted 10 lines
drivers/bcma/scan.c +7
-0@@ -70,6 +70,13 @@ struct bcma_host_ops { /* Core-ID values. */ #define BCMA_CORE_OOB_ROUTER 0x367 /* Out of band */ +#define BCMA_CORE_4706_CHIPCOMMON 0x500 +#define BCMA_CORE_4706_SOC_RAM 0x50E +#define BCMA_CORE_4706_MAC_GBIT 0x52D +#define BCMA_CORE_AMEMC 0x52E/* DDR1/2 memory controller core */ +#define BCMA_CORE_ALTA 0x534/* I2S core */ +#define BCMA_CORE_4706_MAC_GBIT_COMMON 0x5DC +#define BCMA_CORE_DDR23_PHY 0x5DD
You don't define a name for the DDR23_PHY core.
Thanks,
Signature · 5 lines
Julian Calaby Email: [email protected] Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/
Rafał Miłecki
maintainer2012/6/26 Julian Calaby <[email protected]>:
Quoted 20 lines
Hi Rafał,
Minor point:
Quoted 15 lines · Rafał Miłecki
Some of them are BCM4706 specific AFAWK. Most of them was confirmed on Netgear WNDR450.
Signed-off-by Rafał Miłecki <[email protected]>---
drivers/bcma/scan.c | 6 ++++++
include/linux/bcma/bcma.h | 7 +++++++2 files changed, 13 insertions(+), 0 deletions(-)drivers/bcma/scan.c +0
-0@@ -70,6 +70,13 @@ struct bcma_host_ops {
Quoted 11 lines
drivers/bcma/scan.c struct bcma_host_ops { · line 79
Quoted 9 lines
drivers/bcma/scan.c +7
-0/* Core-ID values. */ #define BCMA_CORE_OOB_ROUTER 0x367 /* Out of band */ +#define BCMA_CORE_4706_CHIPCOMMON 0x500 +#define BCMA_CORE_4706_SOC_RAM 0x50E +#define BCMA_CORE_4706_MAC_GBIT 0x52D +#define BCMA_CORE_AMEMC 0x52E/* DDR1/2 memory controller core */ +#define BCMA_CORE_ALTA 0x534/* I2S core */ +#define BCMA_CORE_4706_MAC_GBIT_COMMON 0x5DC +#define BCMA_CORE_DDR23_PHY 0x5DDYou don't define a name for the
DDR23_PHYcore.
I'm not sure it this matches Broadcom manufacturer (we have 3 mapping tables for 3 manufacturers).
Did you maybe meet 0x5DD at some board? Do you know if it's manufacturer is BCM (0x4BF)?
Signature · 1 line
Rafał