summaryrefslogtreecommitdiff
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-07-09 17:41:03 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-07-09 17:41:03 +0000
commit5f8c9aa17ff339d9cd2fe163ad5e09cec45cb884 (patch)
tree6f38e0ab07c7daf86f44f263ad1aed45b82e0ca8 /sys/dev/usb/urio.c
parentcebe98a45ed501bcac0a82360db9f4a93e1bd4cd (diff)
make the timeout a function parameter
From NetBSD
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 981eb1208d4..65de5ae9bf0 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: urio.c,v 1.9 2002/06/11 03:08:15 nate Exp $ */
+/* $OpenBSD: urio.c,v 1.10 2002/07/09 17:41:02 nate Exp $ */
/* $NetBSD: urio.c,v 1.11 2002/02/11 15:11:49 augustss Exp $ */
/*
@@ -544,7 +544,7 @@ urioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, usb_proc_ptr p)
sc->sc_refcnt++;
err = usbd_do_request_flags(sc->sc_udev, &req, ptr, req_flags,
- &req_actlen);
+ &req_actlen, USBD_DEFAULT_TIMEOUT);
if (--sc->sc_refcnt < 0)
usb_detach_wakeup(USBDEV(sc->sc_dev));