summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usbdi.c')
-rw-r--r--sys/dev/usb/usbdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index bcebf593cb1..8ef65ceece7 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.c,v 1.94 2017/05/10 17:35:40 mpi Exp $ */
+/* $OpenBSD: usbdi.c,v 1.95 2017/05/15 10:52:08 mpi Exp $ */
/* $NetBSD: usbdi.c,v 1.103 2002/09/27 15:37:38 provos Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */
@@ -718,7 +718,7 @@ usb_transfer_complete(struct usbd_xfer *xfer)
int polling = pipe->device->bus->use_polling;
int status, flags;
- SPLUSBCHECK;
+ splsoftassert(IPL_SOFTUSB);
DPRINTFN(5, ("usb_transfer_complete: pipe=%p xfer=%p status=%d "
"actlen=%d\n", pipe, xfer, xfer->status, xfer->actlen));
@@ -852,7 +852,7 @@ usbd_start_next(struct usbd_pipe *pipe)
struct usbd_xfer *xfer;
usbd_status err;
- SPLUSBCHECK;
+ splsoftassert(IPL_SOFTUSB);
#ifdef DIAGNOSTIC
if (pipe == NULL) {