mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 02:56:50 +07:00
822bc32969
If NO_DMA=y: drivers/built-in.o: In function `macb_free_consistent': drivers/net/ethernet/cadence/macb.c:878: undefined reference to `dma_free_coherent' drivers/net/ethernet/cadence/macb.c:883: undefined reference to `dma_free_coherent' drivers/net/ethernet/cadence/macb.c:888: undefined reference to `dma_free_coherent' drivers/built-in.o: In function `macb_alloc_consistent': drivers/net/ethernet/cadence/macb.c:905: undefined reference to `dma_alloc_coherent' drivers/built-in.o: In function `macb_tx_interrupt': drivers/net/ethernet/cadence/macb.c:515: undefined reference to `dma_unmap_single' drivers/built-in.o: In function `macb_tx_error_task': drivers/net/ethernet/cadence/macb.c:457: undefined reference to `dma_unmap_single' drivers/built-in.o: In function `macb_start_xmit': drivers/net/ethernet/cadence/macb.c:838: undefined reference to `dma_map_single' 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>
46 lines
1.4 KiB
Plaintext
46 lines
1.4 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"
|
|
depends on HAS_DMA
|
|
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
|