Commit 1d951ba3 authored by Marek Vasut's avatar Marek Vasut Committed by David S. Miller

net: phy: micrel: Update KSZ87xx PHY name

The KSZ8795 PHY ID is in fact used by KSZ8794/KSZ8795/KSZ8765 switches.
Update the PHY ID and name to reflect that, as this family of switches
is commonly refered to as KSZ87xx
Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: David S. Miller <davem@davemloft.net>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: George McCollister <george.mccollister@gmail.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b95599c
...@@ -395,7 +395,7 @@ static int ksz8061_config_init(struct phy_device *phydev) ...@@ -395,7 +395,7 @@ static int ksz8061_config_init(struct phy_device *phydev)
static int ksz8795_match_phy_device(struct phy_device *phydev) static int ksz8795_match_phy_device(struct phy_device *phydev)
{ {
return ksz8051_ksz8795_match_phy_device(phydev, PHY_ID_KSZ8795); return ksz8051_ksz8795_match_phy_device(phydev, PHY_ID_KSZ87XX);
} }
static int ksz9021_load_values_from_of(struct phy_device *phydev, static int ksz9021_load_values_from_of(struct phy_device *phydev,
...@@ -1174,7 +1174,7 @@ static struct phy_driver ksphy_driver[] = { ...@@ -1174,7 +1174,7 @@ static struct phy_driver ksphy_driver[] = {
.suspend = genphy_suspend, .suspend = genphy_suspend,
.resume = genphy_resume, .resume = genphy_resume,
}, { }, {
.name = "Micrel KSZ8795", .name = "Micrel KSZ87XX Switch",
/* PHY_BASIC_FEATURES */ /* PHY_BASIC_FEATURES */
.config_init = kszphy_config_init, .config_init = kszphy_config_init,
.config_aneg = ksz8873mll_config_aneg, .config_aneg = ksz8873mll_config_aneg,
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#define PHY_ID_KSZ886X 0x00221430 #define PHY_ID_KSZ886X 0x00221430
#define PHY_ID_KSZ8863 0x00221435 #define PHY_ID_KSZ8863 0x00221435
#define PHY_ID_KSZ8795 0x00221550 #define PHY_ID_KSZ87XX 0x00221550
#define PHY_ID_KSZ9477 0x00221631 #define PHY_ID_KSZ9477 0x00221631
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment