summaryrefslogtreecommitdiff
path: root/sys/dev/usb/xhcivar.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-30 18:25:09 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-30 18:25:09 +0000
commit75a75d7c53635eb59ad8d8761ee38e982a74ce6f (patch)
treeb215abe93ff77046f5cec8e93930eb0258090b02 /sys/dev/usb/xhcivar.h
parent1624a3c08268e7bcaf56d4de0886ceb1430b24db (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.h3
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);