X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fusbdescriptors.h;h=de1069f0ea9a6dcd0622edbc955208c1c4d669c0;hb=ba6d4b64b33146740a15b3dd5a5f511a2bc8d6f6;hp=2dec3b93d65438cfc5c16ec4a1f04ee62a469ac7;hpb=e598dfc22c8789991d165714bec53b2390fc999d;p=oweals%2Fu-boot.git diff --git a/include/usbdescriptors.h b/include/usbdescriptors.h index 2dec3b93d6..de1069f0ea 100644 --- a/include/usbdescriptors.h +++ b/include/usbdescriptors.h @@ -241,6 +241,21 @@ struct usb_device_descriptor { u8 bNumConfigurations; } __attribute__ ((packed)); +#if defined(CONFIG_USBD_HS) +struct usb_qualifier_descriptor { + u8 bLength; + u8 bDescriptorType; + + u16 bcdUSB; + u8 bDeviceClass; + u8 bDeviceSubClass; + u8 bDeviceProtocol; + u8 bMaxPacketSize0; + u8 bNumConfigurations; + u8 breserved; +} __attribute__ ((packed)); +#endif + struct usb_string_descriptor { u8 bLength; u8 bDescriptorType; /* 0x03 */