X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-4.4%2F073-0001-net-ethernet-bgmac-use-phydev-from-struct-net_device.patch;h=8c97b09970515c9c04ce17b54500485f2cf9ad7a;hp=17fbea034fe4111fc6d6cb29b8134a2d8de4ffed;hb=102cb4742c14f78bf86b7d77c568c205f0d99d85;hpb=882f4d2d63272abce8c1966983aa10178e2e971f diff --git a/target/linux/generic/patches-4.4/073-0001-net-ethernet-bgmac-use-phydev-from-struct-net_device.patch b/target/linux/generic/patches-4.4/073-0001-net-ethernet-bgmac-use-phydev-from-struct-net_device.patch index 17fbea034f..8c97b09970 100644 --- a/target/linux/generic/patches-4.4/073-0001-net-ethernet-bgmac-use-phydev-from-struct-net_device.patch +++ b/target/linux/generic/patches-4.4/073-0001-net-ethernet-bgmac-use-phydev-from-struct-net_device.patch @@ -17,7 +17,7 @@ Signed-off-by: David S. Miller --- a/drivers/net/ethernet/broadcom/bgmac.c +++ b/drivers/net/ethernet/broadcom/bgmac.c -@@ -1320,7 +1320,7 @@ static int bgmac_open(struct net_device +@@ -1323,7 +1323,7 @@ static int bgmac_open(struct net_device } napi_enable(&bgmac->napi); @@ -26,7 +26,7 @@ Signed-off-by: David S. Miller netif_carrier_on(net_dev); return 0; -@@ -1332,7 +1332,7 @@ static int bgmac_stop(struct net_device +@@ -1335,7 +1335,7 @@ static int bgmac_stop(struct net_device netif_carrier_off(net_dev); @@ -35,7 +35,7 @@ Signed-off-by: David S. Miller napi_disable(&bgmac->napi); bgmac_chip_intrs_off(bgmac); -@@ -1370,12 +1370,10 @@ static int bgmac_set_mac_address(struct +@@ -1373,12 +1373,10 @@ static int bgmac_set_mac_address(struct static int bgmac_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) { @@ -49,7 +49,7 @@ Signed-off-by: David S. Miller } static const struct net_device_ops bgmac_netdev_ops = { -@@ -1518,7 +1516,7 @@ static int bgmac_get_settings(struct net +@@ -1521,7 +1519,7 @@ static int bgmac_get_settings(struct net { struct bgmac *bgmac = netdev_priv(net_dev); @@ -58,7 +58,7 @@ Signed-off-by: David S. Miller } static int bgmac_set_settings(struct net_device *net_dev, -@@ -1526,7 +1524,7 @@ static int bgmac_set_settings(struct net +@@ -1529,7 +1527,7 @@ static int bgmac_set_settings(struct net { struct bgmac *bgmac = netdev_priv(net_dev); @@ -67,7 +67,7 @@ Signed-off-by: David S. Miller } static void bgmac_get_drvinfo(struct net_device *net_dev, -@@ -1563,7 +1561,7 @@ static int bgmac_mii_write(struct mii_bu +@@ -1566,7 +1564,7 @@ static int bgmac_mii_write(struct mii_bu static void bgmac_adjust_link(struct net_device *net_dev) { struct bgmac *bgmac = netdev_priv(net_dev); @@ -76,7 +76,7 @@ Signed-off-by: David S. Miller bool update = false; if (phy_dev->link) { -@@ -1607,8 +1605,6 @@ static int bgmac_fixed_phy_register(stru +@@ -1610,8 +1608,6 @@ static int bgmac_fixed_phy_register(stru return err; } @@ -85,7 +85,7 @@ Signed-off-by: David S. Miller return err; } -@@ -1661,7 +1657,6 @@ static int bgmac_mii_register(struct bgm +@@ -1664,7 +1660,6 @@ static int bgmac_mii_register(struct bgm err = PTR_ERR(phy_dev); goto err_unregister_bus; }