summaryrefslogtreecommitdiffstats
path: root/sys/dev/ar
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-10-25 23:14:04 +0000
committerjulian <julian@FreeBSD.org>1999-10-25 23:14:04 +0000
commitb7856caf0b88bff433c2a3d76f2fa17cd06fa5a6 (patch)
tree55dc75e071f083178d565f413c04532102959fef /sys/dev/ar
parentf963ed1eaf88e7fb4830899bc81aa767ab87be90 (diff)
downloadFreeBSD-src-b7856caf0b88bff433c2a3d76f2fa17cd06fa5a6.zip
FreeBSD-src-b7856caf0b88bff433c2a3d76f2fa17cd06fa5a6.tar.gz
Make it compile inthe NETGRAPH case.
Diffstat (limited to 'sys/dev/ar')
-rw-r--r--sys/dev/ar/if_ar.c2
-rw-r--r--sys/dev/ar/if_ar_isa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c
index 0eec2cf..8932e57 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 0eec2cf..8932e57 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 */
OpenPOWER on IntegriCloud