Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1285104 > unrolled thread

[PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA

Started byGeert Uytterhoeven <geert@linux-m68k.org>
First post2015-12-07 10:10 +0100
Last post2015-12-07 20:00 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA Geert Uytterhoeven <geert@linux-m68k.org> - 2015-12-07 10:10 +0100
    Re: [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA Måns Rullgård <mans@mansr.com> - 2015-12-07 12:20 +0100
    Re: [PATCH] ethernet: aurora: AURORA_NB8800 should depend on  HAS_DMA David Miller <davem@davemloft.net> - 2015-12-07 20:00 +0100

#1285104 — [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA

FromGeert Uytterhoeven <geert@linux-m68k.org>
Date2015-12-07 10:10 +0100
Subject[PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA
Message-ID<qCZXX-2uS-1@gated-at.bofh.it>
If NO_DMA=y:

    ERROR: "dma_map_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_unmap_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_sync_single_for_cpu" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_unmap_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_alloc_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_mapping_error" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_map_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
    ERROR: "dma_free_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/net/ethernet/aurora/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/aurora/Kconfig b/drivers/net/ethernet/aurora/Kconfig
index a3c7106fdf85e78f..8ba7f8ff3434000f 100644
--- a/drivers/net/ethernet/aurora/Kconfig
+++ b/drivers/net/ethernet/aurora/Kconfig
@@ -13,6 +13,7 @@ if NET_VENDOR_AURORA
 
 config AURORA_NB8800
 	tristate "Aurora AU-NB8800 support"
+	depends on HAS_DMA
 	select PHYLIB
 	help
 	 Support for the AU-NB8800 gigabit Ethernet controller.
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1285216

FromMåns Rullgård <mans@mansr.com>
Date2015-12-07 12:20 +0100
Message-ID<qD1ZM-3Ks-3@gated-at.bofh.it>
In reply to#1285104
Geert Uytterhoeven <geert@linux-m68k.org> writes:

> If NO_DMA=y:
>
>     ERROR: "dma_map_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_unmap_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_sync_single_for_cpu" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_unmap_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_alloc_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_mapping_error" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_map_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_free_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Acked-by: Mans Rullgard <mans@mansr.com>

>  drivers/net/ethernet/aurora/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/aurora/Kconfig b/drivers/net/ethernet/aurora/Kconfig
> index a3c7106fdf85e78f..8ba7f8ff3434000f 100644
> --- a/drivers/net/ethernet/aurora/Kconfig
> +++ b/drivers/net/ethernet/aurora/Kconfig
> @@ -13,6 +13,7 @@ if NET_VENDOR_AURORA
>
>  config AURORA_NB8800
>  	tristate "Aurora AU-NB8800 support"
> +	depends on HAS_DMA
>  	select PHYLIB
>  	help
>  	 Support for the AU-NB8800 gigabit Ethernet controller.
> -- 
> 1.9.1
>

-- 
Måns Rullgård
mans@mansr.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1285860 — Re: [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA

FromDavid Miller <davem@davemloft.net>
Date2015-12-07 20:00 +0100
SubjectRe: [PATCH] ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA
Message-ID<qD9aW-8kv-35@gated-at.bofh.it>
In reply to#1285104
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Mon,  7 Dec 2015 10:09:06 +0100

> If NO_DMA=y:
> 
>     ERROR: "dma_map_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_unmap_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_sync_single_for_cpu" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_unmap_single" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_alloc_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_mapping_error" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_map_page" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
>     ERROR: "dma_free_coherent" [drivers/net/ethernet/aurora/nb8800.ko] undefined!
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

Applied, thanks Geert.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web