Commit 10419d08 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

bcma: ignore extra GMAC cores on BCM4706

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3a703ab5
...@@ -120,6 +120,11 @@ static int bcma_register_cores(struct bcma_bus *bus) ...@@ -120,6 +120,11 @@ static int bcma_register_cores(struct bcma_bus *bus)
continue; continue;
} }
/* Only first GMAC core on BCM4706 is connected and working */
if (core->id.id == BCMA_CORE_4706_MAC_GBIT &&
core->core_unit > 0)
continue;
core->dev.release = bcma_release_core_dev; core->dev.release = bcma_release_core_dev;
core->dev.bus = &bcma_bus_type; core->dev.bus = &bcma_bus_type;
dev_set_name(&core->dev, "bcma%d:%d", bus->num, dev_id); dev_set_name(&core->dev, "bcma%d:%d", bus->num, dev_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment