Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 22:16:02 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194925 - head/sys/dev/e1000
Message-ID:  <200906242216.n5OMG2qY031803@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906242216.n5OMG2qY031803>