mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-05 21:35:04 +08:00
d914ae80b9
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: Geert 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: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
#
|
|
# Atmel device configuration
|
|
#
|
|
|
|
config NET_CADENCE
|
|
bool "Cadence devices"
|
|
depends on HAS_IOMEM
|
|
default y
|
|
---help---
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
Make sure you know the name of your card. Read the Ethernet-HOWTO,
|
|
available from <http://www.tldp.org/docs.html#howto>.
|
|
|
|
If unsure, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the remaining Atmel network card questions. If you say Y, you will be
|
|
asked for your specific card in the following questions.
|
|
|
|
if NET_CADENCE
|
|
|
|
config ARM_AT91_ETHER
|
|
tristate "AT91RM9200 Ethernet support"
|
|
depends on GENERIC_HARDIRQS && HAS_DMA
|
|
select NET_CORE
|
|
select MACB
|
|
---help---
|
|
If you wish to compile a kernel for the AT91RM9200 and enable
|
|
ethernet support, then you should always answer Y to this.
|
|
|
|
config MACB
|
|
tristate "Cadence MACB/GEM support"
|
|
select PHYLIB
|
|
---help---
|
|
The Cadence MACB ethernet interface is found on many Atmel AT32 and
|
|
AT91 parts. This driver also supports the Cadence GEM (Gigabit
|
|
Ethernet MAC found in some ARM SoC devices). Note: the Gigabit mode
|
|
is not yet supported. Say Y to include support for the MACB/GEM chip.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called macb.
|
|
|
|
endif # NET_CADENCE
|