Skip to content

Commit d2bb2b9

Browse files
rmileckilinvjw
authored andcommitted
bcma: define some additional cores IDs
Some of them are BCM4706 specific AFAWK. Most of them was confirmed on Netgear WNDR450. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent a572ac1 commit d2bb2b9

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎drivers/bcma/scan.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ static const struct bcma_device_id_name bcma_arm_device_names[] = {
2828

2929
static const struct bcma_device_id_name bcma_bcm_device_names[] = {
3030
{ BCMA_CORE_OOB_ROUTER, "OOB Router" },
31+
{ BCMA_CORE_4706_CHIPCOMMON, "BCM4706 ChipCommon" },
32+
{ BCMA_CORE_4706_SOC_RAM, "BCM4706 SOC RAM" },
33+
{ BCMA_CORE_4706_MAC_GBIT, "BCM4706 GBit MAC" },
34+
{ BCMA_CORE_AMEMC, "AMEMC (DDR)" },
35+
{ BCMA_CORE_ALTA, "ALTA (I2S)" },
36+
{ BCMA_CORE_4706_MAC_GBIT_COMMON, "BCM4706 GBit MAC Common" },
3137
{ BCMA_CORE_INVALID, "Invalid" },
3238
{ BCMA_CORE_CHIPCOMMON, "ChipCommon" },
3339
{ BCMA_CORE_ILINE20, "ILine 20" },

‎include/linux/bcma/bcma.h‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ struct bcma_host_ops {
7070

7171
/* Core-ID values. */
7272
#define BCMA_CORE_OOB_ROUTER 0x367 /* Out of band */
73+
#define BCMA_CORE_4706_CHIPCOMMON 0x500
74+
#define BCMA_CORE_4706_SOC_RAM 0x50E
75+
#define BCMA_CORE_4706_MAC_GBIT 0x52D
76+
#define BCMA_CORE_AMEMC 0x52E /* DDR1/2 memory controller core */
77+
#define BCMA_CORE_ALTA 0x534 /* I2S core */
78+
#define BCMA_CORE_4706_MAC_GBIT_COMMON 0x5DC
79+
#define BCMA_CORE_DDR23_PHY 0x5DD
7380
#define BCMA_CORE_INVALID 0x700
7481
#define BCMA_CORE_CHIPCOMMON 0x800
7582
#define BCMA_CORE_ILINE20 0x801

0 commit comments

Comments
 (0)