summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-06-10 21:56:12 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-06-10 21:56:12 +0000
commit130724a8cd327dbb276185e6f3eea31a234bd16e (patch)
treef65903bade0930665f00c77390d04b4de534972c /sys/arch/vax
parent659920a1ee5c9c837278f8e29e13a216f5c36050 (diff)
sleep() -> tsleep()
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/qbus/qd.c4
-rw-r--r--sys/arch/vax/uba/ts.c4
-rw-r--r--sys/arch/vax/uba/uba.c4
-rw-r--r--sys/arch/vax/vax/cfl.c6
-rw-r--r--sys/arch/vax/vax/crl.c6
-rw-r--r--sys/arch/vax/vax/crx.c6
6 files changed, 15 insertions, 15 deletions
diff --git a/sys/arch/vax/qbus/qd.c b/sys/arch/vax/qbus/qd.c
index 4c1b8059e8c..515e516f926 100644
--- a/sys/arch/vax/qbus/qd.c
+++ b/sys/arch/vax/qbus/qd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qd.c,v 1.4 2002/06/08 08:50:26 art Exp $ */
+/* $OpenBSD: qd.c,v 1.5 2002/06/10 21:56:08 miod Exp $ */
/* $NetBSD: qd.c,v 1.17 2000/01/24 02:40:29 matt Exp $ */
/*-
@@ -1690,7 +1690,7 @@ panic("qd_strategy");
dga->bytcnt_hi = (short) (bp->b_bcount >> 16);
while (qdflags[unit].user_dma) {
- sleep((caddr_t)&qdflags[unit].user_dma, QDPRIOR);
+ tsleep((caddr_t)&qdflags[unit].user_dma, QDPRIOR, "qdstrat", 0);
}
splx(s);
#ifdef notyet
diff --git a/sys/arch/vax/uba/ts.c b/sys/arch/vax/uba/ts.c
index fe937d5a61a..49c1ca8bac1 100644
--- a/sys/arch/vax/uba/ts.c
+++ b/sys/arch/vax/uba/ts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts.c,v 1.10 2002/06/08 08:50:26 art Exp $ */
+/* $OpenBSD: ts.c,v 1.11 2002/06/10 21:56:11 miod Exp $ */
/* $NetBSD: ts.c,v 1.11 1997/01/11 11:34:43 ragge Exp $ */
/*-
@@ -380,7 +380,7 @@ tscommand (dev, cmd, count)
if (bp->b_bcount == 0 && (bp->b_flags & B_DONE))
break;
bp->b_flags |= B_WANTED;
- sleep ((caddr_t)bp, PRIBIO);
+ tsleep ((caddr_t)bp, PRIBIO, "tscommand", 0);
/* check MOT-flag !!! */
}
bp->b_flags = B_BUSY | B_READ;
diff --git a/sys/arch/vax/uba/uba.c b/sys/arch/vax/uba/uba.c
index b11a8236aef..3fd952b9742 100644
--- a/sys/arch/vax/uba/uba.c
+++ b/sys/arch/vax/uba/uba.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uba.c,v 1.15 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: uba.c,v 1.16 2002/06/10 21:56:11 miod Exp $ */
/* $NetBSD: uba.c,v 1.43 2000/01/24 02:40:36 matt Exp $ */
/*
* Copyright (c) 1996 Jonathan Stone.
@@ -620,7 +620,7 @@ ubasetup(uh, bp, flags)
return (0);
}
uh->uh_bdpwant++;
- sleep((caddr_t)&uh->uh_bdpwant, PSWP);
+ tsleep((caddr_t)&uh->uh_bdpwant, PSWP, "ubasetup", 0);
}
uh->uh_bdpfree &= ~(1 << (bdp-1));
} else if (flags & UBA_HAVEBDP)
diff --git a/sys/arch/vax/vax/cfl.c b/sys/arch/vax/vax/cfl.c
index 4ad1b69e5f4..c2d88f17f1e 100644
--- a/sys/arch/vax/vax/cfl.c
+++ b/sys/arch/vax/vax/cfl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfl.c,v 1.3 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: cfl.c,v 1.4 2002/06/10 21:56:11 miod Exp $ */
/* $NetBSD: cfl.c,v 1.2 1998/04/13 12:10:26 ragge Exp $ */
/*-
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -138,7 +138,7 @@ cflrw(dev, uio, flag)
return (0);
s = spl4();
while (cfltab.cfl_state == BUSY)
- sleep((caddr_t)&cfltab, PRIBIO);
+ tsleep((caddr_t)&cfltab, PRIBIO, "cflrw", 0);
cfltab.cfl_state = BUSY;
splx(s);
@@ -160,7 +160,7 @@ cflrw(dev, uio, flag)
s = spl4();
cflstart();
while ((bp->b_flags & B_DONE) == 0)
- sleep((caddr_t)bp, PRIBIO);
+ tsleep((caddr_t)bp, PRIBIO, "cflrw", 0);
splx(s);
if (bp->b_flags & B_ERROR) {
error = EIO;
diff --git a/sys/arch/vax/vax/crl.c b/sys/arch/vax/vax/crl.c
index 012b2d09cd3..64c9633df0c 100644
--- a/sys/arch/vax/vax/crl.c
+++ b/sys/arch/vax/vax/crl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crl.c,v 1.5 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: crl.c,v 1.6 2002/06/10 21:56:11 miod Exp $ */
/* $NetBSD: crl.c,v 1.6 2000/01/24 02:40:33 matt Exp $ */
/*-
* Copyright (c) 1982, 1986 The Regents of the University of California.
@@ -131,7 +131,7 @@ crlrw(dev, uio, flag)
return (0);
s = spl4();
while (crltab.crl_state & CRL_BUSY)
- sleep((caddr_t)&crltab, PRIBIO);
+ tsleep((caddr_t)&crltab, PRIBIO, "crlrw", 0);
crltab.crl_state |= CRL_BUSY;
splx(s);
@@ -152,7 +152,7 @@ crlrw(dev, uio, flag)
s = spl4();
crlstart();
while ((bp->b_flags & B_DONE) == 0)
- sleep((caddr_t)bp, PRIBIO);
+ tsleep((caddr_t)bp, PRIBIO, "crlrw", 0);
splx(s);
if (bp->b_flags & B_ERROR) {
error = EIO;
diff --git a/sys/arch/vax/vax/crx.c b/sys/arch/vax/vax/crx.c
index 12c01a86aaf..320a9abb899 100644
--- a/sys/arch/vax/vax/crx.c
+++ b/sys/arch/vax/vax/crx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crx.c,v 1.2 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: crx.c,v 1.3 2002/06/10 21:56:11 miod Exp $ */
/* $NetBSD: crx.c,v 1.4 2000/01/24 02:40:33 matt Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -157,7 +157,7 @@ crxrw(dev, uio, flags)
i = spl4();
while (rs->rs_flags & RS_BUSY) {
rs->rs_flags |= RS_WANT;
- sleep((caddr_t) &rx50state, PRIBIO);
+ tsleep((caddr_t) &rx50state, PRIBIO, "crxrw", 0);
}
rs->rs_flags |= RS_BUSY;
rs->rs_drive = rx50unit(dev);
@@ -208,7 +208,7 @@ crxrw(dev, uio, flags)
printf("crx: sleeping on I/O\n");
printf("crxopen: ka820port = %x\n", ka820port_ptr->csr);
#endif
- sleep((caddr_t) &rs->rs_blkno, PRIBIO);
+ tsleep((caddr_t) &rs->rs_blkno, PRIBIO, "crxrw", 0);
}
splx(i);
if (rs->rs_flags & RS_ERROR) {