Skip to contentSkip to conversation

phylib: add the ICPlus IP175C PHY driver

PATCH In review Kim Phillips 2 participants 2 messages May 10, 2007 – May 11, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
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
index f994f12..91cf33e 100644
@@ -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
index bcd1efb..8885650 100644
@@ -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
#1 lore raw
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.

---
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