diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-04-13 14:12:26 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-04-13 14:12:26 +0000 |
| commit | 28db813d0765c3212e106fd084e634ed1d13eaa6 (patch) | |
| tree | d9312089be50c141a918cf310c7636548ff75390 /sys/dev/bce | |
| parent | db9ad3703a9f16051c3c9876feb7127c1f0d608d (diff) | |
Notes
Diffstat (limited to 'sys/dev/bce')
| -rw-r--r-- | sys/dev/bce/if_bce.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index 571b3a65c9e9..0af02d16193c 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -4090,7 +4090,7 @@ bce_rx_intr(struct bce_softc *sc) if (ifp->if_capenable & IFCAP_POLLING) { if (sc->bce_rxcycles <= 0) break; - sc->rxcycles--; + sc->bce_rxcycles--; } #endif @@ -4974,6 +4974,10 @@ bce_ioctl(struct ifnet *ifp, u_long command, caddr_t data) break; } +#ifdef DEVICE_POLLING +bce_ioctl_exit: +#endif + DBPRINT(sc, BCE_VERBOSE_RESET, "Exiting %s()\n", __FUNCTION__); return(error); |
