lkml.org 
[lkml]   [2009]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@arndb.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
--




\
 
 \ /
  Last update: 2009-05-12 00:43    [W:0.025 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site