hcd-xhci.c (53c30545fb34c43c84d62ea1c2b0dc6b53303c34) | hcd-xhci.c (d733f74c333184179770e4d5017366da4b449cce) |
---|---|
1/* 2 * USB xHCI controller emulation 3 * 4 * Copyright (c) 2011 Securiforest 5 * Date: 2011-05-11 ; Author: Hector Martin <hector@marcansoft.com> 6 * Based on usb-ohci.c, emulates Renesas NEC USB 3.0 7 * 8 * This library is free software; you can redistribute it and/or --- 3635 unchanged lines hidden (view full) --- 3644 return 0; 3645} 3646 3647static void usb_xhci_exit(PCIDevice *dev) 3648{ 3649 int i; 3650 XHCIState *xhci = XHCI(dev); 3651 | 1/* 2 * USB xHCI controller emulation 3 * 4 * Copyright (c) 2011 Securiforest 5 * Date: 2011-05-11 ; Author: Hector Martin <hector@marcansoft.com> 6 * Based on usb-ohci.c, emulates Renesas NEC USB 3.0 7 * 8 * This library is free software; you can redistribute it and/or --- 3635 unchanged lines hidden (view full) --- 3644 return 0; 3645} 3646 3647static void usb_xhci_exit(PCIDevice *dev) 3648{ 3649 int i; 3650 XHCIState *xhci = XHCI(dev); 3651 |
3652 trace_usb_xhci_exit(); 3653 |
|
3652 for (i = 0; i < xhci->numslots; i++) { 3653 xhci_disable_slot(xhci, i + 1); 3654 } 3655 3656 if (xhci->mfwrap_timer) { 3657 timer_del(xhci->mfwrap_timer); 3658 timer_free(xhci->mfwrap_timer); 3659 xhci->mfwrap_timer = NULL; --- 235 unchanged lines hidden --- | 3654 for (i = 0; i < xhci->numslots; i++) { 3655 xhci_disable_slot(xhci, i + 1); 3656 } 3657 3658 if (xhci->mfwrap_timer) { 3659 timer_del(xhci->mfwrap_timer); 3660 timer_free(xhci->mfwrap_timer); 3661 xhci->mfwrap_timer = NULL; --- 235 unchanged lines hidden --- |