diff options
author | Russell King <linux@armlinux.org.uk> | 2019-11-27 11:45:30 +0000 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2020-01-21 22:32:48 +0100 |
commit | a1358fc7ae638b7dafe682ae764fc4d1d189b05e (patch) | |
tree | 14986f54963ffad73fd6393f6741f330c790718b /target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch | |
parent | 1c16b574c4f77a30a0268acee30be96ae0dc5948 (diff) | |
download | upstream-a1358fc7ae638b7dafe682ae764fc4d1d189b05e.tar.gz upstream-a1358fc7ae638b7dafe682ae764fc4d1d189b05e.tar.bz2 upstream-a1358fc7ae638b7dafe682ae764fc4d1d189b05e.zip |
kernel: add SFP support for Methode DM7052 NBASE-T module
Add support for Methode DM7052 NBASE-T module to OpenWRT. These
patches are taken from my "phy" branch, and will be sent for the
next kernel merge window.
Signed-off-by: Russell King <linux@armlinux.org.uk>
[jonas.gorski: move patches to pending, refresh patches]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch')
-rw-r--r-- | target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch b/target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch index f863238209..dafd84759e 100644 --- a/target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch +++ b/target/linux/generic/pending-4.19/703-phy-add-detach-callback-to-struct-phy_driver.patch @@ -11,7 +11,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c -@@ -1136,6 +1136,9 @@ void phy_detach(struct phy_device *phyde +@@ -1200,6 +1200,9 @@ void phy_detach(struct phy_device *phyde struct module *ndev_owner = dev->dev.parent->driver->owner; struct mii_bus *bus; @@ -23,7 +23,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> sysfs_remove_link(&phydev->mdio.dev.kobj, "attached_dev"); --- a/include/linux/phy.h +++ b/include/linux/phy.h -@@ -560,6 +560,12 @@ struct phy_driver { +@@ -567,6 +567,12 @@ struct phy_driver { */ int (*did_interrupt)(struct phy_device *phydev); |