[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48F391B9.1000206@myri.com>
Date: Mon, 13 Oct 2008 20:21:45 +0200
From: Brice Goglin <brice@...i.com>
To: "Brandeburg, Jesse" <jesse.brandeburg@...el.com>
CC: Adrian Bunk <bunk@...nel.org>,
Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>,
Jeff Garzik <jgarzik@...hat.com>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
linux-kernel@...r.kernel.org, apw@...dowen.org,
linuxppc-dev@...abs.org, sam@...nborg.org,
e1000-devel@...ts.sourceforge.net, netdev@...r.kernel.org,
"Sosnowski, Maciej" <maciej.sosnowski@...el.com>
Subject: Re: [BUILD_FAILURE] 2.6.27-git2 - allyesconfig on powerpc selectsCONFIG_INTEL_IOATDMA=y
Brandeburg, Jesse wrote:
> What we want, is myri10ge and ixgbe drivers that can build whether or not CONFIG_INTEL_IOATDMA is enabled. IF CONFIG_INTEL_IOATDMA *is* enabled (which it should not be on PPC) then there are several cases we want to work:
> CONFIG_INTEL_IOATDMA=m ---> CONFIG_IXGBE=[m|n]
> CONFIG_INTEL_IOATDMA=y ---> CONFIG_IXGBE=[m|y|n]
> CONFIG_INTEL_IOATDMA=n ---> CONFIG_IXGBE=[m|y|n]
> CONFIG_INTEL_IOATDMA depends on X86
>
I am not sure I want to prevent myri10ge=y just because ioatdma=m.
I would vote for adding some Kconfig stuff to define CONFIG_MYRI10GE_DCA
as boolean set to yes if (IOATDMA=y and MYRI10GE=y/m) or (IOATDMA=m and
MYRI10GE=m). And then use #ifdef CONFIG_MYRI10GE_DCA in the driver source.
Brice
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists