]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: usb: sr9700: support devices with virtual driver CD
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Thu, 11 Dec 2025 06:24:51 +0000 (22:24 -0800)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 22 Dec 2025 11:03:36 +0000 (12:03 +0100)
commitbf4172bd870c3a34d3065cbb39192c22cbd7b18d
treebc58ec977d2bae32447e20ed9b72d0b33c4f7ccf
parent7b8e9264f55a9c320f398e337d215e68cca50131
net: usb: sr9700: support devices with virtual driver CD

Some SR9700 devices have an SPI flash chip containing a virtual driver
CD, in which case they appear as a device with two interfaces and
product ID 0x9702. Interface 0 is the driver CD and interface 1 is the
Ethernet device.

Link: https://github.com/name-kurniawan/usb-lan
Link: https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=2185
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Link: https://patch.msgid.link/20251211062451.139036-1-enelsonmoore@gmail.com
[pabeni@redhat.com: fixes link tags]
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/usb/sr9700.c