Commit ca33db4a authored by Parthiban Veerasooran's avatar Parthiban Veerasooran Committed by Paolo Abeni
Browse files

net: phy: microchip_t1s: modify driver description to be more generic



Remove LAN867X from the driver description as this driver is common for
all the Microchip 10BASE-T1S PHYs.

Reviewed-by: default avatarRamón Nordin Rodriguez <ramon.nordin.rodriguez@ferroamp.se>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarParthiban Veerasooran <Parthiban.Veerasooran@microchip.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 7fa28bc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -243,7 +243,7 @@ config MICREL_PHY
	  Supports the KSZ9021, VSC8201, KS8001 PHYs.
	  Supports the KSZ9021, VSC8201, KS8001 PHYs.


config MICROCHIP_T1S_PHY
config MICROCHIP_T1S_PHY
	tristate "Microchip 10BASE-T1S Ethernet PHY"
	tristate "Microchip 10BASE-T1S Ethernet PHYs"
	help
	help
	  Currently supports the LAN8670, LAN8671, LAN8672
	  Currently supports the LAN8670, LAN8671, LAN8672


+4 −4
Original line number Original line Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0+
// SPDX-License-Identifier: GPL-2.0+
/*
/*
 * Driver for Microchip 10BASE-T1S LAN867X PHY
 * Driver for Microchip 10BASE-T1S PHYs
 *
 *
 * Support: Microchip Phys:
 * Support: Microchip Phys:
 *  lan8670, lan8671, lan8672
 *  lan8670, lan8671, lan8672
@@ -111,7 +111,7 @@ static int lan867x_read_status(struct phy_device *phydev)
	return 0;
	return 0;
}
}


static struct phy_driver lan867x_driver[] = {
static struct phy_driver microchip_t1s_driver[] = {
	{
	{
		PHY_ID_MATCH_MODEL(PHY_ID_LAN867X),
		PHY_ID_MATCH_MODEL(PHY_ID_LAN867X),
		.name               = "LAN867X",
		.name               = "LAN867X",
@@ -124,7 +124,7 @@ static struct phy_driver lan867x_driver[] = {
	}
	}
};
};


module_phy_driver(lan867x_driver);
module_phy_driver(microchip_t1s_driver);


static struct mdio_device_id __maybe_unused tbl[] = {
static struct mdio_device_id __maybe_unused tbl[] = {
	{ PHY_ID_MATCH_MODEL(PHY_ID_LAN867X) },
	{ PHY_ID_MATCH_MODEL(PHY_ID_LAN867X) },
@@ -133,6 +133,6 @@ static struct mdio_device_id __maybe_unused tbl[] = {


MODULE_DEVICE_TABLE(mdio, tbl);
MODULE_DEVICE_TABLE(mdio, tbl);


MODULE_DESCRIPTION("Microchip 10BASE-T1S lan867x Phy driver");
MODULE_DESCRIPTION("Microchip 10BASE-T1S PHYs driver");
MODULE_AUTHOR("Ramón Nordin Rodriguez");
MODULE_AUTHOR("Ramón Nordin Rodriguez");
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL");