Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ethan Nelson-Moore and committed by
Paolo Abeni
bf4172bd 7b8e9264

+5
+5
drivers/net/usb/sr9700.c
··· 539 539 USB_DEVICE(0x0fe6, 0x9700), /* SR9700 device */ 540 540 .driver_info = (unsigned long)&sr9700_driver_info, 541 541 }, 542 + { 543 + /* SR9700 with virtual driver CD-ROM - interface 0 is the CD-ROM device */ 544 + USB_DEVICE_INTERFACE_NUMBER(0x0fe6, 0x9702, 1), 545 + .driver_info = (unsigned long)&sr9700_driver_info, 546 + }, 542 547 {}, /* END */ 543 548 }; 544 549