Commit 4675390a authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by David S. Miller

ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA

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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarMans Rullgard <mans@mansr.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 326fcfa5
...@@ -13,6 +13,7 @@ if NET_VENDOR_AURORA ...@@ -13,6 +13,7 @@ if NET_VENDOR_AURORA
config AURORA_NB8800 config AURORA_NB8800
tristate "Aurora AU-NB8800 support" tristate "Aurora AU-NB8800 support"
depends on HAS_DMA
select PHYLIB select PHYLIB
help help
Support for the AU-NB8800 gigabit Ethernet controller. Support for the AU-NB8800 gigabit Ethernet controller.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment