summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/if_igb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/e1000/if_igb.c')
-rw-r--r--sys/dev/e1000/if_igb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index 5ab3cda..9c28545 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -2189,7 +2189,7 @@ igb_allocate_msix(struct adapter *adapter)
txr->eims = E1000_EICR_TX_QUEUE0 << i;
else
txr->eims = 1 << vector;
-#if __FreeBSD_version >= 800000
+#if defined(__i386__) || defined(__amd64__)
/*
** Bind the msix vector, and thus the
** ring to the corresponding cpu.
@@ -2226,7 +2226,7 @@ igb_allocate_msix(struct adapter *adapter)
rxr->eims = 1 << vector;
/* Get a mask for local timer */
adapter->rx_mask |= rxr->eims;
-#if __FreeBSD_version >= 800000
+#if defined(__i386__) || defined(__amd64__)
/*
** Bind the msix vector, and thus the
** ring to the corresponding cpu.
OpenPOWER on IntegriCloud