X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c5552ad03973839d83d32d7108f20c00f192633b..ee0a2580d0c45e18fd53b281f2524efe48a13cf5:/target/linux/generic/patches-2.6.35/630-phy_packets.patch diff --git a/target/linux/generic/patches-2.6.35/630-phy_packets.patch b/target/linux/generic/patches-2.6.35/630-phy_packets.patch index fd6d0d243..93ec8f947 100644 --- a/target/linux/generic/patches-2.6.35/630-phy_packets.patch +++ b/target/linux/generic/patches-2.6.35/630-phy_packets.patch @@ -19,7 +19,7 @@ struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id) { struct phy_device *dev; -@@ -175,6 +187,8 @@ struct phy_device* phy_device_create(str +@@ -176,6 +188,8 @@ struct phy_device* phy_device_create(str dev_set_name(&dev->dev, PHY_ID_FMT, bus->id, addr); dev->state = PHY_DOWN; @@ -30,7 +30,7 @@ INIT_DELAYED_WORK(&dev->state_queue, phy_state_machine); --- a/include/linux/phy.h +++ b/include/linux/phy.h -@@ -325,6 +325,20 @@ struct phy_device { +@@ -330,6 +330,20 @@ struct phy_device { void (*adjust_link)(struct net_device *dev); void (*adjust_state)(struct net_device *dev); @@ -53,7 +53,7 @@ --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h -@@ -863,6 +863,7 @@ struct net_device { +@@ -932,6 +932,7 @@ struct net_device { void *ax25_ptr; /* AX.25 specific data */ struct wireless_dev *ieee80211_ptr; /* IEEE 802.11 specific data, assign before registering */