Module Name: src Committed By: jmcneill Date: Mon Sep 25 00:03:11 UTC 2017
Modified Files: src/sys/dev/usb: xhci.c xhcivar.h Log Message: If the bus glue calls xhci_init with interrupts enabled, there is a window between when xhci interrupts are enabled and the usb bus driver is attached. If an irq occurs in this window, xhci will attempt to schedule a softint with an invalid softint handle. Add a quirk flag, XHCI_DEFERRED_START, that when set skips starting the controller at the end of xhci_init. Bus glue that sets this is responsible to call xhci_start after attaching the child usb devices. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/dev/usb/xhci.c cvs rdiff -u -r1.7 -r1.8 src/sys/dev/usb/xhcivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.