Only define WDCDEBUG if not already define (e.g. by kernel option)

This commit is contained in:
hubertf 1999-02-21 00:52:04 +00:00
parent 332dbe4b37
commit ed418e30a2
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata.c,v 1.5 1999/02/08 15:22:28 bouyer Exp $ */ /* $NetBSD: ata.c,v 1.6 1999/02/21 00:52:04 hubertf Exp $ */
/* /*
* Copyright (c) 1998 Manuel Bouyer. All rights reserved. * Copyright (c) 1998 Manuel Bouyer. All rights reserved.
* *
@ -28,7 +28,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef WDCDEBUG
#define WDCDEBUG #define WDCDEBUG
#endif /* WDCDEBUG */
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ata_wdc.c,v 1.14 1999/02/08 15:22:28 bouyer Exp $ */ /* $NetBSD: ata_wdc.c,v 1.15 1999/02/21 00:52:04 hubertf Exp $ */
/* /*
* Copyright (c) 1998 Manuel Bouyer. * Copyright (c) 1998 Manuel Bouyer.
@ -69,7 +69,9 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef WDCDEBUG
#define WDCDEBUG #define WDCDEBUG
#endif /* WDCDEBUG */
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: atapi_wdc.c,v 1.17 1999/02/15 18:40:01 bouyer Exp $ */ /* $NetBSD: atapi_wdc.c,v 1.18 1999/02/21 00:52:05 hubertf Exp $ */
/* /*
* Copyright (c) 1998 Manuel Bouyer. * Copyright (c) 1998 Manuel Bouyer.
@ -33,7 +33,9 @@
* *
*/ */
#ifndef WDCDEBUG
#define WDCDEBUG #define WDCDEBUG
#endif /* WDCDEBUG */
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>