diff options
| author | Prafulla Deuskar <pdeuskar@FreeBSD.org> | 2003-12-02 22:13:08 +0000 |
|---|---|---|
| committer | Prafulla Deuskar <pdeuskar@FreeBSD.org> | 2003-12-02 22:13:08 +0000 |
| commit | 20109fa0460db86326bf66c24acb154b8de3941b (patch) | |
| tree | fa77ee36fbc75768600fe61e6cf52e674b69481d /sys/dev/em | |
| parent | bf164734d477c0328a2b3e779e44ce5b871642c1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/em')
| -rw-r--r-- | sys/dev/em/if_em.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index 4572e33c7198..ecb1529aca8b 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -712,7 +712,7 @@ em_ioctl(struct ifnet *ifp, u_long command, caddr_t data) em_initialize_receive_unit(adapter); } #ifdef DEVICE_POLLING - if (!(ifp->if_ipending & IFF_POLLING)) + if (!(ifp->if_flags & IFF_POLLING)) #endif em_enable_intr(adapter); EM_UNLOCK(adapter); @@ -852,7 +852,7 @@ em_init_locked(struct adapter * adapter) * Only enable interrupts if we are not polling, make sure * they are off otherwise. */ - if (ifp->if_ipending & IFF_POLLING) + if (ifp->if_flags & IFF_POLLING) em_disable_intr(adapter); else #endif /* DEVICE_POLLING */ @@ -936,7 +936,7 @@ em_intr(void *arg) ifp = &adapter->interface_data.ac_if; #ifdef DEVICE_POLLING - if (ifp->if_ipending & IFF_POLLING) { + if (ifp->if_flags & IFF_POLLING) { EM_UNLOCK(adapter); return; } |
