The OHCI async support works fine in all tests, so some BX_INFO messages
can be changed now to BX_DEBUG.
This commit is contained in:
parent
6e5a0c8313
commit
234f10f159
@ -694,6 +694,7 @@ int usb_msd_device_c::handle_data(USBPacket *p)
|
||||
case USB_MSDM_DATAOUT:
|
||||
if (s.data_len != 0 || len < 13)
|
||||
goto fail;
|
||||
BX_DEBUG(("deferring packet %p", p));
|
||||
usb_defer_packet(p, this);
|
||||
s.packet = p;
|
||||
ret = USB_RET_ASYNC;
|
||||
@ -727,7 +728,7 @@ int usb_msd_device_c::handle_data(USBPacket *p)
|
||||
s.usb_len = 0;
|
||||
}
|
||||
if (s.usb_len) {
|
||||
BX_INFO(("deferring packet %p", p));
|
||||
BX_DEBUG(("deferring packet %p", p));
|
||||
usb_defer_packet(p, this);
|
||||
s.packet = p;
|
||||
ret = USB_RET_ASYNC;
|
||||
|
@ -1203,7 +1203,7 @@ void ohci_async_complete_packet(USBPacket *packet, void *dev)
|
||||
|
||||
void bx_usb_ohci_c::async_complete_packet(USBPacket *packet)
|
||||
{
|
||||
BX_INFO(("Experimental async packet completion"));
|
||||
BX_DEBUG(("Async packet completion"));
|
||||
BX_OHCI_THIS hub.async_complete = 1;
|
||||
// These hacks are currently required for async completion
|
||||
BX_OHCI_THIS hub.use_control_head = 1;
|
||||
@ -1314,7 +1314,7 @@ bx_bool bx_usb_ohci_c::process_td(struct OHCI_TD *td, struct OHCI_ED *ed)
|
||||
|
||||
if (ret == USB_RET_ASYNC) {
|
||||
BX_OHCI_THIS hub.async_td = addr;
|
||||
BX_INFO(("Experimental async packet handling"));
|
||||
BX_DEBUG(("Async packet deferred"));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user