diff options
author | nsouch <nsouch@FreeBSD.org> | 1999-01-23 17:07:49 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 1999-01-23 17:07:49 +0000 |
commit | d7eaba2e0ed023bbbcf60ba457c83c188f102e54 (patch) | |
tree | d3f137349f6a501633970ecbcc1296cc3b9056fd /sys | |
parent | edb485ef74f01c9e7a05bc49196f7189533ce87d (diff) | |
download | FreeBSD-src-d7eaba2e0ed023bbbcf60ba457c83c188f102e54.zip FreeBSD-src-d7eaba2e0ed023bbbcf60ba457c83c188f102e54.tar.gz |
Replace DEBUG by PLIP_DEBUG option
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/options | 3 | ||||
-rw-r--r-- | sys/dev/ppbus/if_plip.c | 10 |
2 files changed, 6 insertions, 7 deletions
diff --git a/sys/conf/options b/sys/conf/options index 6dfc0cc..95cc25a 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -1,4 +1,4 @@ -# $Id: options,v 1.121 1999/01/20 14:49:07 eivind Exp $ +# $Id: options,v 1.122 1999/01/21 08:29:03 dillon Exp $ # # On the handling of kernel options # @@ -246,6 +246,7 @@ PERIPH_1284 opt_ppb_1284.h DONTPROBE_1284 opt_ppb_1284.h VP0_DEBUG opt_vpo.h NLPT_DEBUG opt_nlpt.h +PLIP_DEBUG opt_plip.h LOCKF_DEBUG opt_debug_lockf.h LOUTB opt_debug_outb.h NPX_DEBUG opt_debug_npx.h diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index 7d64cd2..d3b85a4 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * From Id: lpt.c,v 1.55.2.1 1996/11/12 09:08:38 phk Exp - * $Id: if_plip.c,v 1.6 1998/11/07 14:35:41 nsouch Exp $ + * $Id: if_plip.c,v 1.7 1999/01/09 18:10:37 nsouch Exp $ */ /* @@ -101,6 +101,8 @@ #include <dev/ppbus/ppbconf.h> #include <dev/ppbus/nlpt.h> +#include "opt_plip.h" + #ifndef LPMTU /* MTU for the lp# interfaces */ #define LPMTU 1500 #endif @@ -129,11 +131,7 @@ #define LPIPTBLSIZE 256 /* Size of octet translation table */ -#ifndef DEBUG -#define DEBUG -#endif - -#ifndef DEBUG +#ifndef PLIP_DEBUG #define lprintf (void) #else #define lprintf if (lptflag) printf |