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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev