]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drivers: net: phy: at803x: add support for AT8031
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 3 Jun 2013 20:10:07 +0000 (20:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2013 21:17:22 +0000 (14:17 -0700)
This patch adds support for Atheros 8031 phy driver.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c

index dda07edf417376df97ef61dbaff5374b5cc874db..1f7091b3c27ca5e972425602f7e56ce45c5d92a2 100644 (file)
@@ -183,6 +183,21 @@ static struct phy_driver at803x_driver[] = {
        .driver         = {
                .owner = THIS_MODULE,
        },
+}, {
+       /* ATHEROS 8031 */
+       .phy_id         = 0x004dd074,
+       .name           = "Atheros 8031 ethernet",
+       .phy_id_mask    = 0xffffffef,
+       .config_init    = at803x_config_init,
+       .set_wol        = at803x_set_wol,
+       .get_wol        = at803x_get_wol,
+       .features       = PHY_GBIT_FEATURES,
+       .flags          = PHY_HAS_INTERRUPT,
+       .config_aneg    = &genphy_config_aneg,
+       .read_status    = &genphy_read_status,
+       .driver         = {
+               .owner = THIS_MODULE,
+       },
 } };
 
 static int __init atheros_init(void)