Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0024f892 authored by Shaohui Xie's avatar Shaohui Xie Committed by David S. Miller
Browse files

net: phy: add RealTek RTL8211DN phy id



RTL8211DN is compatible with RTL8211E.

Signed-off-by: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 118d5234
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
@@ -136,6 +136,19 @@ static struct phy_driver realtek_drvs[] = {
		.ack_interrupt	= &rtl821x_ack_interrupt,
		.ack_interrupt	= &rtl821x_ack_interrupt,
		.config_intr	= &rtl8211b_config_intr,
		.config_intr	= &rtl8211b_config_intr,
		.driver		= { .owner = THIS_MODULE,},
		.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,
		.phy_id		= 0x001cc915,
		.name		= "RTL8211E Gigabit Ethernet",
		.name		= "RTL8211E Gigabit Ethernet",
@@ -170,6 +183,7 @@ module_phy_driver(realtek_drvs);


static struct mdio_device_id __maybe_unused realtek_tbl[] = {
static struct mdio_device_id __maybe_unused realtek_tbl[] = {
	{ 0x001cc912, 0x001fffff },
	{ 0x001cc912, 0x001fffff },
	{ 0x001cc914, 0x001fffff },
	{ 0x001cc915, 0x001fffff },
	{ 0x001cc915, 0x001fffff },
	{ 0x001cc916, 0x001fffff },
	{ 0x001cc916, 0x001fffff },
	{ }
	{ }