aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/smc
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2009-05-30 15:14:44 +0000
committerAttilio Rao <attilio@FreeBSD.org>2009-05-30 15:14:44 +0000
commit1abcdbd127e95ffe08399ec75a7001edd1ca2f5f (patch)
tree073ce0f089e7f642e36b12a238c6d66778db53f5 /sys/dev/smc
parentd68bbb81fb5d0e122aaf726957d6d93c41af9edc (diff)
Notes
Diffstat (limited to 'sys/dev/smc')
-rw-r--r--sys/dev/smc/if_smc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/smc/if_smc.c b/sys/dev/smc/if_smc.c
index 0040f9ccea17..6204fafaa409 100644
--- a/sys/dev/smc/if_smc.c
+++ b/sys/dev/smc/if_smc.c
@@ -1224,6 +1224,7 @@ smc_stop(struct smc_softc *sc)
#ifdef DEVICE_POLLING
ether_poll_deregister(sc->smc_ifp);
sc->smc_ifp->if_capenable &= ~IFCAP_POLLING;
+ sc->smc_ifp->if_capenable &= ~IFCAP_POLLING_NOCOUNT;
#endif
/*
@@ -1282,6 +1283,7 @@ smc_init_locked(struct smc_softc *sc)
ether_poll_register(smc_poll, ifp);
SMC_LOCK(sc);
ifp->if_capenable |= IFCAP_POLLING;
+ ifp->if_capenable |= IFCAP_POLLING_NOCOUNT;
#endif
}