Make this build again... HI XTOS.

This commit is contained in:
xtraeme 2008-04-17 19:50:38 +00:00
parent cc0f1a1e88
commit 035163789f
1 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_nfe.c,v 1.31 2008/04/17 19:12:26 christos Exp $ */
/* $NetBSD: if_nfe.c,v 1.32 2008/04/17 19:50:38 xtraeme Exp $ */
/* $OpenBSD: if_nfe.c,v 1.77 2008/02/05 16:52:50 brad Exp $ */
/*-
@ -21,7 +21,7 @@
/* Driver for NVIDIA nForce MCP Fast Ethernet and Gigabit Ethernet */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_nfe.c,v 1.31 2008/04/17 19:12:26 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_nfe.c,v 1.32 2008/04/17 19:50:38 xtraeme Exp $");
#include "opt_inet.h"
#include "bpfilter.h"
@ -968,7 +968,6 @@ nfe_txeof(struct nfe_softc *sc)
if ((flags & NFE_TX_ERROR_V1) != 0) {
aprint_error_dev(sc->sc_dev,
"tx v1 error %s\n",
sc->sc_dev.dv_xname,
bitmask_snprintf(flags, NFE_V1_TXERR,
buf, sizeof(buf)));
ifp->if_oerrors++;
@ -980,8 +979,7 @@ nfe_txeof(struct nfe_softc *sc)
continue;
if ((flags & NFE_TX_ERROR_V2) != 0) {
aprint_error_dev("tx v2 error %s\n",
sc->sc_dev,
aprint_error_dev(sc->sc_dev, "tx v2 error %s\n",
bitmask_snprintf(flags, NFE_V2_TXERR,
buf, sizeof(buf)));
ifp->if_oerrors++;