summaryrefslogtreecommitdiff
path: root/sys/scsi/scsi_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/scsi/scsi_ioctl.c')
-rw-r--r--sys/scsi/scsi_ioctl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c
index 0d77b6620e8..b951641bfe4 100644
--- a/sys/scsi/scsi_ioctl.c
+++ b/sys/scsi/scsi_ioctl.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: scsi_ioctl.c,v 1.3 1996/06/16 23:53:16 downsj Exp $ */
/* $NetBSD: scsi_ioctl.c,v 1.20 1996/02/14 21:47:22 christos Exp $ */
/*
@@ -356,6 +357,11 @@ scsi_do_ioctl(sc_link, dev, cmd, addr, flag, p)
sca->lun = sc_link->lun;
return 0;
}
+ case SCIOCRESET: {
+ scsi_scsi_cmd(sc_link, 0, 0, 0, 0, GENRETRY, 2000, NULL,
+ SCSI_RESET);
+ return 0;
+ }
default:
return ENOTTY;
}