[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7d2d0313-4e20-4c3d-bd2a-5160465d4fa2@lunn.ch>
Date: Wed, 23 Jul 2025 15:04:02 +0200
From: Andrew Lunn <andrew@...n.ch>
To: yicongsrfy@....com
Cc: oneukum@...e.com, andrew+netdev@...n.ch, davem@...emloft.net,
linux-usb@...r.kernel.org, netdev@...r.kernel.org,
yicong@...inos.cn
Subject: Re: [PATCH] usbnet: Set duplex status to unknown in the absence of
MII
> Coming back to the issue described in this patch,
> usbnet_get_link_ksettings_internal is currently only used in
> cdc_ether.c and cdc_ncm.c as a callback for ethtool.
> Can we assume that this part only concerns Ethernet devices
> (and that, at least for now, none of the existing devices can
> retrieve the duplex status through this interface)?
"ethtool" can be used with any sort of interface, if the driver
implements the op. So you should not assume it is only used for
Ethernet.
Andrew
Powered by blists - more mailing lists