summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-08-08 05:10:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-08-08 05:10:01 +0000
commit084a6dbf002670a905e0d60dcc1bf54cebfe6068 (patch)
tree1b8f2ce1337dfc49d0a04709e77122ac5426b835
parent4d629791df7d94bb79b9294a34a141aa46030a1f (diff)
new dell DW5821e variant is another umb(4); from Bryan Vyhmeister
-rw-r--r--sys/dev/usb/if_umb.c10
-rw-r--r--sys/dev/usb/usbdevs5
2 files changed, 11 insertions, 4 deletions
diff --git a/sys/dev/usb/if_umb.c b/sys/dev/usb/if_umb.c
index 3463dee63e7..c309de05fa1 100644
--- a/sys/dev/usb/if_umb.c
+++ b/sys/dev/usb/if_umb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_umb.c,v 1.58 2024/05/23 03:21:09 jsg Exp $ */
+/* $OpenBSD: if_umb.c,v 1.59 2024/08/08 05:10:00 deraadt Exp $ */
/*
* Copyright (c) 2016 genua mbH
@@ -241,7 +241,13 @@ struct umb_quirk {
int umb_match;
};
const struct umb_quirk umb_quirks[] = {
- { { USB_VENDOR_DELL, USB_PRODUCT_DELL_DW5821E },
+ { { USB_VENDOR_DELL, USB_PRODUCT_DELL_DW5821E_1 },
+ 0,
+ 2,
+ UMATCH_VENDOR_PRODUCT
+ },
+
+ { { USB_VENDOR_DELL, USB_PRODUCT_DELL_DW5821E_2 },
0,
2,
UMATCH_VENDOR_PRODUCT
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index b139909df9c..39bf1e5436b 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -1,4 +1,4 @@
-$OpenBSD: usbdevs,v 1.766 2024/05/29 06:48:43 jsg Exp $
+$OpenBSD: usbdevs,v 1.767 2024/08/08 05:09:09 deraadt Exp $
/* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */
/*
@@ -1537,7 +1537,8 @@ product DELL PRISM_GT_2 0x8104 PrismGT USB 2.0 WLAN
product DELL W5500 0x8115 W5500 HSDPA
product DELL U740 0x8135 U740 CDMA
product DELL EU870D 0x8138 EU870D HSDPA
-product DELL DW5821E 0x81d7 DW5821e LTE
+product DELL DW5821E_1 0x81d7 DW5821e LTE
+product DELL DW5821E_2 0x81e0 DW5821e LTE
product DELL DW700 0x9500 DW700 GPS
product DELL2 UPS 0xffff UPS