diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-10-30 18:25:09 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-10-30 18:25:09 +0000 |
commit | 75a75d7c53635eb59ad8d8761ee38e982a74ce6f (patch) | |
tree | b215abe93ff77046f5cec8e93930eb0258090b02 /sys/dev/usb/xhcivar.h | |
parent | 1624a3c08268e7bcaf56d4de0886ceb1430b24db (diff) |
Do not enable interrupts before attaching usb(4), fix a panic when an
Express Card is plugged with USB devices on it.
While here do not print an unitialized error value if xhci_init() fails,
from Patrick Wildt.
Diffstat (limited to 'sys/dev/usb/xhcivar.h')
-rw-r--r-- | sys/dev/usb/xhcivar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/xhcivar.h b/sys/dev/usb/xhcivar.h index e9ce1c35a03..992d4239775 100644 --- a/sys/dev/usb/xhcivar.h +++ b/sys/dev/usb/xhcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xhcivar.h,v 1.4 2014/04/29 12:45:29 mpi Exp $ */ +/* $OpenBSD: xhcivar.h,v 1.5 2014/10/30 18:25:08 mpi Exp $ */ /* * Copyright (c) 2014 Martin Pieuchot @@ -109,6 +109,7 @@ struct xhci_softc { }; int xhci_init(struct xhci_softc *); +void xhci_config(struct xhci_softc *); int xhci_intr(void *); int xhci_detach(struct device *, int); int xhci_activate(struct device *, int); |