xhci: trace: run+stop

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2012-05-11 14:54:57 +02:00
parent 2d754a10e4
commit fc0ddaca33
2 changed files with 4 additions and 3 deletions

View file

@ -813,14 +813,13 @@ static void xhci_er_reset(XHCIState *xhci)
static void xhci_run(XHCIState *xhci)
{
DPRINTF("xhci_run()\n");
trace_usb_xhci_run();
xhci->usbsts &= ~USBSTS_HCH;
}
static void xhci_stop(XHCIState *xhci)
{
DPRINTF("xhci_stop()\n");
trace_usb_xhci_stop();
xhci->usbsts |= USBSTS_HCH;
xhci->crcr_low &= ~CRCR_CRR;
}