kernel - xhci cleanup, lock attach
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 16 Jan 2018 00:40:31 +0000 (16:40 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 16 Jan 2018 00:40:31 +0000 (16:40 -0800)
commit8084c22db6f29f23655463a995fbbe545bd6f88f
tree885bc6391c2609f42422045db7916e937872bf82
parent5025fc65cd2448de8a5b7295c9936b473a7b0194
kernel - xhci cleanup, lock attach

* Lock xhci during attach to avoid spurious interrupts from
  hitting the interrupt routine too early.

* Install interrupt after controller startup, but before
  the main usb code begins querying it.

* Cleanup syntax
sys/bus/u4b/controller/xhci_pci.c