aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTony Ackerman <tackerman@FreeBSD.org>2004-07-01 22:37:47 +0000
committerTony Ackerman <tackerman@FreeBSD.org>2004-07-01 22:37:47 +0000
commit6ff8a07467dc5732d43402777d9f253c353563ed (patch)
tree0875c0212a032bc0f8c0f3ab8dff481cc16e19c6 /sys
parent6fc92a7a9df87e318bd907ea4103c32cb8f39c6c (diff)
Notes
Diffstat (limited to 'sys')
-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 e93c385b799e3..ff525f466969e 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)) {