phylib: add the ICPlus IP175C PHY driver
Subsystems (3)
PATCH v2 2/6 phylib: add the ICPlus IP175C PHY driver
From: Michael Barkowski <[email protected]>
The ICPlus IP175C sports a 100Mbit/s 4-port switch in addition to a dedicated 100Mbit/s WAN port.
Signed-off-by Michael Barkowski <[email protected]>
Signed-off-by Kim Phillips <[email protected]>
---
v2: adjusted to read PHY reset register before performing prescribed delay, to account for bus delays; udelay -> mdelay; plus fixed codingstyle issues.
drivers/net/phy/Kconfig | 6 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/icplus.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+), 0 deletions(-) create mode 100644 drivers/net/phy/icplus.c
drivers/net/phy/Kconfig +6 -0
@@ -62,6 +62,12 @@ config BROADCOM_PHY ---help--- Currently supports the BCM5411, BCM5421 and BCM5461 PHYs. +config ICPLUS_PHY + tristate "Drivers for ICPlus PHYs" + depends on PHYLIB + ---help--- + Currently supports the IP175C PHY. + config FIXED_PHY tristate "Drivers for PHY emulation on fixed speed/link" depends on PHYLIB
drivers/net/phy/Makefile +1 -0
@@ -11,4 +11,5 @@ obj-$(CONFIG_QSEMI_PHY) += qsemi.o obj-$(CONFIG_SMSC_PHY) += smsc.o obj-$(CONFIG_VITESSE_PHY) += vitesse.o obj-$(CONFIG_BROADCOM_PHY) += broadcom.o +obj-$(CONFIG_ICPLUS_PHY) += icplus.o obj-$(CONFIG_FIXED_PHY) += fixed.o
drivers/net/phy/icplus.c new file +134 -0
134 lines not on this page · raw message
Signature · 1 line
1.5.0.3
Quoted 11 lines · Kim Phillips
From: Michael Barkowski <[email protected]>
The ICPlus IP175C sports a 100Mbit/s 4-port switch in addition to a dedicated 100Mbit/s WAN port.
Signed-off-by Michael Barkowski <[email protected]>Signed-off-by Kim Phillips <[email protected]>---
v2: adjusted to read PHY reset register before performing prescribed delay, to account for bus delays; udelay -> mdelay; plus fixed codingstyle issues.
Quoted 5 lines
drivers/net/phy/Kconfig | 6 ++ drivers/net/phy/Makefile | 1 + drivers/net/phy/icplus.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+), 0 deletions(-) create mode 100644 drivers/net/phy/icplus.c
ACK but failed to apply