summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@openbsd.org>2020-03-10 01:11:30 +0000
committerkevlo <kevlo@openbsd.org>2020-03-10 01:11:30 +0000
commit6821c7bb47e60306db464904baac079e9491d6b9 (patch)
treeae3fc72936483f6749ec9db2b0af6f02bc98a277
parentEnsure that we properly flush, close and rename temporary output files (diff)
downloadwireguard-openbsd-6821c7bb47e60306db464904baac079e9491d6b9.tar.xz
wireguard-openbsd-6821c7bb47e60306db464904baac079e9491d6b9.zip
Match on Lenovo OneLink Plus Dock Ethernet.
Tested by David Demelier
-rw-r--r--sys/dev/usb/if_ure.c3
-rw-r--r--sys/dev/usb/usbdevs3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/if_ure.c b/sys/dev/usb/if_ure.c
index d7b5825da22..17cdab182ac 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.13 2019/12/07 08:45:28 kevlo Exp $ */
+/* $OpenBSD: if_ure.c,v 1.14 2020/03/10 01:11:30 kevlo Exp $ */
/*-
* Copyright (c) 2015, 2016, 2019 Kevin Lo <kevlo@openbsd.org>
* All rights reserved.
@@ -71,6 +71,7 @@ int uredebug = 0;
#endif
const struct usb_devno ure_devs[] = {
+ { USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_ONELINKPLUS },
{ USB_VENDOR_LENOVO, USB_PRODUCT_LENOVO_DOCK_ETHERNET },
{ USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8152 },
{ USB_VENDOR_REALTEK, USB_PRODUCT_REALTEK_RTL8153 },
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 11e5ddb4cae..9e868d53709 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -1,4 +1,4 @@
-$OpenBSD: usbdevs,v 1.711 2020/02/23 11:52:10 jasper Exp $
+$OpenBSD: usbdevs,v 1.712 2020/03/10 01:11:30 kevlo Exp $
/* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */
/*
@@ -2531,6 +2531,7 @@ product LEADTEK 9531 0x2101 9531 GPS
/* Lenovo products */
product LENOVO AX88179 0x304b AX88179
+product LENOVO ONELINKPLUS 0x3054 OneLink+ Dock
product LENOVO DOCK_ETHERNET 0x3062 USB-C Dock Ethernet
product LENOVO ETHERNET 0x7203 USB 2.0 Ethernet