diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-01-18 11:01:37 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-01-19 16:23:19 +0100 |
commit | 3486593374858b41ae6ef7720cb28ff39ad822f3 (patch) | |
tree | a5cec58ec15b40bf569004d222d0423f0b5eb556 /include | |
parent | d41e127757f37d0d47ccda4af2fe74c32533f798 (diff) |
net: mdio: Add workaround for Micrel PHYs which are not C45 compatible
After scanning the bus for C22 devices, check if any Micrel PHYs have
been found. They are known to do bad things if there are C45
transactions on the bus. Prevent the scanning of the bus using C45 if
such a PHY has been detected.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/micrel_phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h index 1f7c33b2f5a3..771e050883db 100644 --- a/include/linux/micrel_phy.h +++ b/include/linux/micrel_phy.h @@ -8,6 +8,8 @@ #ifndef _MICREL_PHY_H #define _MICREL_PHY_H +#define MICREL_OUI 0x0885 + #define MICREL_PHY_ID_MASK 0x00fffff0 #define PHY_ID_KSZ8873MLL 0x000e7237 |