diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-03-07 16:33:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-03-07 16:33:34 +0000 |
commit | d041e8b44b042d373b0b474ee69caed840f9a541 (patch) | |
tree | 4255b83b60fd526a74b68b5b55cc0da54d3f7ab6 /target/linux/ramips/patches-4.4/0601-net-mediatke-add-phy_ethtool_ioctl-support.patch | |
parent | e559de239715f629edc90b9a0afa57cb918b56ca (diff) | |
download | upstream-d041e8b44b042d373b0b474ee69caed840f9a541.tar.gz upstream-d041e8b44b042d373b0b474ee69caed840f9a541.tar.bz2 upstream-d041e8b44b042d373b0b474ee69caed840f9a541.zip |
ramips: add linux 4.4 support, update mt7621 subtarget to 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48951
Diffstat (limited to 'target/linux/ramips/patches-4.4/0601-net-mediatke-add-phy_ethtool_ioctl-support.patch')
-rw-r--r-- | target/linux/ramips/patches-4.4/0601-net-mediatke-add-phy_ethtool_ioctl-support.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-4.4/0601-net-mediatke-add-phy_ethtool_ioctl-support.patch b/target/linux/ramips/patches-4.4/0601-net-mediatke-add-phy_ethtool_ioctl-support.patch new file mode 100644 index 0000000000..369afa97de --- /dev/null +++ b/target/linux/ramips/patches-4.4/0601-net-mediatke-add-phy_ethtool_ioctl-support.patch @@ -0,0 +1,22 @@ +From 3c550ae0359be5bc4d5daa86a62f711a91ac8dde Mon Sep 17 00:00:00 2001 +From: John Crispin <blogic@openwrt.org> +Date: Sun, 13 Dec 2015 17:46:09 +0100 +Subject: [PATCH 2/2] net:mediatke: add phy_ethtool_ioctl() support + +Signed-off-by: John Crispin <blogic@openwrt.org> +--- + drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c ++++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c +@@ -1344,6 +1344,9 @@ static int fe_do_ioctl(struct net_device + return -ENODEV; + + switch (cmd) { ++ case SIOCETHTOOL: ++ return phy_ethtool_ioctl(priv->phy_dev, ++ (void *) ifr->ifr_data); + case SIOCGMIIPHY: + case SIOCGMIIREG: + case SIOCSMIIREG: |