Skip to contentSkip to conversation

phylib: add atheros ar803x phy

U-Boot Applied Heiko Schocher 2 participants 2 messages Jun 4, 2013 – Jul 8, 2013

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

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

Cc Andy Fleming <[email protected]>
Cc Joe Hershberger <[email protected]>
---
 drivers/net/phy/atheros.c | 11 +++++++++++

1 Datei ge?ndert, 11 Zeilen hinzugef?gt(+)

drivers/net/phy/atheros.c +11 -0
index 9b3808b..297e671 100644
@@ -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;
 }
Signature · 1 line
1.7.11.7