summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/atheros.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-06-04 10:58:00 +0200
committerJoe Hershberger <joe.hershberger@ni.com>2013-06-24 19:11:17 -0500
commit433a2c5325b982b49b099e526d373d07d0cc5e97 (patch)
tree5cca6e24802afb7a9f7a8ce978e5a6e4847d12c7 /drivers/net/phy/atheros.c
parent96d0b9e100cbe724d70e0aba18ad566542cc3e2e (diff)
downloadtalos-obmc-uboot-433a2c5325b982b49b099e526d373d07d0cc5e97.tar.gz
talos-obmc-uboot-433a2c5325b982b49b099e526d373d07d0cc5e97.zip
phylib: add atheros ar803x phy
add atheros ar803x phy, used on the upcoming siemens boards. Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Andy Fleming <afleming@freescale.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers/net/phy/atheros.c')
-rw-r--r--drivers/net/phy/atheros.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c
index 4691f8570f..09d487971f 100644
--- a/drivers/net/phy/atheros.c
+++ b/drivers/net/phy/atheros.c
@@ -61,7 +61,17 @@ static struct phy_driver AR8021_driver = {
.shutdown = genphy_shutdown,
};
-struct phy_driver AR8035_driver = {
+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,
+};
+
+static struct phy_driver AR8035_driver = {
.name = "AR8035",
.uid = 0x4dd072,
.mask = 0x4fffff,
@@ -74,6 +84,7 @@ struct phy_driver AR8035_driver = {
int phy_atheros_init(void)
{
phy_register(&AR8021_driver);
+ phy_register(&AR8031_driver);
phy_register(&AR8035_driver);
return 0;
OpenPOWER on IntegriCloud