diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-01-10 13:38:40 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-01-10 13:38:40 +0100 |
commit | 96b7a9d11a92cc0b09fd645657462a9d9558ef5f (patch) | |
tree | a1f58aba00107836b94e29698c65988f2fa5af95 /include/linux/phy.h | |
parent | a3ae16030a0320229df10cedfeff1f80df26ee76 (diff) | |
parent | 97a89ed101bbb790e80b562f9cb95f0cfd05f430 (diff) |
Merge branch 'net-phy-mxl-gpy-broken-interrupt-fixes'
Michael Walle says:
====================
net: phy: mxl-gpy: broken interrupt fixes
The GPY215 has a broken interrupt pin. This patch series tries to
workaround that and because in general that is not possible, disables the
interrupts by default and falls back to polling mode. There is an opt-in
via the devicetree.
====================
Link: https://lore.kernel.org/r/20230109123013.3094144-1-michael@walle.cc
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 6378c997ded5..742754d72fc0 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -739,6 +739,9 @@ struct phy_device { #endif }; +/* Generic phy_device::dev_flags */ +#define PHY_F_NO_IRQ 0x80000000 + static inline struct phy_device *to_phy_device(const struct device *dev) { return container_of(to_mdio_device(dev), struct phy_device, mdio); |