Allow compilation in the absence of DIAGNOSTIC and/or DEBUG options.
This commit is contained in:
parent
33ee9cbce7
commit
a315d33325
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_xe.c,v 1.14 2003/07/15 02:59:31 lukem Exp $ */
|
||||
/* $NetBSD: if_xe.c,v 1.15 2004/08/11 01:23:47 perseant Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1998 Darrin B. Jewell
|
||||
* All rights reserved.
|
||||
@ -30,7 +30,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xe.c,v 1.14 2003/07/15 02:59:31 lukem Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_xe.c,v 1.15 2004/08/11 01:23:47 perseant Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "bpfilter.h"
|
||||
@ -560,8 +560,12 @@ xe_dma_tx_completed(map, arg)
|
||||
bus_dmamap_t map;
|
||||
void *arg;
|
||||
{
|
||||
#if defined (XE_DEBUG) || defined (DIAGNOSTIC)
|
||||
struct mb8795_softc *sc = arg;
|
||||
#endif
|
||||
#ifdef DIAGNOSTIC
|
||||
struct xe_softc *xsc = (struct xe_softc *)sc;
|
||||
#endif
|
||||
|
||||
DPRINTF(("%s: xe_dma_tx_completed()\n",sc->sc_dev.dv_xname));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user