Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1550055
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/6] ata: ATA_BMDMA should depend on HAS_DMA |
| Date | 2017-01-03 19:20 +0100 |
| Message-ID | <sVBQK-1Kc-55@gated-at.bofh.it> (permalink) |
| References | <sVBQJ-1Kc-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
If NO_DMA=y:
ERROR: "dmam_alloc_coherent" [drivers/ata/libata.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
drivers/ata/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 275dbbded6dbe03b..a973aa8aa5513eea 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -289,6 +289,7 @@ config SATA_SX4
config ATA_BMDMA
bool "ATA BMDMA support"
+ depends on HAS_DMA
default y
help
This option adds support for SFF ATA controllers with BMDMA
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] ata: Missing HAS_DMA dependencies Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 [PATCH 1/6] ata: SATA_MV should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 [PATCH 3/6] ata: ATA_BMDMA should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 [PATCH 2/6] ata: SATA_HIGHBANK should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2017-01-03 19:20 +0100 Re: [PATCH 0/6] ata: Missing HAS_DMA dependencies Tejun Heo <tj@kernel.org> - 2017-01-06 17:40 +0100
csiph-web