From 234f10f1599676e0ec217dcbd14826df79a73af1 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Mon, 26 Oct 2015 20:23:33 +0000 Subject: [PATCH] The OHCI async support works fine in all tests, so some BX_INFO messages can be changed now to BX_DEBUG. --- bochs/iodev/usb/usb_msd.cc | 3 ++- bochs/iodev/usb/usb_ohci.cc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bochs/iodev/usb/usb_msd.cc b/bochs/iodev/usb/usb_msd.cc index b44ebebbf..963f7d42f 100644 --- a/bochs/iodev/usb/usb_msd.cc +++ b/bochs/iodev/usb/usb_msd.cc @@ -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; diff --git a/bochs/iodev/usb/usb_ohci.cc b/bochs/iodev/usb/usb_ohci.cc index 48d9889a2..01dd627de 100644 --- a/bochs/iodev/usb/usb_ohci.cc +++ b/bochs/iodev/usb/usb_ohci.cc @@ -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; } }