[patch 3/6] scsi, fnic: require DMA support for Cisco FNIC

From: David Rientjes
Date: Tue May 24 2011 - 19:54:01 EST


The Cisco FNIC driver requires creating a SLAB_CACHE_DMA cache, which is
not possible if CONFIG_ZONE_DMA is disasbled. Avoid compiling it without
DMA support.

Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
---
drivers/scsi/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -688,7 +688,7 @@ config FCOE

config FCOE_FNIC
tristate "Cisco FNIC Driver"
- depends on PCI && X86
+ depends on PCI && X86 && ZONE_DMA
select LIBFCOE
help
This is support for the Cisco PCI-Express FCoE HBA.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/