ssb: recognize ARM Cortex M3
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 31 May 2012 20:38:22 +0000 (22:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jun 2012 19:20:22 +0000 (15:20 -0400)
I found this core on a BCM4322, a PCI card in the Linksys WRT610N V1.
This core is not used by the driver, this patch just makes ssb show the
correct name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/scan.c
include/linux/ssb/ssb.h

index 266c7c5c86dcba7dcb6c70965534bea331f1b153..ab4627cf11148c96a969ebd966c4657265e49471 100644 (file)
@@ -90,6 +90,8 @@ const char *ssb_core_name(u16 coreid)
                return "ARM 1176";
        case SSB_DEV_ARM_7TDMI:
                return "ARM 7TDMI";
+       case SSB_DEV_ARM_CM3:
+               return "ARM Cortex M3";
        }
        return "UNKNOWN";
 }
index bc14bd738ade2f456af80dfc94bdc259b4ceb5aa..bb674c02f3060c3917763dfe2bae1f8bd3559a4d 100644 (file)
@@ -243,6 +243,7 @@ struct ssb_bus_ops {
 #define SSB_DEV_MINI_MACPHY    0x823
 #define SSB_DEV_ARM_1176       0x824
 #define SSB_DEV_ARM_7TDMI      0x825
+#define SSB_DEV_ARM_CM3                0x82A
 
 /* Vendor-ID values */
 #define SSB_VENDOR_BROADCOM    0x4243