Added Ethernet PHY support for the Realtek 821x
Subsystems (4)
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.
Signed-off-by Johnson Leung <[email protected]>
Signed-off-by Kevin Lam <[email protected]>
Signed-off-by Joe D'Abbraccio <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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