From 8bca50af6b0309da62c13a56b957acc1b7f64ad1 Mon Sep 17 00:00:00 2001 From: Josef Karthauser Date: Fri, 27 Sep 2002 19:45:37 +0000 Subject: [PATCH] MFNetBSD: Add Bluetooth related classes etc. (rev 1.67) --- sys/dev/usb/usb.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index cbd97e1c9517..a9d18f43c866 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