Thread (14 messages) 14 messages, 5 authors, 2025-07-25

Re: [PATCH v2] usbnet: Set duplex status to unknown in the absence of MII

From: Oliver Neukum <oneukum@suse.com>
Date: 2025-07-24 09:04:01
Also in: linux-usb

On 24.07.25 03:31, yicongsrfy@163.com wrote:
From: Yi Cong <redacted>

Currently, USB CDC devices that do not use MDIO to get link status have
their duplex mode set to half-duplex by default. However, since the CDC
specification does not define a duplex status, this can be misleading.

This patch changes the default to DUPLEX_UNKNOWN in the absence of MII,
which more accurately reflects the state of the link and avoids implying
an incorrect or error state.

v2: rewrote commmit messages and code comments

Link: https://lore.kernel.org/all/20250723152151.70a8034b@kernel.org/ (local)
Signed-off-by: Yi Cong <redacted>
Acked-by: Oliver Neukum <oneukum@suse.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help