diff options
Diffstat (limited to 'drivers/bcma/scan.c')
-rw-r--r-- | drivers/bcma/scan.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/bcma/scan.c b/drivers/bcma/scan.c index a0272bbfc4f6..3bc3ec26fd0e 100644 --- a/drivers/bcma/scan.c +++ b/drivers/bcma/scan.c | |||
@@ -21,6 +21,7 @@ struct bcma_device_id_name { | |||
21 | }; | 21 | }; |
22 | 22 | ||
23 | static const struct bcma_device_id_name bcma_arm_device_names[] = { | 23 | static const struct bcma_device_id_name bcma_arm_device_names[] = { |
24 | { BCMA_CORE_4706_MAC_GBIT_COMMON, "BCM4706 GBit MAC Common" }, | ||
24 | { BCMA_CORE_ARM_1176, "ARM 1176" }, | 25 | { BCMA_CORE_ARM_1176, "ARM 1176" }, |
25 | { BCMA_CORE_ARM_7TDMI, "ARM 7TDMI" }, | 26 | { BCMA_CORE_ARM_7TDMI, "ARM 7TDMI" }, |
26 | { BCMA_CORE_ARM_CM3, "ARM CM3" }, | 27 | { BCMA_CORE_ARM_CM3, "ARM CM3" }, |
@@ -33,7 +34,6 @@ static const struct bcma_device_id_name bcma_bcm_device_names[] = { | |||
33 | { BCMA_CORE_4706_MAC_GBIT, "BCM4706 GBit MAC" }, | 34 | { BCMA_CORE_4706_MAC_GBIT, "BCM4706 GBit MAC" }, |
34 | { BCMA_CORE_AMEMC, "AMEMC (DDR)" }, | 35 | { BCMA_CORE_AMEMC, "AMEMC (DDR)" }, |
35 | { BCMA_CORE_ALTA, "ALTA (I2S)" }, | 36 | { BCMA_CORE_ALTA, "ALTA (I2S)" }, |
36 | { BCMA_CORE_4706_MAC_GBIT_COMMON, "BCM4706 GBit MAC Common" }, | ||
37 | { BCMA_CORE_INVALID, "Invalid" }, | 37 | { BCMA_CORE_INVALID, "Invalid" }, |
38 | { BCMA_CORE_CHIPCOMMON, "ChipCommon" }, | 38 | { BCMA_CORE_CHIPCOMMON, "ChipCommon" }, |
39 | { BCMA_CORE_ILINE20, "ILine 20" }, | 39 | { BCMA_CORE_ILINE20, "ILine 20" }, |
@@ -295,11 +295,15 @@ static int bcma_get_next_core(struct bcma_bus *bus, u32 __iomem **eromptr, | |||
295 | 295 | ||
296 | /* check if component is a core at all */ | 296 | /* check if component is a core at all */ |
297 | if (wrappers[0] + wrappers[1] == 0) { | 297 | if (wrappers[0] + wrappers[1] == 0) { |
298 | /* we could save addrl of the router | 298 | /* Some specific cores don't need wrappers */ |
299 | if (cid == BCMA_CORE_OOB_ROUTER) | 299 | switch (core->id.id) { |
300 | */ | 300 | case BCMA_CORE_4706_MAC_GBIT_COMMON: |
301 | bcma_erom_skip_component(bus, eromptr); | 301 | /* Not used yet: case BCMA_CORE_OOB_ROUTER: */ |
302 | return -ENXIO; | 302 | break; |
303 | default: | ||
304 | bcma_erom_skip_component(bus, eromptr); | ||
305 | return -ENXIO; | ||
306 | } | ||
303 | } | 307 | } |
304 | 308 | ||
305 | if (bcma_erom_is_bridge(bus, eromptr)) { | 309 | if (bcma_erom_is_bridge(bus, eromptr)) { |