Make TCICDEBUG / TCICISADEBUG compile.
This commit is contained in:
parent
72afc67c95
commit
75ffa7cd83
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tcic2.c,v 1.28 2007/10/19 12:00:02 ad Exp $ */
|
||||
/* $NetBSD: tcic2.c,v 1.29 2008/03/29 17:36:45 ad Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 1999 Christoph Badura. All rights reserved.
|
||||
|
@ -31,9 +31,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tcic2.c,v 1.28 2007/10/19 12:00:02 ad Exp $");
|
||||
|
||||
#undef TCICDEBUG
|
||||
__KERNEL_RCSID(0, "$NetBSD: tcic2.c,v 1.29 2008/03/29 17:36:45 ad Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1134,7 +1132,7 @@ tcic_chip_io_map(pch, width, offset, size, pcihp, windowp)
|
|||
bus_addr_t ioaddr = pcihp->addr + offset;
|
||||
int i, win;
|
||||
#ifdef TCICDEBUG
|
||||
static char *width_names[] = { "auto", "io8", "io16" };
|
||||
static const char *width_names[] = { "auto", "io8", "io16" };
|
||||
#endif
|
||||
|
||||
/* XXX Sanity check offset/size. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tcic2_isa.c,v 1.18 2007/10/19 12:00:23 ad Exp $ */
|
||||
/* $NetBSD: tcic2_isa.c,v 1.19 2008/03/29 17:36:45 ad Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -32,9 +32,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tcic2_isa.c,v 1.18 2007/10/19 12:00:23 ad Exp $");
|
||||
|
||||
#undef TCICISADEBUG
|
||||
__KERNEL_RCSID(0, "$NetBSD: tcic2_isa.c,v 1.19 2008/03/29 17:36:45 ad Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -178,7 +176,7 @@ tcic_isa_probe(struct device *parent, struct cfdata *match,
|
|||
return (0);
|
||||
}
|
||||
|
||||
DPRINTF(("tcic probing 0x%03x\n", ia->ia_iobase));
|
||||
DPRINTF(("tcic probing 0x%03x\n", ia->ia_iomem[0].ir_addr));
|
||||
found = 0;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue