diff --git a/sys/arch/next68k/dev/if_xe.c b/sys/arch/next68k/dev/if_xe.c index 4d3ee4850d94..8e698152707c 100644 --- a/sys/arch/next68k/dev/if_xe.c +++ b/sys/arch/next68k/dev/if_xe.c @@ -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 -__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));