summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2004-05-17 23:57:52 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2004-05-17 23:57:52 +0000
commit7a03e9bec2e1efff56688b1d74cadf721f7ae352 (patch)
tree927e06c733f6d5380e35c3e59997faf2c1816b6f /sys/scsi/st.c
parent62217bbd5d9a3f247fa57fc7b5d233289251bcad (diff)
Elminate SCSIRET_* synonyms for EJUSTRETURN and ERESTART by using
EJUSTRETURN and ERESTART instead. Delete unused SCSIRET_RETRY define. From NetBSD. ok marco@
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index b9069628c2c..c073dc56308 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.37 2004/05/17 12:37:13 aoyama Exp $ */
+/* $OpenBSD: st.c,v 1.38 2004/05/17 23:57:51 krw Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -1822,7 +1822,7 @@ st_interpret_sense(xs)
else
info = xs->datalen; /* bad choice if fixed blocks */
if ((sense->error_code & SSD_ERRCODE) != 0x70)
- return SCSIRET_CONTINUE; /* let the generic code handle it */
+ return EJUSTRETURN; /* let the generic code handle it */
if (st->flags & ST_FIXEDBLOCKS) {
xs->resid = info * st->blksize;
if (sense->flags & SSD_EOM) {
@@ -1927,7 +1927,7 @@ st_interpret_sense(xs)
return 0;
}
}
- return SCSIRET_CONTINUE;
+ return EJUSTRETURN;
}
/*