summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2020-03-10 01:11:31 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2020-03-10 01:11:31 +0000
commit8b3f8f24b689b113cc69f89c9a3eda43053333b8 (patch)
tree0899ea2a32320d6c8d169a8a4fe31f6876e949d0
parentd8656af2b1b65c394237b4fd1c38113872930368 (diff)
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