diff options
author | julian <julian@FreeBSD.org> | 2007-03-27 18:55:06 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2007-03-27 18:55:06 +0000 |
commit | dd34a303ed8dbcbd49b19e9e6c6c01c608674e9b (patch) | |
tree | 4a6b683cb4f07a09a2a1b3343983fd097ba46146 /sys/dev | |
parent | 116255f144cc1ddfa0c53bcab91464dc347c343b (diff) | |
download | FreeBSD-src-dd34a303ed8dbcbd49b19e9e6c6c01c608674e9b.zip FreeBSD-src-dd34a303ed8dbcbd49b19e9e6c6c01c608674e9b.tar.gz |
Don't assume the run bit is still set after a suspend.
Submitted by: Andrea Bittau ( adotbittauatcsdotucldotacdotuk)
MFC After: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/uhci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 69380d9..ed324e6 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -723,6 +723,7 @@ uhci_power(int why, void *v) sc->sc_intr_xfer); sc->sc_bus.use_polling++; uhci_run(sc, 0); /* stop the controller */ + cmd &= ~UHCI_CMD_RS; /* save some state if BIOS doesn't */ sc->sc_saved_frnum = UREAD2(sc, UHCI_FRNUM); |