summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-11-22 20:16:44 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-11-22 20:16:44 +0000
commitbc0c94865ddf7d084ca286e3ad02d074d71685bd (patch)
tree643d9731d04f8cc1808454e02a9c77917464e1cd /sys
parent112007cc35a7c67407d61b85fec7436416266dda (diff)
Remove only use in the tree of ESCAPE_NOT_SUPPORTED. Which, ironically,
wasn't supported. Nuke #define of ESCAPE_NOT_SUPPORTED at the same time. ok miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme68k/dev/sbic.c5
-rw-r--r--sys/scsi/scsiconf.h3
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/dev/sbic.c b/sys/arch/mvme68k/dev/sbic.c
index b6a5dc9c3da..e3593630090 100644
--- a/sys/arch/mvme68k/dev/sbic.c
+++ b/sys/arch/mvme68k/dev/sbic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbic.c,v 1.22 2009/02/16 21:19:06 miod Exp $ */
+/* $OpenBSD: sbic.c,v 1.23 2009/11/22 20:16:43 krw Exp $ */
/* $NetBSD: sbic.c,v 1.2 1996/04/23 16:32:54 chuck Exp $ */
/*
@@ -352,9 +352,6 @@ sbic_scsicmd(xs)
if ( dev->sc_nexus && (flags & SCSI_POLL) )
panic("sbic_scsicmd: busy");
- if ( slp->target == slp->adapter_target )
- return ESCAPE_NOT_SUPPORTED;
-
s = splbio();
if ( (acb = TAILQ_FIRST(&dev->free_list)) != NULL )
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 3fd333e3f7f..1d896e3e4ad 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.110 2009/11/22 20:09:53 krw Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.111 2009/11/22 20:16:43 krw Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -305,7 +305,6 @@ struct scsi_adapter {
*/
#define SUCCESSFULLY_QUEUED 0
#define COMPLETE 2
-#define ESCAPE_NOT_SUPPORTED 3
#define NO_CCB 4
/*