diff options
author | 2003-05-06 22:40:57 +0000 | |
---|---|---|
committer | 2003-05-06 22:40:57 +0000 | |
commit | b67c97478416ab50953980a1560559f34e043aab (patch) | |
tree | 6cfa6bbd2818d9ac83f0a786815d2bac7f38ef9e /sys/dev/ic/osiop.c | |
parent | Whoops, forgot a return statement in last commit (diff) | |
download | wireguard-openbsd-b67c97478416ab50953980a1560559f34e043aab.tar.xz wireguard-openbsd-b67c97478416ab50953980a1560559f34e043aab.zip |
count auto-sense reqs as well; krw@ ok
Diffstat (limited to 'sys/dev/ic/osiop.c')
-rw-r--r-- | sys/dev/ic/osiop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c index e1a54b8942c..c321eca80f6 100644 --- a/sys/dev/ic/osiop.c +++ b/sys/dev/ic/osiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osiop.c,v 1.10 2003/05/06 22:01:43 mickey Exp $ */ +/* $OpenBSD: osiop.c,v 1.11 2003/05/06 22:40:57 mickey Exp $ */ /* $NetBSD: osiop.c,v 1.9 2002/04/05 18:27:54 bouyer Exp $ */ /* @@ -755,6 +755,7 @@ FREE: bus_dmamap_sync(sc->sc_dmat, acb->datadma, 0, sizeof(xs->sense), BUS_DMASYNC_PREREAD); + sc->sc_tinfo[periph->target].senses++; acb->status = ACB_S_READY; TAILQ_INSERT_HEAD(&sc->ready_list, acb, chain); if (((acb->xsflags & SCSI_POLL) == 0) && ((sc->sc_flags & OSIOP_NODMA) == 0)) |