usb ehci - Fix machine freezes from shutdown race
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 24 Jun 2009 05:25:57 +0000 (22:25 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 24 Jun 2009 05:25:57 +0000 (22:25 -0700)
commita6012fc70aac21f1d081f2f66a28b75cf78657ee
tree7326268a881e461ef1887adfbe0130d222c49654
parent7dd55ac10c63ea55f61d7117e121042bb4f5a59a
usb ehci - Fix machine freezes from shutdown race

EHCI's shutdown code was killing the chipset without first killing the
interrupt, and it was also handing EHCI back to the BIOS without first
waiting for the shutdown reset to complete.  Either can lock the machine
up on shutdown/reboot.
sys/bus/usb/ehci.c