Re: [RFC/PATCH 10/12] usb: gadget: zero: add bos descriptor and caps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Felipe Balbi | 2011-03-18 15:33:43 [+0200]:

>diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c
>index e6092d3..931d3bf 100644
>--- a/drivers/usb/gadget/zero.c
>+++ b/drivers/usb/gadget/zero.c
>@@ -132,6 +132,41 @@ static struct usb_device_descriptor device_desc = {
...

>+static struct usb_ss_cap_descriptor zero_ss_cap_desc = {
>+	.bLength =		USB_DT_USB_SS_CAP_SIZE,
>+	.bDescriptorType =	USB_DT_DEVICE_CAPABILITY,
>+	.bDevCapabilityType =	USB_SS_CAP_TYPE,
>+	.bmAttributes =		USB_LTM_SUPPORT,
>+	.wSpeedSupported =	USB_LOW_SPEED_OPERATION
>+		| USB_FULL_SPEED_OPERATION
>+		| USB_HIGH_SPEED_OPERATION
>+		| USB_5GBPS_OPERATION,
cpu_to_le16()

>+	.bFunctionalitySupport = USB_LOW_SPEED_OPERATION,
>+	.bU1devExitLat =	0x04,	/* Change this to match your device */
>+	.bU2DevExitLat =	0x04,	/* Change this to match your device */
cpu_to_le16()

>+};
>+

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux