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

Commit 4e4f10f6 authored by David Woodhouse's avatar David Woodhouse Committed by David S. Miller
Browse files

phylib: Add module table to all existing phy drivers

parent 8626d3b4
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -130,3 +130,11 @@ static void __exit bcm63xx_phy_exit(void)

module_init(bcm63xx_phy_init);
module_exit(bcm63xx_phy_exit);

static struct mdio_device_id bcm63xx_tbl[] = {
	{ 0x00406000, 0xfffffc00 },
	{ 0x002bdc00, 0xfffffc00 },
	{ }
};

MODULE_DEVICE_TABLE(mdio, bcm64xx_tbl);
+16 −0
Original line number Diff line number Diff line
@@ -908,3 +908,19 @@ static void __exit broadcom_exit(void)

module_init(broadcom_init);
module_exit(broadcom_exit);

static struct mdio_device_id broadcom_tbl[] = {
	{ 0x00206070, 0xfffffff0 },
	{ 0x002060e0, 0xfffffff0 },
	{ 0x002060c0, 0xfffffff0 },
	{ 0x002060b0, 0xfffffff0 },
	{ 0x0143bca0, 0xfffffff0 },
	{ 0x0143bcb0, 0xfffffff0 },
	{ PHY_ID_BCM50610, 0xfffffff0 },
	{ PHY_ID_BCM50610M, 0xfffffff0 },
	{ PHY_ID_BCM57780, 0xfffffff0 },
	{ PHY_ID_BCMAC131, 0xfffffff0 },
	{ }
};

MODULE_DEVICE_TABLE(mdio, broadcom_tbl);
+8 −0
Original line number Diff line number Diff line
@@ -159,3 +159,11 @@ static void __exit cicada_exit(void)

module_init(cicada_init);
module_exit(cicada_exit);

static struct mdio_device_id cicada_tbl[] = {
	{ 0x000fc410, 0x000ffff0 },
	{ 0x000fc440, 0x000fffc0 },
	{ }
};

MODULE_DEVICE_TABLE(mdio, cicada_tbl);
+9 −0
Original line number Diff line number Diff line
@@ -219,3 +219,12 @@ static void __exit davicom_exit(void)

module_init(davicom_init);
module_exit(davicom_exit);

static struct mdio_device_id davicom_tbl[] = {
	{ 0x0181b880, 0x0ffffff0 },
	{ 0x0181b8a0, 0x0ffffff0 },
	{ 0x00181b80, 0x0ffffff0 },
	{ }
};

MODULE_DEVICE_TABLE(mdio, davicom_tbl);
+7 −0
Original line number Diff line number Diff line
@@ -111,3 +111,10 @@ static void __exit et1011c_exit(void)

module_init(et1011c_init);
module_exit(et1011c_exit);

static struct mdio_device_id et1011c_tbl[] = {
	{ 0x0282f014, 0xfffffff0 },
	{ }
};

MODULE_DEVICE_TABLE(mdio, et1011c_tbl);
Loading