mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 23:53:55 +08:00
0f6ae8f14e
Fixes the following build failure on S390: In file included from drivers/net/ethernet/cadence/at91_ether.c:35:0: drivers/net/ethernet/cadence/macb.h: In function 'macb_is_gem': drivers/net/ethernet/cadence/macb.h:563:2: error: implicit declaration of function '__raw_readl' [-Werror=implicit-function-declaration] drivers/net/ethernet/cadence/at91_ether.c: In function 'update_mac_address': drivers/net/ethernet/cadence/at91_ether.c:119:2: error: implicit declaration of function '__raw_writel' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Joachim Eastwood <manabian@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
44 lines
1.3 KiB
Plaintext
44 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"
|
|
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
|