Increase the number of simultaneous transfer descriptors that the
driver will build for uhci.  The old value of 4 was a leftover from
when SeaBIOS had a tiny 512 byte extra stack - now that there is a 2K
extra stack there is plenty of space for additional descriptors.
Using a value of 16 should allow for an entire 1ms frame of bulk
transfer content to be setup in advance (assuming the max packet size
is 64 bytes).

Signed-off-by: Kevin O'Connor <[email protected]>
---
 src/hw/usb-uhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hw/usb-uhci.c b/src/hw/usb-uhci.c
index 7ef50d1..4eea979 100644
--- a/src/hw/usb-uhci.c
+++ b/src/hw/usb-uhci.c
@@ -500,7 +500,7 @@ uhci_send_control(struct usb_pipe *p, int dir, const void 
*cmd, int cmdsize
     return ret;
 }
 
-#define STACKTDS 4
+#define STACKTDS 16
 #define TDALIGN 16
 
 int
-- 
1.9.3


_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to