mirror-linux/drivers/net/usb
David Ober f01cdcf891 net: usb: r8152: Add in new Devices that are supported for Mac-Passthru
Lenovo Thunderbolt 4 Dock, and other Lenovo USB Docks are using the
original Realtek USB ethernet Vendor and Product IDs
If the Network device is Realtek verify that it is on a Lenovo USB hub
before enabling the passthru feature

This also adds in the device IDs for the Lenovo USB Dongle and one other
USB-C dock

V2 fix formating of code
V3 remove Generic define for Device ID 0x8153 and change it to use value
V4 rearrange defines and case statement to put them in better order
v5 create helper function to do the testing work as suggested

Signed-off-by: David Ober <dober6023@gmail.com>
Link: https://lore.kernel.org/r/20220517180539.25839-1-dober6023@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-19 17:21:24 -07:00
..
Kconfig net: usb: smsc95xx: add generic selftest support 2022-02-09 13:28:22 +00:00
Makefile
aqc111.c net: make drivers set the TSO limit not the GSO limit 2022-05-06 12:07:56 +01:00
aqc111.h
asix.h net: usb: asix: suspend embedded PHY if external is used 2022-03-12 11:50:56 +00:00
asix_common.c net: asix: remove code duplicates in asix_mdio_read/write and asix_mdio_read/write_nopm 2022-02-24 21:21:30 -08:00
asix_devices.c usbnet: Run unregister_netdev() before unbind() again 2022-05-13 11:35:46 +01:00
ax88172a.c
ax88179_178a.c net: make drivers set the TSO limit not the GSO limit 2022-05-06 12:07:56 +01:00
catc.c usbb: catc: use correct API for MAC addresses 2021-10-25 15:34:02 +01:00
cdc-phonet.c
cdc_eem.c
cdc_ether.c cdc_ether: export usbnet_cdc_zte_rx_fixup 2022-04-14 15:08:12 +02:00
cdc_mbim.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-02-17 11:44:20 -08:00
cdc_ncm.c net: cdc-ncm: Move spin_lock_bh() to spin_lock() 2022-04-22 10:22:16 +01:00
cdc_subset.c
ch9200.c net: usb: don't write directly to netdev->dev_addr 2021-10-22 10:16:01 -07:00
cx82310_eth.c net: usb: don't write directly to netdev->dev_addr 2021-10-22 10:16:01 -07:00
dm9601.c
gl620a.c usbnet: gl620a: Replace one-element array with flexible-array member 2022-02-22 17:00:54 -08:00
hso.c net: hso: Use GFP_KERNEL instead of GFP_ATOMIC when possible 2022-02-15 14:34:29 +00:00
huawei_cdc_ncm.c
int51x1.c
ipheth.c ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback 2022-02-01 20:25:38 -08:00
kalmia.c
kaweth.c net: usb: don't write directly to netdev->dev_addr 2021-10-22 10:16:01 -07:00
lan78xx.c net: make drivers set the TSO limit not the GSO limit 2022-05-06 12:07:56 +01:00
lan78xx.h
lg-vl600.c
mcs7830.c net: mcs7830: handle usb read errors properly 2022-01-09 16:35:50 -08:00
net1080.c
pegasus.c net: usb: pegasus: Do not drop long Ethernet frames 2021-12-27 14:52:06 +00:00
pegasus.h
plusb.c
qmi_wwan.c net: usb: qmi_wwan: add support for Sierra Wireless EM7590 2022-04-26 11:32:35 +02:00
r8152.c net: usb: r8152: Add in new Devices that are supported for Mac-Passthru 2022-05-19 17:21:24 -07:00
r8153_ecm.c
rndis_host.c rndis_host: limit scope of bogus MAC address detection to ZTE devices 2022-04-14 15:08:12 +02:00
rtl8150.c
sierra_net.c net: usb: don't write directly to netdev->dev_addr 2021-10-22 10:16:01 -07:00
smsc75xx.c
smsc75xx.h
smsc95xx.c usbnet: smsc95xx: Forward PHY interrupts to PHY driver to avoid polling 2022-05-13 11:35:46 +01:00
smsc95xx.h
sr9700.c sr9700: sanity check for packet length 2022-02-18 11:05:08 +00:00
sr9700.h
sr9800.c net: usb: don't write directly to netdev->dev_addr 2021-10-22 10:16:01 -07:00
sr9800.h USB2NET : SR9800 : change SR9800_BULKIN_SIZE from global to static 2022-04-22 12:43:35 +01:00
usbnet.c usbnet: Run unregister_netdev() before unbind() again 2022-05-13 11:35:46 +01:00
zaurus.c USB: zaurus: support another broken Zaurus 2022-02-14 14:37:15 +00:00