projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ca6d1b
)
drivers: net: phy: at803x: add support for AT8031
author
Mugunthan V N
<mugunthanvnm@ti.com>
Mon, 3 Jun 2013 20:10:07 +0000
(20:10 +0000)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/at803x.c
b/drivers/net/phy/at803x.c
index dda07edf417376df97ef61dbaff5374b5cc874db..1f7091b3c27ca5e972425602f7e56ce45c5d92a2 100644
(file)
--- a/
drivers/net/phy/at803x.c
+++ b/
drivers/net/phy/at803x.c
@@
-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)