Message ID | 0c8e67ea-6505-43d1-bd51-94e7ecd6e222@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5befa3728b855e9f75b29bb0069a1ca7f5bab2f7 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: phy: realtek: add support for RTL8126A-integrated 5Gbps PHY | expand |
On Wed, Jan 31, 2024 at 09:24:29PM +0100, Heiner Kallweit wrote: > A user reported that first consumer mainboards show up with a RTL8126A > 5Gbps MAC/PHY. This adds support for the integrated PHY, which is also > available stand-alone. From a PHY driver perspective it's treated the > same as the 2.5Gbps PHY's, we just have to support the new PHY ID. > > Reported-by: Joe Salmeri <jmscdba@gmail.com> > Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Joe, can you add a Tested-by: Otherwise, this looks O.K. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
On 1/31/24 15:24, Heiner Kallweit wrote: > A user reported that first consumer mainboards show up with a RTL8126A > 5Gbps MAC/PHY. This adds support for the integrated PHY, which is also > available stand-alone. From a PHY driver perspective it's treated the > same as the 2.5Gbps PHY's, we just have to support the new PHY ID. > > Reported-by: Joe Salmeri <jmscdba@gmail.com> > Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> > --- > drivers/net/phy/realtek.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c > index 894172a3e..132784321 100644 > --- a/drivers/net/phy/realtek.c > +++ b/drivers/net/phy/realtek.c > @@ -1047,6 +1047,16 @@ static struct phy_driver realtek_drvs[] = { > .resume = rtlgen_resume, > .read_page = rtl821x_read_page, > .write_page = rtl821x_write_page, > + }, { > + PHY_ID_MATCH_EXACT(0x001cc862), > + .name = "RTL8251B 5Gbps PHY", > + .get_features = rtl822x_get_features, > + .config_aneg = rtl822x_config_aneg, > + .read_status = rtl822x_read_status, > + .suspend = genphy_suspend, > + .resume = rtlgen_resume, > + .read_page = rtl821x_read_page, > + .write_page = rtl821x_write_page, > }, { > PHY_ID_MATCH_EXACT(0x001cc961), > .name = "RTL8366RB Gigabit Ethernet", Tested-by: Joe Salmeri <jmscdba@gmail.com>
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 31 Jan 2024 21:24:29 +0100 you wrote: > A user reported that first consumer mainboards show up with a RTL8126A > 5Gbps MAC/PHY. This adds support for the integrated PHY, which is also > available stand-alone. From a PHY driver perspective it's treated the > same as the 2.5Gbps PHY's, we just have to support the new PHY ID. > > Reported-by: Joe Salmeri <jmscdba@gmail.com> > Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> > > [...] Here is the summary with links: - [net-next] net: phy: realtek: add support for RTL8126A-integrated 5Gbps PHY https://git.kernel.org/netdev/net-next/c/5befa3728b85 You are awesome, thank you!
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 894172a3e..132784321 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -1047,6 +1047,16 @@ static struct phy_driver realtek_drvs[] = { .resume = rtlgen_resume, .read_page = rtl821x_read_page, .write_page = rtl821x_write_page, + }, { + PHY_ID_MATCH_EXACT(0x001cc862), + .name = "RTL8251B 5Gbps PHY", + .get_features = rtl822x_get_features, + .config_aneg = rtl822x_config_aneg, + .read_status = rtl822x_read_status, + .suspend = genphy_suspend, + .resume = rtlgen_resume, + .read_page = rtl821x_read_page, + .write_page = rtl821x_write_page, }, { PHY_ID_MATCH_EXACT(0x001cc961), .name = "RTL8366RB Gigabit Ethernet",
A user reported that first consumer mainboards show up with a RTL8126A 5Gbps MAC/PHY. This adds support for the integrated PHY, which is also available stand-alone. From a PHY driver perspective it's treated the same as the 2.5Gbps PHY's, we just have to support the new PHY ID. Reported-by: Joe Salmeri <jmscdba@gmail.com> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> --- drivers/net/phy/realtek.c | 10 ++++++++++ 1 file changed, 10 insertions(+)