summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-09-27 19:45:37 +0000
committerjoe <joe@FreeBSD.org>2002-09-27 19:45:37 +0000
commit3fbb04e11fad39e7044e9e0dab9ffdf3bdc89e44 (patch)
treed57ad1b4cbb0bd49b5cc44ca818a92abb1e24cb4
parentd7336823e97b3f7c049c647979e5fcbdc8d0c695 (diff)
downloadFreeBSD-src-3fbb04e11fad39e7044e9e0dab9ffdf3bdc89e44.zip
FreeBSD-src-3fbb04e11fad39e7044e9e0dab9ffdf3bdc89e44.tar.gz
MFNetBSD: Add Bluetooth related classes etc. (rev 1.67)
-rw-r--r--sys/dev/usb/usb.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h
index cbd97e1..a9d18f4 100644
--- a/sys/dev/usb/usb.h
+++ b/sys/dev/usb/usb.h
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.h,v 1.66 2002/07/11 21:14:34 augustss Exp $ */
+/* $NetBSD: usb.h,v 1.67 2002/08/22 10:08:34 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -392,11 +392,14 @@ typedef struct {
#define UDCLASS_COMM 0x02
#define UDCLASS_HID 0x00
#define UDCLASS_HUB 0x09
-#define UDSUBCLASS_HUB 0
-#define UDPROTO_FSHUB 0
-#define UDPROTO_HSHUBSTT 1
-#define UDPROTO_HSHUBMTT 2
+#define UDSUBCLASS_HUB 0x00
+#define UDPROTO_FSHUB 0x00
+#define UDPROTO_HSHUBSTT 0x01
+#define UDPROTO_HSHUBMTT 0x02
#define UDCLASS_MASS 0x00
+#define UDCLASS_WIRELESS 0xe0
+#define UDSUBCLASS_RF 0x01
+#define UDPROTO_BLUETOOTH 0x01
/* Interface class codes */
#define UICLASS_UNSPEC 0x00
@@ -464,6 +467,10 @@ typedef struct {
#define UICLASS_FIRM_UPD 0x0c
+#define UICLASS_WIRELESS 0xe0
+#define UISUBCLASS_RF 0x01
+#define UIPROTO_BLUETOOTH 0x01
+
#define UICLASS_APPL_SPEC 0xfe
#define UISUBCLASS_FIRMWARE_DOWNLOAD 1
#define UISUBCLASS_IRDA 2
OpenPOWER on IntegriCloud