svn commit: r194925 - head/sys/dev/e1000
Jack F Vogel
jfv at FreeBSD.org
Wed Jun 24 22:16:02 UTC 2009
Author: jfv
Date: Wed Jun 24 22:16:02 2009
New Revision: 194925
URL: http://svn.freebsd.org/changeset/base/194925
Log:
need to make intr_bind call architecture specific for
global builds (failing sun4v lint build)
Modified:
head/sys/dev/e1000/if_igb.c
Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c Wed Jun 24 22:09:30 2009 (r194924)
+++ head/sys/dev/e1000/if_igb.c Wed Jun 24 22:16:02 2009 (r194925)
@@ -2189,7 +2189,7 @@ igb_allocate_msix(struct adapter *adapte
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 *adapte
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.
More information about the svn-src-head
mailing list