diff options
author | 1996-06-01 12:20:40 +0000 | |
---|---|---|
committer | 1996-06-01 12:20:40 +0000 | |
commit | cb00f1a4e7d9a6a8ec2e06f7edca24e5a511f9d4 (patch) | |
tree | 1d17afb1ee958217400bab77d5f35dd7ca3ab380 | |
parent | do not access sc_link before set (diff) | |
download | wireguard-openbsd-cb00f1a4e7d9a6a8ec2e06f7edca24e5a511f9d4.tar.xz wireguard-openbsd-cb00f1a4e7d9a6a8ec2e06f7edca24e5a511f9d4.zip |
splbio over scsi_done; isdma_copyfrombuf() inside this block is not a real
performance issue VOLATILE_XS() means it is probably very small.
-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); |