From 3bfb36efc030ca72a2d26c9057f6e7382788159f Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Mon, 25 Oct 1999 23:14:04 +0000 Subject: [PATCH] Make it compile inthe NETGRAPH case. --- sys/dev/ar/if_ar.c | 2 +- sys/dev/ar/if_ar_isa.c | 2 +- sys/i386/isa/if_ar.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c index 0eec2cf54764..8932e57620f0 100644 --- a/sys/dev/ar/if_ar.c +++ b/sys/dev/ar/if_ar.c @@ -685,8 +685,8 @@ top_arstart: /* * See if we have space for more packets. */ -#ifndef NETGRAPH if(sc->txb_inuse == AR_TX_BLOCKS) { +#ifndef NETGRAPH ifp->if_flags |= IFF_OACTIVE; /* yes, mark active */ #else /* NETGRAPH */ /*XXX*/ /*ifp->if_flags |= IFF_OACTIVE;*/ /* yes, mark active */ diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c index 0eec2cf54764..8932e57620f0 100644 --- a/sys/dev/ar/if_ar_isa.c +++ b/sys/dev/ar/if_ar_isa.c @@ -685,8 +685,8 @@ top_arstart: /* * See if we have space for more packets. */ -#ifndef NETGRAPH if(sc->txb_inuse == AR_TX_BLOCKS) { +#ifndef NETGRAPH ifp->if_flags |= IFF_OACTIVE; /* yes, mark active */ #else /* NETGRAPH */ /*XXX*/ /*ifp->if_flags |= IFF_OACTIVE;*/ /* yes, mark active */ diff --git a/sys/i386/isa/if_ar.c b/sys/i386/isa/if_ar.c index 0eec2cf54764..8932e57620f0 100644 --- a/sys/i386/isa/if_ar.c +++ b/sys/i386/isa/if_ar.c @@ -685,8 +685,8 @@ top_arstart: /* * See if we have space for more packets. */ -#ifndef NETGRAPH if(sc->txb_inuse == AR_TX_BLOCKS) { +#ifndef NETGRAPH ifp->if_flags |= IFF_OACTIVE; /* yes, mark active */ #else /* NETGRAPH */ /*XXX*/ /*ifp->if_flags |= IFF_OACTIVE;*/ /* yes, mark active */