summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixgb
diff options
context:
space:
mode:
authortackerman <tackerman@FreeBSD.org>2004-07-01 22:37:47 +0000
committertackerman <tackerman@FreeBSD.org>2004-07-01 22:37:47 +0000
commit266fbe3791e0a47aab522d6a202b1a304c78584e (patch)
tree0875c0212a032bc0f8c0f3ab8dff481cc16e19c6 /sys/dev/ixgb
parentdce79fc81ac3882c972f3ab2981f80969d2f30d5 (diff)
downloadFreeBSD-src-266fbe3791e0a47aab522d6a202b1a304c78584e.zip
FreeBSD-src-266fbe3791e0a47aab522d6a202b1a304c78584e.tar.gz
PR kern/68474:
Changed if_ipending to if_flags
Diffstat (limited to 'sys/dev/ixgb')
-rw-r--r--sys/dev/ixgb/if_ixgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ixgb/if_ixgb.c b/sys/dev/ixgb/if_ixgb.c
index e93c385..ff525f4 100644
--- a/sys/dev/ixgb/if_ixgb.c
+++ b/sys/dev/ixgb/if_ixgb.c
@@ -699,7 +699,7 @@ ixgb_init(void *arg)
* Only disable interrupts if we are polling, make sure they are on
* otherwise.
*/
- if (ifp->if_ipending & IFF_POLLING)
+ if (ifp->if_flags & IFF_POLLING)
ixgb_disable_intr(adapter);
else
#endif /* DEVICE_POLLING */
@@ -759,7 +759,7 @@ ixgb_intr(void *arg)
ifp = &adapter->interface_data.ac_if;
#ifdef DEVICE_POLLING
- if (ifp->if_ipending & IFF_POLLING)
+ if (ifp->if_flags & IFF_POLLING)
return;
if (ether_poll_register(ixgb_poll, ifp)) {
OpenPOWER on IntegriCloud