summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-04-03 01:53:05 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-04-03 01:53:05 +0000
commit2ebf14d70bed44d3e73639271f1b0182cff961a4 (patch)
tree65789280827ce6ec32dd7bea6b9a3a26446539b6
parent5082c86fb4281558f2d396942a43c3e297d39390 (diff)
Move scsi_done back under splbio.
ok dlg
-rw-r--r--sys/dev/ic/ami.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index f5aab7e59d1..6a33e077d61 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.139 2006/04/03 01:40:00 marco Exp $ */
+/* $OpenBSD: ami.c,v 1.140 2006/04/03 01:53:04 marco Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1130,9 +1130,8 @@ ami_done_pt(struct ami_softc *sc, struct ami_ccb *ccb)
s = splbio();
ami_put_ccb(ccb);
- splx(s);
-
scsi_done(xs);
+ splx(s);
}
void
@@ -1163,9 +1162,8 @@ ami_done_xs(struct ami_softc *sc, struct ami_ccb *ccb)
s = splbio();
ami_put_ccb(ccb);
- splx(s);
-
scsi_done(xs);
+ splx(s);
}
void
@@ -1183,9 +1181,8 @@ ami_done_flush(struct ami_softc *sc, struct ami_ccb *ccb)
s = splbio();
ami_put_ccb(ccb);
- splx(s);
-
scsi_done(xs);
+ splx(s);
}
/* reuse the ccb for the sysflush command */
@@ -1209,9 +1206,8 @@ ami_done_sysflush(struct ami_softc *sc, struct ami_ccb *ccb)
s = splbio();
ami_put_ccb(ccb);
- splx(s);
-
scsi_done(xs);
+ splx(s);
}
void