[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200905112238.55404.arnd@arndb.de>
Date: Mon, 11 May 2009 22:38:55 +0000
From: Arnd Bergmann <arnd@...db.de>
To: linux-kernel@...r.kernel.org, Jeff Garzik <jgarzik@...ox.com>,
linux-ide@...r.kernel.org
Subject: [PATCH] ata: libata depends on HAS_DMA
libata uses the DMA mapping API, so it cannot be built
on architectures that don't have DMA support.
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
drivers/ata/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 9120717..f076268 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -4,7 +4,7 @@
menuconfig ATA
tristate "Serial ATA (prod) and Parallel ATA (experimental) drivers"
- depends on HAS_IOMEM
+ depends on HAS_IOMEM && HAS_DMA
depends on BLOCK
depends on !(M32R || M68K) || BROKEN
select SCSI
--
1.6.0.4
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists