X-Git-Url: https://git.archive.openwrt.org/?p=15.05%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.18%2F078-04-bgmac-reset-enable-Ethernet-core-before-using-it.patch;fp=target%2Flinux%2Fgeneric%2Fpatches-3.18%2F078-04-bgmac-reset-enable-Ethernet-core-before-using-it.patch;h=b3194f04e0fec70cc61196b76e61c0ca2261cdaf;hp=8dac985a723538ce45887b3cd6d3224c0fff8d49;hb=03ffd583b9c2a5efae2176250ee2b7a00ae33933;hpb=998618bb3068d3318eacb28bedba28fe2e3444e1 diff --git a/target/linux/generic/patches-3.18/078-04-bgmac-reset-enable-Ethernet-core-before-using-it.patch b/target/linux/generic/patches-3.18/078-04-bgmac-reset-enable-Ethernet-core-before-using-it.patch index 8dac985a72..b3194f04e0 100644 --- a/target/linux/generic/patches-3.18/078-04-bgmac-reset-enable-Ethernet-core-before-using-it.patch +++ b/target/linux/generic/patches-3.18/078-04-bgmac-reset-enable-Ethernet-core-before-using-it.patch @@ -19,9 +19,9 @@ Signed-off-by: David S. Miller --- a/drivers/net/ethernet/broadcom/bgmac.c +++ b/drivers/net/ethernet/broadcom/bgmac.c -@@ -1578,6 +1578,11 @@ static int bgmac_probe(struct bcma_devic - dev_warn(&core->dev, "Using random MAC: %pM\n", mac); - } +@@ -1583,6 +1583,11 @@ static int bgmac_probe(struct bcma_devic + */ + bcma_core_enable(core, 0); + /* This (reset &) enable is not preset in specs or reference driver but + * Broadcom does it in arch PCI code when enabling fake PCI device.