mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Replace DEBUG by PLIP_DEBUG option
This commit is contained in:
parent
ef8f762601
commit
7b7bf77e65
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43109
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user