diff options
| author | Paul Saab <ps@FreeBSD.org> | 2006-04-13 22:41:33 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2006-04-13 22:41:33 +0000 |
| commit | 0584234409d415c1b686ee4250c8bb9b036c4b3d (patch) | |
| tree | 40499cde297ec02e710b5f0c44a5c53fc439eb30 /sys/dev | |
| parent | 6a5a314d2e338542503d1f24fc7349f8c5db10a7 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -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); |
