Skip to content

Commit 0024f89

Browse files
Shaohui Xiedavem330
authored andcommitted
net: phy: add RealTek RTL8211DN phy id
RTL8211DN is compatible with RTL8211E. Signed-off-by: Shaohui Xie <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 118d523 commit 0024f89

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

drivers/net/phy/realtek.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,19 @@ static struct phy_driver realtek_drvs[] = {
136136
.ack_interrupt = &rtl821x_ack_interrupt,
137137
.config_intr = &rtl8211b_config_intr,
138138
.driver = { .owner = THIS_MODULE,},
139+
}, {
140+
.phy_id = 0x001cc914,
141+
.name = "RTL8211DN Gigabit Ethernet",
142+
.phy_id_mask = 0x001fffff,
143+
.features = PHY_GBIT_FEATURES,
144+
.flags = PHY_HAS_INTERRUPT,
145+
.config_aneg = genphy_config_aneg,
146+
.read_status = genphy_read_status,
147+
.ack_interrupt = rtl821x_ack_interrupt,
148+
.config_intr = rtl8211e_config_intr,
149+
.suspend = genphy_suspend,
150+
.resume = genphy_resume,
151+
.driver = { .owner = THIS_MODULE,},
139152
}, {
140153
.phy_id = 0x001cc915,
141154
.name = "RTL8211E Gigabit Ethernet",
@@ -170,6 +183,7 @@ module_phy_driver(realtek_drvs);
170183

171184
static struct mdio_device_id __maybe_unused realtek_tbl[] = {
172185
{ 0x001cc912, 0x001fffff },
186+
{ 0x001cc914, 0x001fffff },
173187
{ 0x001cc915, 0x001fffff },
174188
{ 0x001cc916, 0x001fffff },
175189
{ }

0 commit comments

Comments
 (0)