Re: [PATCH] Altera TSE: ALTERA_TSE should depend on HAS_DMA

2014-05-05 Thread David Miller
From: Geert Uytterhoeven 
Date: Fri,  2 May 2014 06:29:21 +0200

> If NO_DMA=y:
 ...
> Signed-off-by: Geert Uytterhoeven 

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


Re: [PATCH] Altera TSE: ALTERA_TSE should depend on HAS_DMA

2014-05-05 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org
Date: Fri,  2 May 2014 06:29:21 +0200

 If NO_DMA=y:
 ...
 Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org

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


Re: [PATCH] Altera TSE: ALTERA_TSE should depend on HAS_DMA

2014-05-02 Thread Vince Bridgers
On Thu, May 1, 2014 at 11:29 PM, Geert Uytterhoeven
 wrote:
> If NO_DMA=y:
>
> drivers/built-in.o: In function `altera_tse_probe':
> altera_tse_main.c:(.text+0x25ec2e): undefined reference to `dma_set_mask'
> altera_tse_main.c:(.text+0x25ec78): undefined reference to `dma_supported'
> altera_tse_main.c:(.text+0x25ecb6): undefined reference to `dma_supported'
> drivers/built-in.o: In function `sgdma_async_read':
> altera_sgdma.c:(.text+0x25f620): undefined reference to 
> `dma_sync_single_for_cpu'
> drivers/built-in.o: In function `sgdma_uninitialize':
> (.text+0x25f678): undefined reference to `dma_unmap_single'
> drivers/built-in.o: In function `sgdma_uninitialize':
> (.text+0x25f696): undefined reference to `dma_unmap_single'
> drivers/built-in.o: In function `sgdma_initialize':
> (.text+0x25f6f0): undefined reference to `dma_map_single'
> drivers/built-in.o: In function `sgdma_initialize':
> (.text+0x25f702): undefined reference to `dma_mapping_error'
> drivers/built-in.o: In function `sgdma_tx_buffer':
> (.text+0x25f92a): undefined reference to `dma_sync_single_for_cpu'
> drivers/built-in.o: In function `sgdma_rx_status':
> (.text+0x25fa24): undefined reference to `dma_sync_single_for_cpu'
> make[3]: *** [vmlinux] Error 1
>
> Signed-off-by: Geert Uytterhoeven 
> ---

Acked-by: Vince Bridgers 

Thanks Geert,

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


Re: [PATCH] Altera TSE: ALTERA_TSE should depend on HAS_DMA

2014-05-02 Thread Vince Bridgers
On Thu, May 1, 2014 at 11:29 PM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
 If NO_DMA=y:

 drivers/built-in.o: In function `altera_tse_probe':
 altera_tse_main.c:(.text+0x25ec2e): undefined reference to `dma_set_mask'
 altera_tse_main.c:(.text+0x25ec78): undefined reference to `dma_supported'
 altera_tse_main.c:(.text+0x25ecb6): undefined reference to `dma_supported'
 drivers/built-in.o: In function `sgdma_async_read':
 altera_sgdma.c:(.text+0x25f620): undefined reference to 
 `dma_sync_single_for_cpu'
 drivers/built-in.o: In function `sgdma_uninitialize':
 (.text+0x25f678): undefined reference to `dma_unmap_single'
 drivers/built-in.o: In function `sgdma_uninitialize':
 (.text+0x25f696): undefined reference to `dma_unmap_single'
 drivers/built-in.o: In function `sgdma_initialize':
 (.text+0x25f6f0): undefined reference to `dma_map_single'
 drivers/built-in.o: In function `sgdma_initialize':
 (.text+0x25f702): undefined reference to `dma_mapping_error'
 drivers/built-in.o: In function `sgdma_tx_buffer':
 (.text+0x25f92a): undefined reference to `dma_sync_single_for_cpu'
 drivers/built-in.o: In function `sgdma_rx_status':
 (.text+0x25fa24): undefined reference to `dma_sync_single_for_cpu'
 make[3]: *** [vmlinux] Error 1

 Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org
 ---

Acked-by: Vince Bridgers vbridgers2...@gmail.com

Thanks Geert,

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


[PATCH] Altera TSE: ALTERA_TSE should depend on HAS_DMA

2014-05-01 Thread Geert Uytterhoeven
If NO_DMA=y:

drivers/built-in.o: In function `altera_tse_probe':
altera_tse_main.c:(.text+0x25ec2e): undefined reference to `dma_set_mask'
altera_tse_main.c:(.text+0x25ec78): undefined reference to `dma_supported'
altera_tse_main.c:(.text+0x25ecb6): undefined reference to `dma_supported'
drivers/built-in.o: In function `sgdma_async_read':
altera_sgdma.c:(.text+0x25f620): undefined reference to 
`dma_sync_single_for_cpu'
drivers/built-in.o: In function `sgdma_uninitialize':
(.text+0x25f678): undefined reference to `dma_unmap_single'
drivers/built-in.o: In function `sgdma_uninitialize':
(.text+0x25f696): undefined reference to `dma_unmap_single'
drivers/built-in.o: In function `sgdma_initialize':
(.text+0x25f6f0): undefined reference to `dma_map_single'
drivers/built-in.o: In function `sgdma_initialize':
(.text+0x25f702): undefined reference to `dma_mapping_error'
drivers/built-in.o: In function `sgdma_tx_buffer':
(.text+0x25f92a): undefined reference to `dma_sync_single_for_cpu'
drivers/built-in.o: In function `sgdma_rx_status':
(.text+0x25fa24): undefined reference to `dma_sync_single_for_cpu'
make[3]: *** [vmlinux] Error 1

Signed-off-by: Geert Uytterhoeven 
---
 drivers/net/ethernet/altera/Kconfig |1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/altera/Kconfig 
b/drivers/net/ethernet/altera/Kconfig
index 80c1ab74a4b8..fdddba51473e 100644
--- a/drivers/net/ethernet/altera/Kconfig
+++ b/drivers/net/ethernet/altera/Kconfig
@@ -1,5 +1,6 @@
 config ALTERA_TSE
tristate "Altera Triple-Speed Ethernet MAC support"
+   depends on HAS_DMA
select PHYLIB
---help---
  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
-- 
1.7.9.5

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


[PATCH] Altera TSE: ALTERA_TSE should depend on HAS_DMA

2014-05-01 Thread Geert Uytterhoeven
If NO_DMA=y:

drivers/built-in.o: In function `altera_tse_probe':
altera_tse_main.c:(.text+0x25ec2e): undefined reference to `dma_set_mask'
altera_tse_main.c:(.text+0x25ec78): undefined reference to `dma_supported'
altera_tse_main.c:(.text+0x25ecb6): undefined reference to `dma_supported'
drivers/built-in.o: In function `sgdma_async_read':
altera_sgdma.c:(.text+0x25f620): undefined reference to 
`dma_sync_single_for_cpu'
drivers/built-in.o: In function `sgdma_uninitialize':
(.text+0x25f678): undefined reference to `dma_unmap_single'
drivers/built-in.o: In function `sgdma_uninitialize':
(.text+0x25f696): undefined reference to `dma_unmap_single'
drivers/built-in.o: In function `sgdma_initialize':
(.text+0x25f6f0): undefined reference to `dma_map_single'
drivers/built-in.o: In function `sgdma_initialize':
(.text+0x25f702): undefined reference to `dma_mapping_error'
drivers/built-in.o: In function `sgdma_tx_buffer':
(.text+0x25f92a): undefined reference to `dma_sync_single_for_cpu'
drivers/built-in.o: In function `sgdma_rx_status':
(.text+0x25fa24): undefined reference to `dma_sync_single_for_cpu'
make[3]: *** [vmlinux] Error 1

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

diff --git a/drivers/net/ethernet/altera/Kconfig 
b/drivers/net/ethernet/altera/Kconfig
index 80c1ab74a4b8..fdddba51473e 100644
--- a/drivers/net/ethernet/altera/Kconfig
+++ b/drivers/net/ethernet/altera/Kconfig
@@ -1,5 +1,6 @@
 config ALTERA_TSE
tristate Altera Triple-Speed Ethernet MAC support
+   depends on HAS_DMA
select PHYLIB
---help---
  This driver supports the Altera Triple-Speed (TSE) Ethernet MAC.
-- 
1.7.9.5

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