summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_ioctl.c
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>1995-01-19 12:41:36 +0000
committerdufault <dufault@FreeBSD.org>1995-01-19 12:41:36 +0000
commit05d6c07611e09c335946faa3a8ea79a1fce4bbf7 (patch)
treea1dadceebf15ccc52bd828fe34f0541cf7306dd7 /sys/scsi/scsi_ioctl.c
parent1918e6dc4ca347d2dcdbff5e3adb384dd8b03d1e (diff)
downloadFreeBSD-src-05d6c07611e09c335946faa3a8ea79a1fce4bbf7.zip
FreeBSD-src-05d6c07611e09c335946faa3a8ea79a1fce4bbf7.tar.gz
Remove dup biodone and no more SCSIUSER option.
Diffstat (limited to 'sys/scsi/scsi_ioctl.c')
-rw-r--r--sys/scsi/scsi_ioctl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c
index 5e4253b..db26691 100644
--- a/sys/scsi/scsi_ioctl.c
+++ b/sys/scsi/scsi_ioctl.c
@@ -38,11 +38,9 @@
* SUCH DAMAGE.
*End copyright
*
- * $Id: scsi_ioctl.c,v 1.8 1994/10/08 22:26:37 phk Exp $
+ * $Id: scsi_ioctl.c,v 1.9 1995/01/08 13:38:32 dufault Exp $
*
*
- * Note: The SCSIUSER option is required to support the user defined
- * ioctl calls.
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -132,7 +130,7 @@ struct scsi_xfer *xs;
screq->retsts = SCCMD_UNKNOWN;
break;
}
- biodone(bp); /* we're waiting on it in scsi_strategy() */
+ biodone(bp); /* we're waiting on it in scsistrategy() */
return; /* it'll free the xs and restart any queue */
}
@@ -252,7 +250,6 @@ struct scsi_link *sc_link, int cmd, caddr_t addr, int f)
SC_DEBUG(sc_link,SDEV_DB2,("scsi_do_ioctl(0x%x)\n",cmd));
switch(cmd)
{
-#ifdef SCSIUSER
case SCIOCCOMMAND:
{
/*
@@ -322,7 +319,6 @@ struct scsi_link *sc_link, int cmd, caddr_t addr, int f)
}
break;
}
-#endif /* SCSIUSER */
case SCIOCDEBUG:
{
int level = *((int *)addr);
OpenPOWER on IntegriCloud