summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/if_igb.c
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2009-06-24 22:16:02 +0000
committerjfv <jfv@FreeBSD.org>2009-06-24 22:16:02 +0000
commit7facd747d2f5547472aa1f1496fee5fd54918774 (patch)
tree768d9f9ccac4f230d1f8d3b1724ca318179aa751 /sys/dev/e1000/if_igb.c
parent380cb58248d7b11a8c1fb74bfdcf50a0201ac3a9 (diff)
downloadFreeBSD-src-7facd747d2f5547472aa1f1496fee5fd54918774.zip
FreeBSD-src-7facd747d2f5547472aa1f1496fee5fd54918774.tar.gz
need to make intr_bind call architecture specific for
global builds (failing sun4v lint build)
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