From f86cc57e9252708ba06e7c5857ce55b46715a1c2 Mon Sep 17 00:00:00 2001 From: enami Date: Fri, 3 Oct 1997 15:12:12 +0000 Subject: [PATCH] - Rename PIDEBUG back to SCSIDEBUG, since other files are still using SCSIDEBUG. - Don't #undef PIDEBUG unconditionally. --- sys/dev/scsipi/scsipi_debug.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/dev/scsipi/scsipi_debug.h b/sys/dev/scsipi/scsipi_debug.h index a24b0f8b6a32..73bb8faf0497 100644 --- a/sys/dev/scsipi/scsipi_debug.h +++ b/sys/dev/scsipi/scsipi_debug.h @@ -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)) { \