]> xenbits.xensource.com Git - seabios.git/commitdiff
uas: add (temporary) superspeed stopgap
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 13 Jun 2013 12:23:08 +0000 (14:23 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 19 Sep 2013 11:04:53 +0000 (13:04 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/hw/usb-uas.c
src/hw/usb.h

index 1a9773ae01a601e3ab9e358e7858ebec00995e15..62b96759f1069d2fd5668ff80bccce5c54dd9bf6 100644 (file)
@@ -223,6 +223,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:
index 1ac86c78ffe14b6c8ae8a1aba072daa24450c594..d5f00b115caa9722d7f9ea1e5fe609fc9698e29c 100644 (file)
@@ -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;