]> git.sur5r.net Git - u-boot/commitdiff
phy: Add support for Marvell 88E1118R
authorMichal Simek <monstr@monstr.eu>
Tue, 7 Aug 2012 02:23:07 +0000 (02:23 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Sat, 15 Dec 2012 18:28:22 +0000 (12:28 -0600)
Marvell 88E1118R has different uid then 88E1118.

Signed-off-by: Michal Simek <monstr@monstr.eu>
CC: Andy Fleming <afleming@freescale.com>
CC: Zang Roy-R61911 <tie-fei.zang@freescale.com>
CC: Kumar Gala <galak@kernel.crashing.org>
drivers/net/phy/marvell.c

index e51e799e2933803ddc73401e6400b9db8a2d0b78..4b271989acbbaf5dbc8c4333e705f29ab0f9d642 100644 (file)
@@ -425,6 +425,16 @@ static struct phy_driver M88E1118_driver = {
        .shutdown = &genphy_shutdown,
 };
 
+static struct phy_driver M88E1118R_driver = {
+       .name = "Marvell 88E1118R",
+       .uid = 0x1410e40,
+       .mask = 0xffffff0,
+       .features = PHY_GBIT_FEATURES,
+       .config = &m88e1118_config,
+       .startup = &m88e1118_startup,
+       .shutdown = &genphy_shutdown,
+};
+
 static struct phy_driver M88E1121R_driver = {
        .name = "Marvell 88E1121R",
        .uid = 0x1410cb0,
@@ -461,6 +471,7 @@ int phy_marvell_init(void)
        phy_register(&M88E1145_driver);
        phy_register(&M88E1121R_driver);
        phy_register(&M88E1118_driver);
+       phy_register(&M88E1118R_driver);
        phy_register(&M88E1111S_driver);
        phy_register(&M88E1011S_driver);