diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme68k/dev/vs.c | 8 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/vs.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/mvme68k/dev/vs.c b/sys/arch/mvme68k/dev/vs.c index 37b36c13fae..975e19a0664 100644 --- a/sys/arch/mvme68k/dev/vs.c +++ b/sys/arch/mvme68k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.28 2009/02/17 22:28:41 miod Exp $ */ +/* $OpenBSD: vs.c,v 1.29 2009/11/22 14:14:10 krw Exp $ */ /* * Copyright (c) 2004, 2009, Miodrag Vallat. @@ -449,7 +449,7 @@ vs_scsicmd(struct scsi_xfer *xs) if (cb->cb_xs != NULL) { printf("%s: master command not idle\n", sc->sc_dev.dv_xname); - return (TRY_AGAIN_LATER); + return (NO_CCB); } #endif s = splbio(); @@ -462,7 +462,7 @@ vs_scsicmd(struct scsi_xfer *xs) printf("%s: queue for target %d is busy\n", sc->sc_dev.dv_xname, slp->target); #endif - return (TRY_AGAIN_LATER); + return (NO_CCB); } if (vs_getcqe(sc, &cqep, &iopb)) { /* XXX shouldn't happen since our queue is ready */ @@ -470,7 +470,7 @@ vs_scsicmd(struct scsi_xfer *xs) #ifdef VS_DEBUG printf("%s: no free CQEs\n", sc->sc_dev.dv_xname); #endif - return (TRY_AGAIN_LATER); + return (NO_CCB); } } diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c index 27e1484e46f..0178781d509 100644 --- a/sys/arch/mvme88k/dev/vs.c +++ b/sys/arch/mvme88k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.76 2009/02/16 21:19:06 miod Exp $ */ +/* $OpenBSD: vs.c,v 1.77 2009/11/22 14:14:10 krw Exp $ */ /* * Copyright (c) 2004, 2009, Miodrag Vallat. @@ -434,7 +434,7 @@ vs_scsicmd(struct scsi_xfer *xs) if (cb->cb_xs != NULL) { printf("%s: master command not idle\n", sc->sc_dev.dv_xname); - return (TRY_AGAIN_LATER); + return (NO_CCB); } #endif s = splbio(); @@ -447,7 +447,7 @@ vs_scsicmd(struct scsi_xfer *xs) printf("%s: queue for target %d is busy\n", sc->sc_dev.dv_xname, slp->target); #endif - return (TRY_AGAIN_LATER); + return (NO_CCB); } if (vs_getcqe(sc, &cqep, &iopb)) { /* XXX shouldn't happen since our queue is ready */ @@ -455,7 +455,7 @@ vs_scsicmd(struct scsi_xfer *xs) #ifdef VS_DEBUG printf("%s: no free CQEs\n", sc->sc_dev.dv_xname); #endif - return (TRY_AGAIN_LATER); + return (NO_CCB); } } |