aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorAbbie Chang <abbie.chang@cortina-access.com>2021-01-14 13:34:12 -0800
committerTom Rini <trini@konsulko.com>2021-01-27 10:47:47 -0500
commita70d7b0192333133f8525305cce40f3d30e4281d (patch)
tree7ee5bda74e28c5a0071d804b34d341dc4a9424ad /drivers/net/phy/phy.c
parentfebe13b438b3b02f0629f91f36928f3f300c7372 (diff)
net: phy: ca_phy: Add driver for CAxxxx SoCs
Add phy driver support for MACs embedded inside Cortina Access SoCs Signed-off-by: Abbie Chang <abbie.chang@cortina-access.com> Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com> CC: Joe Hershberger <joe.hershberger@ni.com> CC: Tom Rini <trini@konsulko.com> CC: Aaron Tseng <aaron.tseng@cortina-access.com> Moved out PHY specific code out of Cortina NI Ethernet driver and into a Cortina Access PHY interface driver
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 9587e6b9fa..662ea2b98c 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -500,6 +500,9 @@ int phy_init(void)
#ifdef CONFIG_PHY_CORTINA
phy_cortina_init();
#endif
+#ifdef CONFIG_PHY_CORTINA_ACCESS
+ phy_cortina_access_init();
+#endif
#ifdef CONFIG_PHY_DAVICOM
phy_davicom_init();
#endif