[SeaBIOS] [PATCH 1/4] uas: add (temporary) superspeed stopgap
Gerd Hoffmann
kraxel at redhat.com
Wed Aug 21 15:20:20 CEST 2013
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
src/usb-uas.c | 4 ++++
src/usb.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/usb-uas.c b/src/usb-uas.c
index 3169389..77b9ea1 100644
--- a/src/usb-uas.c
+++ b/src/usb-uas.c
@@ -220,6 +220,10 @@ usb_uas_setup(struct usbdevice_s *usbdev)
case USB_DT_ENDPOINT:
ep = (void*)desc;
break;
+ case USB_DT_ENDPOINT_COMPANION:
+ /* No support (yet) for usb3 streams */
+ dprintf(1, "Superspeed UAS devices not supported (yet)\n");
+ goto fail;
case 0x24:
switch (desc[2]) {
case UAS_PIPE_ID_COMMAND:
diff --git a/src/usb.h b/src/usb.h
index a43e829..d9eadd7 100644
--- a/src/usb.h
+++ b/src/usb.h
@@ -130,6 +130,7 @@ struct usb_ctrlrequest {
#define USB_DT_ENDPOINT 0x05
#define USB_DT_DEVICE_QUALIFIER 0x06
#define USB_DT_OTHER_SPEED_CONFIG 0x07
+#define USB_DT_ENDPOINT_COMPANION 0x30
struct usb_device_descriptor {
u8 bLength;
--
1.8.3.1
More information about the SeaBIOS
mailing list