diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2011-11-09 19:03:26 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2011-11-09 19:03:26 +0000 |
commit | 4c0392e6fd10cd0ef9974ccfe16fb4a0f808711b (patch) | |
tree | a83ef3eac79c8b80fbbc2e0b00ac8d6b05361dbb /lib/libusb/libusb20_desc.c | |
parent | 338f97fe8d7c30b9e1016104190cfbcb9afba2b9 (diff) | |
download | src-4c0392e6fd10cd0ef9974ccfe16fb4a0f808711b.tar.gz src-4c0392e6fd10cd0ef9974ccfe16fb4a0f808711b.zip |
Add definition of some USB 3.0 descriptors to libusb 1.0 and libusb 2.0.
Some header file parts of this patch were taken from a patch submitted
by Maya Erez <merez@codeaurora.org> to the LibUSB developers list.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=227404
Diffstat (limited to 'lib/libusb/libusb20_desc.c')
-rw-r--r-- | lib/libusb/libusb20_desc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libusb/libusb20_desc.c b/lib/libusb/libusb20_desc.c index 5ee61b272ad7..0781067be78b 100644 --- a/lib/libusb/libusb20_desc.c +++ b/lib/libusb/libusb20_desc.c @@ -41,6 +41,10 @@ LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_ENDPOINT_DESC); LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_INTERFACE_DESC); LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_CONFIG_DESC); LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_CONTROL_SETUP); +LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_SS_ENDPT_COMP_DESC); +LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_USB_20_DEVCAP_DESC); +LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_SS_USB_DEVCAP_DESC); +LIBUSB20_MAKE_STRUCT_FORMAT(LIBUSB20_BOS_DESCRIPTOR); /*------------------------------------------------------------------------* * libusb20_parse_config_desc |