Skip to contentSkip to conversation

Added Ethernet PHY support for the Realtek 821x

PATCH New [email protected] 1 participant 1 message Sep 27, 2007

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

PATCH 1/1 Added Ethernet PHY support for the Realtek 821x

From: Joe D'Abbraccio <[email protected]>

The MPC837xERDB platform uses the RTL8211B Ethernet PHY on the WAN port (on eth0). Also added the kernel configuration options for selecting the PHY.

---
 arch/powerpc/configs/mpc837x_rdb_defconfig |    1 +
 drivers/net/phy/Kconfig                    |    5 ++
 drivers/net/phy/Makefile                   |    1 +
 drivers/net/phy/realtek.c                  |   84 ++++++++++++++++++++++++++++
 4 files changed, 91 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/phy/realtek.c
arch/powerpc/configs/mpc837x_rdb_defconfig +1 -0
index e398e9f..9837493 100644
@@ -411,6 +411,7 @@ CONFIG_MARVELL_PHY=y
 # CONFIG_SMSC_PHY is not set
 # CONFIG_BROADCOM_PHY is not set
 # CONFIG_ICPLUS_PHY is not set
+CONFIG_REALTEK_PHY=y
 # CONFIG_FIXED_PHY is not set
 CONFIG_NET_ETHERNET=y
 CONFIG_MII=y
drivers/net/phy/Kconfig +5 -0
index dd09011..9ce95c9 100644
@@ -60,6 +60,11 @@ config ICPLUS_PHY
 	---help---
 	  Currently supports the IP175C PHY.
 
+config REALTEK_PHY
+	tristate "Drivers for Realtek PHYs"
+	---help---
+	  Supports the Realtek 821x PHY.
+
 config FIXED_PHY
 	tristate "Drivers for PHY emulation on fixed speed/link"
 	---help---
drivers/net/phy/Makefile +1 -0
index 8885650..d7bfa4e 100644
@@ -12,4 +12,5 @@ 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_REALTEK_PHY)	+= realtek.o
 obj-$(CONFIG_FIXED_PHY)		+= fixed.o
drivers/net/phy/realtek.c new file +84 -0

84 lines not on this page · raw message

Signature · 1 line
1.5.2.2