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 Bluetooth related classes etc.



details:   https://anonhg.NetBSD.org/src/rev/0e7ba8882003
branches:  trunk
changeset: 535560:0e7ba8882003
user:      augustss <augustss%NetBSD.org@localhost>
date:      Thu Aug 22 10:08:34 2002 +0000

description:
Add Bluetooth related classes etc.

diffstat:

 sys/dev/usb/usb.h |  17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 38d9eeda82ad -r 0e7ba8882003 sys/dev/usb/usb.h
--- a/sys/dev/usb/usb.h Thu Aug 22 10:06:22 2002 +0000
+++ b/sys/dev/usb/usb.h Thu Aug 22 10:08:34 2002 +0000
@@ -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: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $        */
 
 /*
@@ -393,11 +393,14 @@
 #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
@@ -465,6 +468,10 @@
 
 #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



Home | Main Index | Thread Index | Old Index