summaryrefslogtreecommitdiff
path: root/sys/dev/pci/mpii.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/mpii.c')
-rw-r--r--sys/dev/pci/mpii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 9a69902c80a..52777f6c326 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.123 2019/12/29 21:30:21 kn Exp $ */
+/* $OpenBSD: mpii.c,v 1.124 2019/12/31 10:05:33 mpi Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -2876,7 +2876,7 @@ mpii_wait(struct mpii_softc *sc, struct mpii_ccb *ccb)
mtx_enter(&mtx);
while (ccb->ccb_cookie != NULL)
- msleep(ccb, &mtx, PRIBIO, "mpiiwait", 0);
+ msleep_nsec(ccb, &mtx, PRIBIO, "mpiiwait", INFSLP);
mtx_leave(&mtx);
ccb->ccb_cookie = cookie;