aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1/702-phy_add_aneg_done_function.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-10 18:15:39 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-11 13:09:33 +0100
commitb7bee2858b582164d55c32be44df3fcb42cafc78 (patch)
treed908808a56549ec42e1b269421fd1be2dbd57f45 /target/linux/generic/patches-4.1/702-phy_add_aneg_done_function.patch
parentb1dbe6028eed57a89ae94c5e61e0b1e65f3aeb80 (diff)
downloadupstream-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.gz
upstream-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.bz2
upstream-b7bee2858b582164d55c32be44df3fcb42cafc78.zip
kernel: remove linux 4.1 support
The only target still referencing it is omap24xx, and it is marked as broken. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.1/702-phy_add_aneg_done_function.patch')
-rw-r--r--target/linux/generic/patches-4.1/702-phy_add_aneg_done_function.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/generic/patches-4.1/702-phy_add_aneg_done_function.patch b/target/linux/generic/patches-4.1/702-phy_add_aneg_done_function.patch
deleted file mode 100644
index c743cefc5a..0000000000
--- a/target/linux/generic/patches-4.1/702-phy_add_aneg_done_function.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/include/linux/phy.h
-+++ b/include/linux/phy.h
-@@ -489,6 +489,12 @@ struct phy_driver {
- /* Determines the negotiated speed and duplex */
- int (*read_status)(struct phy_device *phydev);
-
-+ /*
-+ * Update the value in phydev->link to reflect the
-+ * current link value
-+ */
-+ int (*update_link)(struct phy_device *phydev);
-+
- /* Clears any pending interrupts */
- int (*ack_interrupt)(struct phy_device *phydev);
-
---- a/drivers/net/phy/phy_device.c
-+++ b/drivers/net/phy/phy_device.c
-@@ -929,6 +929,9 @@ int genphy_update_link(struct phy_device
- {
- int status;
-
-+ if (phydev->drv->update_link)
-+ return phydev->drv->update_link(phydev);
-+
- /* Do a fake read */
- status = phy_read(phydev, MII_BMSR);
- if (status < 0)