new dell DW5821e variant is another umb(4); from Bryan Vyhmeister
authorderaadt <deraadt@openbsd.org>
Thu, 8 Aug 2024 05:10:00 +0000 (05:10 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 8 Aug 2024 05:10:00 +0000 (05:10 +0000)
sys/dev/usb/if_umb.c

index 3463dee..c309de0 100644 (file)
@@ -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