summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-09-27 19:52:42 +0000
committerjoe <joe@FreeBSD.org>2002-09-27 19:52:42 +0000
commite8e5c2a9195cd1872a386392b502dd198c3ba2c9 (patch)
tree97dc0f44d0f908b83a5297fbc472f7f56b96bdc9 /sys
parent5031f247a0bdcfd0f9eccc36050f2a0ff31dfed6 (diff)
downloadFreeBSD-src-e8e5c2a9195cd1872a386392b502dd198c3ba2c9.zip
FreeBSD-src-e8e5c2a9195cd1872a386392b502dd198c3ba2c9.tar.gz
MFNetBSD: Update class codes. (rev 1.68)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usb.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h
index a9d18f4..1e8e0ad 100644
--- a/sys/dev/usb/usb.h
+++ b/sys/dev/usb/usb.h
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.h,v 1.67 2002/08/22 10:08:34 augustss Exp $ */
+/* $NetBSD: usb.h,v 1.68 2002/08/22 10:15:12 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -388,18 +388,18 @@ typedef struct {
} UPACKED usb_port_status_t;
/* Device class codes */
-#define UDCLASS_AUDIO 0x00
+#define UDCLASS_IN_INTERFACE 0x00
#define UDCLASS_COMM 0x02
-#define UDCLASS_HID 0x00
#define UDCLASS_HUB 0x09
#define UDSUBCLASS_HUB 0x00
#define UDPROTO_FSHUB 0x00
#define UDPROTO_HSHUBSTT 0x01
#define UDPROTO_HSHUBMTT 0x02
-#define UDCLASS_MASS 0x00
+#define UDCLASS_DIAGNOSTIC 0xdc
#define UDCLASS_WIRELESS 0xe0
#define UDSUBCLASS_RF 0x01
#define UDPROTO_BLUETOOTH 0x01
+#define UDCLASS_VENDOR 0xff
/* Interface class codes */
#define UICLASS_UNSPEC 0x00
@@ -425,6 +425,8 @@ typedef struct {
#define UICLASS_PHYSICAL 0x05
+#define UICLASS_IMAGE 0x06
+
#define UICLASS_PRINTER 0x07
#define UISUBCLASS_PRINTER 1
#define UIPROTO_PRINTER_UNI 1
@@ -465,7 +467,13 @@ typedef struct {
#define UIPROTO_DATA_PUF 0xfe /* see Prot. Unit Func. Desc.*/
#define UIPROTO_DATA_VENDOR 0xff /* Vendor specific */
-#define UICLASS_FIRM_UPD 0x0c
+#define UICLASS_SMARTCARD 0x0b
+
+/*#define UICLASS_FIRM_UPD 0x0c*/
+
+#define UICLASS_SECURITY 0x0d
+
+#define UICLASS_DIAGNOSTIC 0xdc
#define UICLASS_WIRELESS 0xe0
#define UISUBCLASS_RF 0x01
OpenPOWER on IntegriCloud