net: phy: add RealTek RTL8211DN phy id
RTL8211DN is compatible with RTL8211E. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
118d523463
Коммит
0024f89200
|
@ -136,6 +136,19 @@ static struct phy_driver realtek_drvs[] = {
|
|||
.ack_interrupt = &rtl821x_ack_interrupt,
|
||||
.config_intr = &rtl8211b_config_intr,
|
||||
.driver = { .owner = THIS_MODULE,},
|
||||
}, {
|
||||
.phy_id = 0x001cc914,
|
||||
.name = "RTL8211DN Gigabit Ethernet",
|
||||
.phy_id_mask = 0x001fffff,
|
||||
.features = PHY_GBIT_FEATURES,
|
||||
.flags = PHY_HAS_INTERRUPT,
|
||||
.config_aneg = genphy_config_aneg,
|
||||
.read_status = genphy_read_status,
|
||||
.ack_interrupt = rtl821x_ack_interrupt,
|
||||
.config_intr = rtl8211e_config_intr,
|
||||
.suspend = genphy_suspend,
|
||||
.resume = genphy_resume,
|
||||
.driver = { .owner = THIS_MODULE,},
|
||||
}, {
|
||||
.phy_id = 0x001cc915,
|
||||
.name = "RTL8211E Gigabit Ethernet",
|
||||
|
@ -170,6 +183,7 @@ module_phy_driver(realtek_drvs);
|
|||
|
||||
static struct mdio_device_id __maybe_unused realtek_tbl[] = {
|
||||
{ 0x001cc912, 0x001fffff },
|
||||
{ 0x001cc914, 0x001fffff },
|
||||
{ 0x001cc915, 0x001fffff },
|
||||
{ 0x001cc916, 0x001fffff },
|
||||
{ }
|
||||
|
|
Загрузка…
Ссылка в новой задаче