summaryrefslogtreecommitdiff
path: root/target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-08 09:56:49 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-08 09:56:49 +0200
commit4017c528ca9e0fda8eec87ec0cbc93fabfa53530 (patch)
treeab7d831e3c61e638b62b57e09f7b31baac697b9c /target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch
parente3ab280e47000aee3dc0ea916bcb656490e9839d (diff)
downloadmtk-20170518-4017c528ca9e0fda8eec87ec0cbc93fabfa53530.zip
mtk-20170518-4017c528ca9e0fda8eec87ec0cbc93fabfa53530.tar.gz
mtk-20170518-4017c528ca9e0fda8eec87ec0cbc93fabfa53530.tar.bz2
kernel: remove linux 4.4 support
No targets are using it anymore Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch')
-rw-r--r--target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch b/target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch
deleted file mode 100644
index f20f48f..0000000
--- a/target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/include/linux/phy.h
-+++ b/include/linux/phy.h
-@@ -497,6 +497,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
-@@ -995,6 +995,9 @@ int genphy_update_link(struct phy_device
- {
- int status;
-
-+ if (phydev->drv && phydev->drv->update_link)
-+ return phydev->drv->update_link(phydev);
-+
- /* Do a fake read */
- status = phy_read(phydev, MII_BMSR);
- if (status < 0)