summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Nyekjaer <sean.nyekjaer@prevas.dk>2017-01-27 10:46:23 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-27 19:10:50 +0300
commit9d162ed69f51cbd9ee5a0c7e82aba7acc96362ff (patch)
tree74742b23fbdd09ac31679dffc82290a5293b226f /include
parent95120ebf647180fbcfba3172677f18116f9231d5 (diff)
downloadlinux-9d162ed69f51cbd9ee5a0c7e82aba7acc96362ff.tar.xz
net: phy: micrel: add support for KSZ8795
This is adds support for the PHYs in the KSZ8795 5port managed switch. It will allow to detect the link between the switch and the soc and uses the same read_status functions as the KSZ8873MLL switch. Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 257173e0095e..f541da68d1e7 100644
--- a/include/linux/micrel_phy.h
+++ b/include/linux/micrel_phy.h
@@ -35,6 +35,8 @@
#define PHY_ID_KSZ886X 0x00221430
#define PHY_ID_KSZ8863 0x00221435
+#define PHY_ID_KSZ8795 0x00221550
+
/* struct phy_device dev_flags definitions */
#define MICREL_PHY_50MHZ_CLK 0x00000001
#define MICREL_PHY_FXEN 0x00000002