Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb add identification for some Yubikeys



details:   https://anonhg.NetBSD.org/src/rev/aaa4d83f9f59
branches:  trunk
changeset: 833674:aaa4d83f9f59
user:      spz <spz%NetBSD.org@localhost>
date:      Sun Jul 08 08:32:53 2018 +0000

description:
add identification for some Yubikeys

diffstat:

 sys/dev/usb/usbdevs.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r b5c93284d263 -r aaa4d83f9f59 sys/dev/usb/usbdevs.h
--- a/sys/dev/usb/usbdevs.h     Sun Jul 08 06:21:41 2018 +0000
+++ b/sys/dev/usb/usbdevs.h     Sun Jul 08 08:32:53 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdevs.h,v 1.742 2018/06/05 13:21:37 martin Exp $     */
+/*     $NetBSD: usbdevs.h,v 1.743 2018/07/08 08:32:53 spz Exp $        */
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -470,6 +470,7 @@
 #define        USB_VENDOR_MOTOROLA4    0x100d          /* Motorola */
 #define        USB_VENDOR_HP3  0x103c          /* Hewlett Packard */
 #define        USB_VENDOR_GIGABYTE     0x1044          /* GIGABYTE */
+#define        USB_VENDOR_YUBICO       0x1050          /* Yubico.se */
 #define        USB_VENDOR_WESTERN      0x1058          /* Western Digital */
 #define        USB_VENDOR_MOTOROLA     0x1063          /* Motorola */
 #define        USB_VENDOR_CCYU 0x1065          /* CCYU Technology */
@@ -3494,6 +3495,11 @@
 /* Y-E Data products */
 #define        USB_PRODUCT_YEDATA_FLASHBUSTERU 0x0000          /* Flashbuster-U */
 
+/* Yubico products */
+#define        USB_PRODUCT_YUBICO_YUBIKEY4MODE1        0x0404  /* YubiKey 4 CCID */
+#define        USB_PRODUCT_YUBICO_YUBIKEY4MODE2        0x0405  /* YubiKey 4 OTP+CCID */
+#define        USB_PRODUCT_YUBICO_YUBIKEY4MODE6        0x0407  /* YubiKey 4 OTP+CCID+U2F */
+
 /* Z-Com products */
 #define        USB_PRODUCT_ZCOM_M4Y750 0x0001          /* M4Y-750 */
 #define        USB_PRODUCT_ZCOM_725    0x0002          /* 725/726 Prism2.5 WLAN */



Home | Main Index | Thread Index | Old Index