aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/micrel_phy.h
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-06-14 06:31:21 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-14 12:54:43 -0700
commit52939393bd682248a415de4c0439280aafaccd66 (patch)
tree19f6fce2d38b301313af8c3f8a40a25525237c3f /include/linux/micrel_phy.h
parentnet: phy: micrel: use consistent alignments (diff)
downloadlinux-dev-52939393bd682248a415de4c0439280aafaccd66.tar.xz
linux-dev-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.h2
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 */