- Rename PIDEBUG back to SCSIDEBUG, since other files are still

using SCSIDEBUG.
- Don't #undef PIDEBUG unconditionally.
This commit is contained in:
enami 1997-10-03 15:12:12 +00:00
parent 45a77d9452
commit f86cc57e92
1 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: scsipi_debug.h,v 1.8 1997/08/27 11:26:54 bouyer Exp $ */
/* $NetBSD: scsipi_debug.h,v 1.9 1997/10/03 15:12:12 enami Exp $ */
/*
* Written by Julian Elischer (julian@tfs.com)
@ -6,8 +6,6 @@
#ifndef _SCSI_PI_DEBUG_H
#define _SCSI_PI_DEBUG_H 1
#undef PIDEBUG
/*
* These are the new debug bits. (Sat Oct 2 12:46:46 WST 1993)
* the following DEBUG bits are defined to exist in the flags word of
@ -19,7 +17,7 @@
#define SDEV_DB4 0x80 /* level 4 debugging for this dev */
/* type, target and LUN we want to debug */
#define DEBUGTYPE BUS_ATAPI
#define DEBUGTYPE BUS_ATAPI
#define DEBUGTARGET -1 /* -1 = disable. This is the drive
number for ATAPI */
#define DEBUGLUN 0
@ -28,7 +26,7 @@
/*
* This is the usual debug macro for use with the above bits
*/
#ifdef PIDEBUG
#ifdef SCSIDEBUG
#define SC_DEBUG(sc_link,Level,Printstuff) \
do { \
if ((sc_link)->flags & (Level)) { \