diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-11-09 20:17:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-11 20:36:56 +0300 |
commit | a4307c0ec66131e722a8fa0f1da09646c46ee924 (patch) | |
tree | dee28465b4a5bfe7089cb9d6a21910ba71fd54a3 /include/linux/phy.h | |
parent | 0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7 (diff) | |
download | linux-a4307c0ec66131e722a8fa0f1da09646c46ee924.tar.xz |
net: phy: remove flag PHY_HAS_INTERRUPT from driver configs
Now that flag PHY_HAS_INTERRUPT has been replaced with a check for
callbacks config_intr and ack_interrupt, we can remove setting this
flag from all driver configs.
Last but not least remove flag PHY_HAS_INTERRUPT completely.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 3299ec6e69f3..59bb31ee132f 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -66,9 +66,8 @@ extern __ETHTOOL_DECLARE_LINK_MODE_MASK(phy_10gbit_full_features) __ro_after_ini #define PHY_POLL -1 #define PHY_IGNORE_INTERRUPT -2 -#define PHY_HAS_INTERRUPT 0x00000001 -#define PHY_IS_INTERNAL 0x00000002 -#define PHY_RST_AFTER_CLK_EN 0x00000004 +#define PHY_IS_INTERNAL 0x00000001 +#define PHY_RST_AFTER_CLK_EN 0x00000002 #define MDIO_DEVICE_IS_PHY 0x80000000 /* Interface Mode definitions */ |