]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ohci: relax link check
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 7 Mar 2017 08:40:18 +0000 (09:40 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 9 Mar 2017 08:46:13 +0000 (09:46 +0100)
The strict td link limit added by commit "95ed569 usb: ohci: limit the
number of link eds" causes problems with macos guests.  Lets raise the
limit.

Reported-by: Programmingkid <programmingkidx@gmail.com>
Reported-by: Howard Spoelstra <hsp.cat7@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 1488876018-31576-1-git-send-email-kraxel@redhat.com

hw/usb/hcd-ohci.c

index fe8406ac646f760d5a29722e1646b09efeaeee2a..3ada35e954e86262263d449750b7cb6c7e427516 100644 (file)
@@ -42,7 +42,7 @@
 
 #define OHCI_MAX_PORTS 15
 
-#define ED_LINK_LIMIT 4
+#define ED_LINK_LIMIT 32
 
 static int64_t usb_frame_time;
 static int64_t usb_bit_time;