diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2008-10-17 18:08:31 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-22 10:54:07 (GMT) |
commit | 421e02f0e9c3335028750ee411e5534dab82efbd (patch) | |
tree | 32b7cad0381984aa23298f4419501a6d250b14d4 /drivers/net/Kconfig | |
parent | c54106bb3856a7726a814d54aa0eb32f5419a743 (diff) | |
download | linux-fsl-qoriq-421e02f0e9c3335028750ee411e5534dab82efbd.tar.xz |
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/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 021e8f1..c7f020c 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -2003,6 +2003,11 @@ config IGB_LRO If in doubt, say N. +config IGB_DCA + bool "Enable DCA" + default y + depends on IGB && DCA && !(IGB=y && DCA=m) + source "drivers/net/ixp2000/Kconfig" config MYRI_SBUS |