summaryrefslogtreecommitdiff
path: root/sys/dev/pci/arc.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-08-15 04:26:59 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-08-15 04:26:59 +0000
commitd00ec6f403ca91334f89783499dea7d5048269da (patch)
tree25c041a7862eaf8c1ad0db4a7bbddc5bc5bb7a43 /sys/dev/pci/arc.c
parente39b4203fddae27b23cde7cf6ea5f35f3f367024 (diff)
when there's normal sense data i think the command completed ok, there's
just extra data. say there's no residual if that's the case.
Diffstat (limited to 'sys/dev/pci/arc.c')
-rw-r--r--sys/dev/pci/arc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/arc.c b/sys/dev/pci/arc.c
index ec5fca70437..006097319d5 100644
--- a/sys/dev/pci/arc.c
+++ b/sys/dev/pci/arc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc.c,v 1.19 2006/08/15 02:09:02 dlg Exp $ */
+/* $OpenBSD: arc.c,v 1.20 2006/08/15 04:26:58 dlg Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -540,6 +540,7 @@ arc_scsi_cmd_done(struct arc_softc *sc, struct arc_ccb *ccb, u_int32_t reg)
xs->sense.error_code = SSD_ERRCODE_VALID | 0x70;
xs->status = SCSI_CHECK;
xs->error = XS_SENSE;
+ xs->resid = 0;
break;
default: