summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-10-05 05:29:34 +0000
committerjsg <jsg@openbsd.org>2020-10-05 05:29:34 +0000
commit11bacf6997c97fe5ce23045fd749674b122bd6ab (patch)
tree0c828d8aed936930df475a1342fed3166bf4e4bb
parentregen (diff)
downloadwireguard-openbsd-11bacf6997c97fe5ce23045fd749674b122bd6ab.tar.xz
wireguard-openbsd-11bacf6997c97fe5ce23045fd749674b122bd6ab.zip
add more ure(4) ids
found in lenovo version of realtek windows driver and linux ok kevlo@
-rw-r--r--sys/dev/usb/if_ure.c59
1 files changed, 56 insertions, 3 deletions
diff --git a/sys/dev/usb/if_ure.c b/sys/dev/usb/if_ure.c
index fc9e0b338c6..db8b733aa6f 100644
--- a/sys/dev/usb/if_ure.c
+++ b/sys/dev/usb/if_ure.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ure.c,v 1.19 2020/09/29 01:44:40 kevlo Exp $ */
+/* $OpenBSD: if_ure.c,v 1.20 2020/10/05 05:29:34 jsg Exp $ */
/*-
* Copyright (c) 2015, 2016, 2019 Kevin Lo <kevlo@openbsd.org>
* Copyright (c) 2020 Jonathon Fletcher <jonathon.fletcher@gmail.com>
@@ -72,12 +72,65 @@ int uredebug = 0;
#endif
const struct usb_devno ure_devs[] = {
- { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_ONELINKPLUS },
+ { USB_VENDOR_ASUS, USB_PRODUCT_ASUS_RTL8156 },
+ { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_RTL8152B },
+ { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_RTL8153 },
+ { USB_VENDOR_CISCOLINKSYS, USB_PRODUCT_CISCOLINKSYS_USB3GIGV1 },
+ { USB_VENDOR_CLEVO, USB_PRODUCT_CLEVO_RTL8153B },
+ { USB_VENDOR_CLUB3D, USB_PRODUCT_CLUB3D_RTL8153 },
+ { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_RTL8153_1 },
+ { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_RTL8153_2 },
+ { USB_VENDOR_DYNABOOK, USB_PRODUCT_DYNABOOK_RTL8153B_1 },
+ { USB_VENDOR_DYNABOOK, USB_PRODUCT_DYNABOOK_RTL8153B_2 },
+ { USB_VENDOR_ELECOM, USB_PRODUCT_ELECOM_RTL8153B },
+ { USB_VENDOR_ELECOM, USB_PRODUCT_ELECOM_RTL8156B },
+ { USB_VENDOR_IOI, USB_PRODUCT_IOI_RTL8153 },
{ USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_DOCK_ETHERNET },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_ONELINK },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_ONELINKPLUS },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_ONELINKPRO },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_1 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_2 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_3 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_4 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_5 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_6 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_7 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_8 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_9 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153B_10 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153_1 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153_2 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_RTL8153_3 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_TABLETDOCK },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_TB3DOCK },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_TB3DOCKGEN2 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_TB3GFXDOCK },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_USBCDOCKGEN2 },
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_WIGIGDOCK },
+ { USB_VENDOR_LG, USB_PRODUCT_LG_RTL8153 },
+ { USB_VENDOR_LG, USB_PRODUCT_LG_RTL8153B },
+ { USB_VENDOR_LUXSHARE, USB_PRODUCT_LUXSHARE_RTL8153 },
+ { USB_VENDOR_MICROSOFT, USB_PRODUCT_MICROSOFT_DOCKETH },
+ { USB_VENDOR_MICROSOFT, USB_PRODUCT_MICROSOFT_DOCKETH2 },
+ { USB_VENDOR_MICROSOFT, USB_PRODUCT_MICROSOFT_SURFETH },
+ { USB_VENDOR_NVIDIA, USB_PRODUCT_NVIDIA_TEGRAETH },
+ { USB_VENDOR_PIONEERDJ, USB_PRODUCT_PIONEERDJ_RTL8152B },
+ { USB_VENDOR_PIONEERDJ, USB_PRODUCT_PIONEERDJ_RTL8153B },
{ USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8152 },
+ { USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8152B },
{ USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8153 },
{ USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8156 },
- { USB_VENDOR_TPLINK, 0x0601 }
+ { USB_VENDOR_SAMSUNG2, USB_PRODUCT_SAMSUNG2_RTL8153 },
+ { USB_VENDOR_TOSHIBA, USB_PRODUCT_TOSHIBA_RTL8153B },
+ { USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_EU300 },
+ { USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8152B_1 },
+ { USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8152B_2 },
+ { USB_VENDOR_TPLINK, USB_PRODUCT_TPLINK_RTL8153 },
+ { USB_VENDOR_TRENDNET, USB_PRODUCT_TRENDNET_RTL8156 },
+ { USB_VENDOR_TTL, USB_PRODUCT_TTL_RTL8153 },
+ { USB_VENDOR_TWINHEAD, USB_PRODUCT_TWINHEAD_RTL8153B },
+ { USB_VENDOR_XIAOMI, USB_PRODUCT_XIAOMI_RTL8152B },
};
int ure_match(struct device *, void *, void *);