X-Git-Url: http://git.ozo.com/?p=openwrt%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fbrcm63xx%2Fpatches-4.9%2F001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch;h=eb72f6a82ce518d3f33a2a948174326df9c25400;hp=a0d2d038cc04ffbb04b32b81853b637df1fe2237;hb=fa91a147bb25b96be63c61bf87d27cd14d6f7cd7;hpb=9c63141025ed5554891a1e4ae9be221f64ec0888 diff --git a/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch b/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch index a0d2d038cc..eb72f6a82c 100644 --- a/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch +++ b/target/linux/brcm63xx/patches-4.9/001-4.12-07-mdio_bus-Issue-GPIO-RESET-to-PHYs.patch @@ -87,7 +87,7 @@ Signed-off-by: David S. Miller if (NULL == bus || NULL == bus->name || NULL == bus->read || NULL == bus->write) -@@ -330,6 +334,35 @@ int __mdiobus_register(struct mii_bus *b +@@ -329,6 +333,35 @@ int __mdiobus_register(struct mii_bus *b if (bus->reset) bus->reset(bus); @@ -123,7 +123,7 @@ Signed-off-by: David S. Miller for (i = 0; i < PHY_MAX_ADDR; i++) { if ((bus->phy_mask & (1 << i)) == 0) { struct phy_device *phydev; -@@ -355,6 +388,13 @@ error: +@@ -354,6 +387,13 @@ error: mdiodev->device_remove(mdiodev); mdiodev->device_free(mdiodev); } @@ -137,7 +137,7 @@ Signed-off-by: David S. Miller device_del(&bus->dev); return err; } -@@ -376,6 +416,13 @@ void mdiobus_unregister(struct mii_bus * +@@ -375,6 +415,13 @@ void mdiobus_unregister(struct mii_bus * mdiodev->device_remove(mdiodev); mdiodev->device_free(mdiodev); }