[U-Boot] phylib: add atheros ar803x phy

Heiko Schocher hs at denx.de
Tue Jun 4 10:58:00 CEST 2013


add atheros ar803x phy, used on the upcoming siemens boards.

Signed-off-by: Heiko Schocher <hs at denx.de>
Cc: Andy Fleming <afleming at freescale.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
---
 drivers/net/phy/atheros.c | 11 +++++++++++
 1 Datei geändert, 11 Zeilen hinzugefügt(+)

diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index 9b3808b..297e671 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -40,9 +40,20 @@ static struct phy_driver AR8021_driver =  {
 	.shutdown = genphy_shutdown,
 };
 
+static struct phy_driver AR8031_driver =  {
+	.name = "AR8031",
+	.uid = 0x4dd074,
+	.mask = 0xfffff0,
+	.features = PHY_GBIT_FEATURES,
+	.config = genphy_config,
+	.startup = genphy_startup,
+	.shutdown = genphy_shutdown,
+};
+
 int phy_atheros_init(void)
 {
 	phy_register(&AR8021_driver);
+	phy_register(&AR8031_driver);
 
 	return 0;
 }
-- 
1.7.11.7



More information about the U-Boot mailing list