summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-01-10 00:40:26 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-01-10 00:40:26 +0000
commit6c9d120e69347916e938b171bd7ce94ee85ad257 (patch)
tree2d2fee8948676c7e4b09c60a30e675b724a4acc9 /sys/dev/isa
parent11f7362a3bdd215142b66c71001c8984508cd771 (diff)
A couple of missed ITSDONE setting before scsi_done().
seagate/trm/aha1742 were the only drivers paranoid enough to check ITSDONE on getting the xs to execute. And optimistic enough to think simply restting the flag would be a good thing. Have them chill out like everyone else, reducing ITSDONE noise some more.
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/aha.c3
-rw-r--r--sys/dev/isa/seagate.c6
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c
index 4991f6e2112..3b4104596ed 100644
--- a/sys/dev/isa/aha.c
+++ b/sys/dev/isa/aha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aha.c,v 1.65 2009/11/22 14:14:11 krw Exp $ */
+/* $OpenBSD: aha.c,v 1.66 2010/01/10 00:40:25 krw Exp $ */
/* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */
#undef AHADIAG
@@ -881,7 +881,6 @@ aha_done(sc, ccb)
} else
xs->resid = 0;
}
- xs->flags |= ITSDONE;
if (VOLATILE_XS(xs)) {
wakeup(ccb);
diff --git a/sys/dev/isa/seagate.c b/sys/dev/isa/seagate.c
index e60f5c9bcc4..574689cb667 100644
--- a/sys/dev/isa/seagate.c
+++ b/sys/dev/isa/seagate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: seagate.c,v 1.31 2010/01/10 00:10:23 krw Exp $ */
+/* $OpenBSD: seagate.c,v 1.32 2010/01/10 00:40:25 krw Exp $ */
/*
* ST01/02, Future Domain TMC-885, TMC-950 SCSI driver
@@ -544,10 +544,6 @@ sea_scsi_cmd(struct scsi_xfer *xs)
SC_DEBUG(sc_link, SDEV_DB2, ("sea_scsi_cmd\n"));
flags = xs->flags;
- if (flags & ITSDONE) {
- printf("%s: done?\n", sea->sc_dev.dv_xname);
- xs->flags &= ~ITSDONE;
- }
if ((scb = sea_get_scb(sea, flags)) == NULL) {
return (NO_CCB);
}