Re: [RFC PATCH net-next 6/7] net: ethtool: add a netlink command to get PHY information

From
Russell King (Oracle) <linux@armlinux.org.uk>
Date
2023-09-07 16:07:15
Also in
lkml
Reply to
Maxime Chevallier, 2023-09-07
On Thu, Sep 07, 2023 at 11:24:04AM +0200, Maxime Chevallier wrote:
quoted hunk ↗ jump to hunk
+	data->phyindex = req_info->phyindex;
+	data->drvname = phydev->drv->name;
+	if (phydev->is_on_sfp_module)
Please use the accessor provided:

	if (phy_on_sfp(phydev))

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Thread (35 messages) 35 messages, 6 authors, last reply 2023-10-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help