diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-01 12:20:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-01 12:20:41 +0000 |
commit | c2c7e3dc864562d84a7f727e1d7ab36c2b417bdc (patch) | |
tree | ede180d316764dda4f528a2a7e90bc765de215f8 /sys/dev | |
parent | 581997379c69e168d18d780cc5aef4255be4e3fb (diff) |
splbio over scsi_done; isdma_copyfrombuf() inside this block is not a real
performance issue VOLATILE_XS() means it is probably very small.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/aha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index a8a8aae7ffb..bfa9e3c377c 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha.c,v 1.23 1996/06/01 12:18:30 deraadt Exp $ */ +/* $OpenBSD: aha.c,v 1.24 1996/06/01 12:20:40 deraadt Exp $ */ /* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */ #define AHADIAG @@ -1291,7 +1291,6 @@ aha_scsi_cmd(xs) while ((ccb->xs->flags & ITSDONE) == 0) { tsleep(ccb, PRIBIO, "ahawait", 0); } - splx(s); if (ccb->data_nseg) { if (flags & SCSI_DATA_IN) isadma_copyfrombuf(xs->data, xs->datalen, @@ -1301,6 +1300,7 @@ aha_scsi_cmd(xs) } aha_free_ccb(sc, ccb); scsi_done(xs); + splx(s); return COMPLETE; } splx(s); |