Thread (34 messages) 34 messages, 2 authors, 5d ago

Re: [PATCH net-next v3 05/13] ax88179_178a: Use phylink in get/set_link_ksettings

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-07-24 13:38:56
Also in: linux-usb, lkml

On Fri, Jul 24, 2026 at 09:36:48AM +0200, Birger Koblitz wrote:
quoted hunk ↗ jump to hunk
The PHYs in the AX179A-based USB-Ethernet controllers can be configured
via phylink. Use this for link configuration.

Signed-off-by: Birger Koblitz <redacted>
---
 drivers/net/usb/ax88179_178a.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c
index 2e2f96a97b8398ece7d70cf349c7db973959629f..136d1d39bf78658758d35372d4a9486e21befd87 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -967,9 +967,15 @@ ax88179_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom,
 }
 
 static int ax88179_get_link_ksettings(struct net_device *net,
-				      struct ethtool_link_ksettings *cmd)
+				       struct ethtool_link_ksettings *cmd)
 {
 	struct usbnet *dev = netdev_priv(net);
+	struct ax88179_data *data;
+
+	data = dev->driver_priv;
+
+	if (data->phylink)
When did this appear? Am i missing a patch somewhere?

     Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help