]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
bcma: define some additional cores IDs
authorRafał Miłecki <zajec5@gmail.com>
Mon, 25 Jun 2012 20:12:20 +0000 (22:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Jun 2012 19:23:16 +0000 (15:23 -0400)
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>
drivers/bcma/scan.c
include/linux/bcma/bcma.h

index 5ed0718fc66056a9ddb32976f6e5927fca8df573..a3420585d942e2ea9b953852528bcc54f8cc881a 100644 (file)
@@ -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" },
index 8deaf6d050c35fcd135bb1e7e34a531e7813939e..12334f9190cb426552f94eb882f9f959afcbe80f 100644 (file)
@@ -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