diff options
author | 2006-08-15 04:26:58 +0000 | |
---|---|---|
committer | 2006-08-15 04:26:58 +0000 | |
commit | 53e24d83625f58df1d89d1bd6c8b93b23350ed96 (patch) | |
tree | 2178602478450d4c5a200e73243ceb54a5368e82 | |
parent | try to deal appropriate with errors from the io command reply (diff) | |
download | wireguard-openbsd-53e24d83625f58df1d89d1bd6c8b93b23350ed96.tar.xz wireguard-openbsd-53e24d83625f58df1d89d1bd6c8b93b23350ed96.zip |
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.
-rw-r--r-- | sys/dev/pci/arc.c | 3 |
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: |