• Geert Uytterhoeven's avatar
    net/ethernet: ARM_AT91_ETHER should depend on HAS_DMA · d914ae80
    Geert Uytterhoeven authored
    If NO_DMA=y:
    
    drivers/built-in.o: In function `at91ether_start':
    drivers/net/ethernet/cadence/at91_ether.c:49: undefined reference to `dma_alloc_coherent'
    drivers/net/ethernet/cadence/at91_ether.c:60: undefined reference to `dma_free_coherent'
    drivers/built-in.o: In function `at91ether_interrupt':
    drivers/net/ethernet/cadence/at91_ether.c:250: undefined reference to `dma_unmap_single'
    drivers/built-in.o: In function `at91ether_start_xmit':
    drivers/net/ethernet/cadence/at91_ether.c:169: undefined reference to `dma_map_single'
    drivers/built-in.o: In function `at91ether_close':
    drivers/net/ethernet/cadence/at91_ether.c:145: undefined reference to `dma_free_coherent'
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: netdev@vger.kernel.org
    Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d914ae80
Kconfig 1.34 KB