Turn SCSIDEBUG into a new-style option.

This commit is contained in:
joerg 1996-07-14 10:46:56 +00:00
parent f8e0a40f1c
commit 9a8388eab8
11 changed files with 30 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $Id: options,v 1.15 1996/06/16 19:57:59 joerg Exp $ # $Id: options,v 1.16 1996/06/23 14:43:55 bde Exp $
# Option name filename # Option name filename
@ -58,6 +58,7 @@ NBUF opt_param.h
# Generic SCSI options. # Generic SCSI options.
SCSI_REPORT_GEOMETRY opt_scsi.h SCSI_REPORT_GEOMETRY opt_scsi.h
SCSI_DELAY opt_scsi.h SCSI_DELAY opt_scsi.h
SCSIDEBUG opt_scsi.h
# Options used only in scsi/od.c. # Options used only in scsi/od.c.
OD_BOGUS_NOT_READY opt_od.h OD_BOGUS_NOT_READY opt_od.h

View File

@ -14,10 +14,11 @@
* *
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
* *
* $Id: cd.c,v 1.69 1996/03/29 11:57:52 bde Exp $ * $Id: cd.c,v 1.70 1996/06/12 05:10:51 gpalmer Exp $
*/ */
#include "opt_bounce.h" #include "opt_bounce.h"
#include "opt_scsi.h"
#define SPLCD splbio #define SPLCD splbio
#define ESUCCESS 0 #define ESUCCESS 0

View File

@ -2,11 +2,12 @@
* Written by grefen@convex.com (probably moved by now) * Written by grefen@convex.com (probably moved by now)
* Based on scsi drivers by Julian Elischer (julian@tfs.com) * Based on scsi drivers by Julian Elischer (julian@tfs.com)
* *
* $Id: ch.c,v 1.31 1996/03/10 18:17:53 davidg Exp $ * $Id: ch.c,v 1.32 1996/03/27 18:50:07 bde Exp $
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <ch.h> #include <ch.h>
#include "opt_scsi.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>

View File

@ -37,7 +37,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: pt.c,v 1.15 1996/03/10 18:17:54 davidg Exp $ * $Id: pt.c,v 1.16 1996/03/27 20:07:29 bde Exp $
*/ */
/* /*
@ -47,6 +47,7 @@
*/ */
#include "opt_bounce.h" #include "opt_bounce.h"
#include "opt_scsi.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>

View File

@ -8,10 +8,11 @@
* file. * file.
* *
* Written by Julian Elischer (julian@dialix.oz.au) * Written by Julian Elischer (julian@dialix.oz.au)
* $Id: scsi_base.c,v 1.37 1996/03/31 03:19:06 gibbs Exp $ * $Id: scsi_base.c,v 1.38 1996/05/03 21:01:42 phk Exp $
*/ */
#include "opt_bounce.h" #include "opt_bounce.h"
#include "opt_scsi.h"
#define SPLSD splbio #define SPLSD splbio
#define ESUCCESS 0 #define ESUCCESS 0

View File

@ -1,8 +1,14 @@
/*#define SCSIDEBUG 1*/ /*
* Use
* options SCSIDEBUG
*
* in the kernel config file to get these macros into effect.
*/
/* /*
* Written by Julian Elischer (julian@tfs.com) * Written by Julian Elischer (julian@tfs.com)
* *
* $Id: scsi_debug.h,v 1.1 1993/11/18 05:02:54 rgrimes Exp $ * $Id: scsi_debug.h,v 1.2 1995/05/30 08:13:32 rgrimes Exp $
*/ */
#ifndef _SCSI_SCSI_DEBUG_H #ifndef _SCSI_SCSI_DEBUG_H
#define _SCSI_SCSI_DEBUG_H 1 #define _SCSI_SCSI_DEBUG_H 1

View File

@ -35,9 +35,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: scsi_driver.c,v 1.15 1996/04/07 17:32:41 bde Exp $ * $Id: scsi_driver.c,v 1.16 1996/06/16 19:54:02 joerg Exp $
* *
*/ */
#include "opt_scsi.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/errno.h> #include <sys/errno.h>
#include <sys/param.h> #include <sys/param.h>

View File

@ -36,12 +36,13 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*End copyright *End copyright
* *
* $Id: scsi_ioctl.c,v 1.20 1996/03/02 01:49:47 dyson Exp $ * $Id: scsi_ioctl.c,v 1.21 1996/03/10 07:13:09 gibbs Exp $
* *
* *
*/ */
#include "opt_bounce.h" #include "opt_bounce.h"
#include "opt_scsi.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>

View File

@ -37,7 +37,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: sctarg.c,v 1.14 1996/03/10 07:13:11 gibbs Exp $ * $Id: sctarg.c,v 1.15 1996/03/28 14:33:55 scrappy Exp $
*/ */
/* /*
@ -47,6 +47,7 @@
*/ */
#include "opt_bounce.h" #include "opt_bounce.h"
#include "opt_scsi.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>

View File

@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct * on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances. * functioning of this software in any circumstances.
* *
* $Id: st.c,v 1.69 1996/06/22 14:57:55 joerg Exp $ * $Id: st.c,v 1.70 1996/06/24 04:54:32 gibbs Exp $
*/ */
/* /*
@ -28,6 +28,7 @@
*/ */
#include "opt_bounce.h" #include "opt_bounce.h"
#include "opt_scsi.h"
#include <sys/types.h> #include <sys/types.h>

View File

@ -43,7 +43,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: worm.c,v 1.26 1996/03/10 12:52:47 jkh Exp $ * $Id: worm.c,v 1.27 1996/03/28 14:33:59 scrappy Exp $
*/ */
/* XXX This is PRELIMINARY. /* XXX This is PRELIMINARY.
@ -58,6 +58,7 @@
*/ */
#include "opt_bounce.h" #include "opt_bounce.h"
#include "opt_scsi.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>