diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2007-11-28 16:50:23 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2007-11-28 16:50:23 +0000 |
commit | d3134e9708e77f29d10f9bc30a48af8b427271b8 (patch) | |
tree | 96242c417d5bf444acf1fc5f2b080b8246fd22d6 /sys/dev | |
parent | 6f7c3a0e39179d0e37e9891c535f2c5814c88342 (diff) |
add the device and interface class codes for USB Video Class (UVC)
devices
ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/usb.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 78439b78b09..605c802cfb5 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.h,v 1.29 2007/07/27 09:16:09 mbalmer Exp $ */ +/* $OpenBSD: usb.h,v 1.30 2007/11/28 16:50:22 robert Exp $ */ /* $NetBSD: usb.h,v 1.69 2002/09/22 23:20:50 augustss Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $ */ @@ -395,6 +395,7 @@ typedef struct { #define UDPROTO_HSHUBMTT 0x02 #define UDCLASS_DIAGNOSTIC 0xdc #define UDCLASS_WIRELESS 0xe0 +#define UDCLASS_VIDEO 0xef #define UDSUBCLASS_RF 0x01 #define UDPROTO_BLUETOOTH 0x01 #define UDCLASS_VENDOR 0xff @@ -471,6 +472,11 @@ typedef struct { #define UICLASS_SECURITY 0x0d +#define UICLASS_VIDEO 0x0e +#define UISUBCLASS_VIDEOCONTROL 1 +#define UISUBCLASS_VIDEOSTREAM 2 +#define UISUBCLASS_VIDEO_IF_COLLECTION 3 + #define UICLASS_DIAGNOSTIC 0xdc #define UICLASS_WIRELESS 0xe0 |