X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6e809dd8f18d3916e8cabec7173103fda69b2c8a..1b56ff89986cdc568437df3847975dcc24ecb3a4:/target/linux/brcm47xx/patches-3.2/0036-bcma-add-the-core-unit-number.patch diff --git a/target/linux/brcm47xx/patches-3.2/0036-bcma-add-the-core-unit-number.patch b/target/linux/brcm47xx/patches-3.2/0036-bcma-add-the-core-unit-number.patch index 2c41a3008..cba9a6398 100644 --- a/target/linux/brcm47xx/patches-3.2/0036-bcma-add-the-core-unit-number.patch +++ b/target/linux/brcm47xx/patches-3.2/0036-bcma-add-the-core-unit-number.patch @@ -32,7 +32,7 @@ Signed-off-by: Hauke Mehrtens static int bcma_get_next_core(struct bcma_bus *bus, u32 __iomem **eromptr, struct bcma_device_id *match, int core_num, struct bcma_device *core) -@@ -407,6 +418,7 @@ int bcma_bus_scan(struct bcma_bus *bus) +@@ -392,6 +403,7 @@ int bcma_bus_scan(struct bcma_bus *bus) bcma_scan_switch_core(bus, erombase); while (eromptr < eromend) { @@ -40,7 +40,7 @@ Signed-off-by: Hauke Mehrtens struct bcma_device *core = kzalloc(sizeof(*core), GFP_KERNEL); if (!core) return -ENOMEM; -@@ -426,6 +438,8 @@ int bcma_bus_scan(struct bcma_bus *bus) +@@ -411,6 +423,8 @@ int bcma_bus_scan(struct bcma_bus *bus) core->core_index = core_num++; bus->nr_cores++; @@ -58,4 +58,4 @@ Signed-off-by: Hauke Mehrtens + u8 core_unit; u32 addr; - u32 addr1; + u32 wrap;