diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2021-06-14 06:31:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-14 12:54:43 -0700 |
commit | 52939393bd682248a415de4c0439280aafaccd66 (patch) | |
tree | 19f6fce2d38b301313af8c3f8a40a25525237c3f /include/linux/micrel_phy.h | |
parent | 0033f890f95ba52dd7bf154d62aa9a5317456401 (diff) | |
download | linux-52939393bd682248a415de4c0439280aafaccd66.tar.gz linux-52939393bd682248a415de4c0439280aafaccd66.tar.bz2 linux-52939393bd682248a415de4c0439280aafaccd66.zip |
net: phy/dsa micrel/ksz886x add MDI-X support
Add support for MDI-X status and configuration
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/micrel_phy.h')
-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 b03e2afcb53f..58370abd9f4f 100644 --- a/include/linux/micrel_phy.h +++ b/include/linux/micrel_phy.h @@ -58,4 +58,6 @@ #define KSZ886X_BMCR_DISABLE_TRANSMIT BIT(1) #define KSZ886X_BMCR_DISABLE_LED BIT(0) +#define KSZ886X_CTRL_MDIX_STAT BIT(4) + #endif /* _MICREL_PHY_H */ |