mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

If CONFIG_PAGE_POOL is not enabled:
aarch64-linux-gnu-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-gnu-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-gnu-ld: drivers/net/ethernet/renesas/ravb_main.o: in function `ravb_rx_ring_refill':
ravb_main.c:(.text+0x8d8): undefined reference to `page_pool_alloc_pages'
aarch64-linux-gnu-ld: ravb_main.c:(.text+0x944): undefined reference to `page_pool_alloc_frag'
aarch64-linux-gnu-ld: drivers/net/ethernet/renesas/ravb_main.o: in function `ravb_ring_init':
ravb_main.c:(.text+0x1d4c): undefined reference to `page_pool_create'
Fixes: 966726324b
("net: ravb: Allocate RX buffers via page pool")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/fa61b464ae1aa7630e9024f091991937941d49f1.1718113630.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
62 lines
1.5 KiB
Text
62 lines
1.5 KiB
Text
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Renesas network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_RENESAS
|
|
bool "Renesas devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) card belonging to this class, 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 questions about Renesas devices. If you say Y, you will be asked
|
|
for your specific device in the following questions.
|
|
|
|
if NET_VENDOR_RENESAS
|
|
|
|
config SH_ETH
|
|
tristate "Renesas SuperH Ethernet support"
|
|
depends on ARCH_RENESAS || SUPERH || COMPILE_TEST
|
|
select CRC32
|
|
select MII
|
|
select MDIO_BITBANG
|
|
select PHYLIB
|
|
help
|
|
Renesas SuperH Ethernet device driver.
|
|
|
|
config RAVB
|
|
tristate "Renesas Ethernet AVB support"
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
select CRC32
|
|
select MII
|
|
select MDIO_BITBANG
|
|
select PAGE_POOL
|
|
select PHYLIB
|
|
select RESET_CONTROLLER
|
|
help
|
|
Renesas Ethernet AVB device driver.
|
|
|
|
config RENESAS_ETHER_SWITCH
|
|
tristate "Renesas Ethernet Switch support"
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
depends on PTP_1588_CLOCK
|
|
select CRC32
|
|
select MII
|
|
select PHYLINK
|
|
select RENESAS_GEN4_PTP
|
|
help
|
|
Renesas Ethernet Switch device driver.
|
|
|
|
config RENESAS_GEN4_PTP
|
|
tristate "Renesas R-Car Gen4 gPTP support" if COMPILE_TEST
|
|
depends on PTP_1588_CLOCK
|
|
select CRC32
|
|
select MII
|
|
select PHYLIB
|
|
help
|
|
Renesas R-Car Gen4 gPTP device driver.
|
|
|
|
endif # NET_VENDOR_RENESAS
|