From owner-svn-src-head@FreeBSD.ORG Wed Jun 24 22:16:02 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BCB9106564A; Wed, 24 Jun 2009 22:16:02 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5A30D8FC17; Wed, 24 Jun 2009 22:16:02 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5OMG2bi031805; Wed, 24 Jun 2009 22:16:02 GMT (envelope-from jfv@svn.freebsd.org) Received: (from jfv@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5OMG2qY031803; Wed, 24 Jun 2009 22:16:02 GMT (envelope-from jfv@svn.freebsd.org) Message-Id: <200906242216.n5OMG2qY031803@svn.freebsd.org> From: Jack F Vogel Date: Wed, 24 Jun 2009 22:16:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194925 - head/sys/dev/e1000 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 22:16:02 -0000 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.