summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2004-07-31 11:31:31 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2004-07-31 11:31:31 +0000
commit1feaf09695ab40818251752c8ef519703c44f6c7 (patch)
treef5c0c2685bd39f1caa800337880139e06e9cfcb0 /sys/scsi/scsiconf.h
parentc46066733583cea787f0bcda85d72c2a6ed37c03 (diff)
Remove scsi_change_def() and related command structure. Its only use
in the tree is #ifdef'd out and is fundamentally wrong anyway - it tries to force *all* devices to SCSI-2. Also recent SCSI specs seem to have marked the command as obsolete. Bonus - eliminates another undocumented option (SCSI_2_DEF). Found in a list of unused kernel functions posted to tech-kern@netbsd by Krister Walfridsson in 2002. ok marco@ tdeval@
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r--sys/scsi/scsiconf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index 9bb123397e7..790da1d212a 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.h,v 1.46 2004/06/22 00:50:57 marco Exp $ */
+/* $OpenBSD: scsiconf.h,v 1.47 2004/07/31 11:31:30 krw Exp $ */
/* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */
/*
@@ -327,7 +327,6 @@ void scsi_free_xs(struct scsi_xfer *);
int scsi_execute_xs(struct scsi_xfer *);
u_long scsi_size(struct scsi_link *, int);
int scsi_test_unit_ready(struct scsi_link *, int, int);
-int scsi_change_def(struct scsi_link *, int);
int scsi_inquire(struct scsi_link *, struct scsi_inquiry_data *, int);
int scsi_prevent(struct scsi_link *, int, int);
int scsi_start(struct scsi_link *, int, int);