Skip to content

Commit ccaf8c3

Browse files
haukelinvjw
authored andcommitted
ssb: recognize ARM Cortex M3
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>
1 parent 3b08cf6 commit ccaf8c3

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/ssb/scan.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ const char *ssb_core_name(u16 coreid)
9090
return "ARM 1176";
9191
case SSB_DEV_ARM_7TDMI:
9292
return "ARM 7TDMI";
93+
case SSB_DEV_ARM_CM3:
94+
return "ARM Cortex M3";
9395
}
9496
return "UNKNOWN";
9597
}

‎include/linux/ssb/ssb.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ struct ssb_bus_ops {
243243
#define SSB_DEV_MINI_MACPHY 0x823
244244
#define SSB_DEV_ARM_1176 0x824
245245
#define SSB_DEV_ARM_7TDMI 0x825
246+
#define SSB_DEV_ARM_CM3 0x82A
246247

247248
/* Vendor-ID values */
248249
#define SSB_VENDOR_BROADCOM 0x4243

0 commit comments

Comments
 (0)