diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-03-17 14:33:47 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2013-03-17 14:33:47 +0000 |
commit | 7987c8d0dc227331be1076e5dbd2668826b63789 (patch) | |
tree | 0b6084e9566199582bf0cc5f87d1d681a2cbbc08 /target/linux/au1000/patches-3.3/003-au1000_eth_ioctl.patch | |
parent | c56c18168e70eb0d4d3775cd7e7674c4c019d371 (diff) | |
download | mtk-20170518-7987c8d0dc227331be1076e5dbd2668826b63789.zip mtk-20170518-7987c8d0dc227331be1076e5dbd2668826b63789.tar.gz mtk-20170518-7987c8d0dc227331be1076e5dbd2668826b63789.tar.bz2 |
au1000: remove support for 3.3. kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36067
Diffstat (limited to 'target/linux/au1000/patches-3.3/003-au1000_eth_ioctl.patch')
-rw-r--r-- | target/linux/au1000/patches-3.3/003-au1000_eth_ioctl.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/au1000/patches-3.3/003-au1000_eth_ioctl.patch b/target/linux/au1000/patches-3.3/003-au1000_eth_ioctl.patch deleted file mode 100644 index b97a439..0000000 --- a/target/linux/au1000/patches-3.3/003-au1000_eth_ioctl.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/drivers/net/ethernet/amd/au1000_eth.c -+++ b/drivers/net/ethernet/amd/au1000_eth.c -@@ -991,10 +991,14 @@ static void au1000_multicast_list(struct - writel(reg, &aup->mac->control); - } - -+#define AU1000_KNOWN_PHY_IOCTLS (SIOCGMIIPHY & 0xfff0) - static int au1000_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) - { - struct au1000_private *aup = netdev_priv(dev); - -+ if((cmd & AU1000_KNOWN_PHY_IOCTLS) != AU1000_KNOWN_PHY_IOCTLS) -+ return -EINVAL; -+ - if (!netif_running(dev)) - return -EINVAL; - |