aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2008-10-17 14:08:31 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-10-22 06:54:07 -0400
commit421e02f0e9c3335028750ee411e5534dab82efbd (patch)
tree32b7cad0381984aa23298f4419501a6d250b14d4 /drivers/net/Kconfig
parentc54106bb3856a7726a814d54aa0eb32f5419a743 (diff)
igb: add IGB_DCA instead of selecting INTEL_IOATDMA
Add a bool IGB_DCA defined to y if IGB and DCA are enabled, but IGB isn't y while DCA=m. And thus remove the need to select INTEL_IOATDMA when IGB is enabled, so that non-x86 architectures can build the igb driver. Based on work/patch from Brice Goglin <brice@myri.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 021e8f167406..c7f020c4f145 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2003,6 +2003,11 @@ config IGB_LRO
2003 2003
2004 If in doubt, say N. 2004 If in doubt, say N.
2005 2005
2006config IGB_DCA
2007 bool "Enable DCA"
2008 default y
2009 depends on IGB && DCA && !(IGB=y && DCA=m)
2010
2006source "drivers/net/ixp2000/Kconfig" 2011source "drivers/net/ixp2000/Kconfig"
2007 2012
2008config MYRI_SBUS 2013config MYRI_SBUS