xref: /linux/drivers/net/ethernet/renesas/Kconfig (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Renesas network device configuration
4#
5
6config NET_VENDOR_RENESAS
7	bool "Renesas devices"
8	default y
9	help
10	  If you have a network (Ethernet) card belonging to this class, say Y.
11
12	  Note that the answer to this question doesn't directly affect the
13	  kernel: saying N will just cause the configurator to skip all
14	  the questions about Renesas devices. If you say Y, you will be asked
15	  for your specific device in the following questions.
16
17if NET_VENDOR_RENESAS
18
19config SH_ETH
20	tristate "Renesas SuperH Ethernet support"
21	depends on ARCH_RENESAS || SUPERH || COMPILE_TEST
22	select CRC32
23	select MII
24	select MDIO_BITBANG
25	select PHYLIB
26	help
27	  Renesas SuperH Ethernet device driver.
28
29config RAVB
30	tristate "Renesas Ethernet AVB support"
31	depends on ARCH_RENESAS || COMPILE_TEST
32	depends on PTP_1588_CLOCK_OPTIONAL
33	select CRC32
34	select MII
35	select MDIO_BITBANG
36	select PAGE_POOL
37	select PHYLIB
38	select RESET_CONTROLLER
39	help
40	  Renesas Ethernet AVB device driver.
41
42config RENESAS_ETHER_SWITCH
43	tristate "Renesas Ethernet Switch support"
44	depends on ARCH_RENESAS || COMPILE_TEST
45	depends on PTP_1588_CLOCK
46	select CRC32
47	select MII
48	select PHYLINK
49	select RENESAS_GEN4_PTP
50	help
51	  Renesas Ethernet Switch device driver.
52
53config RENESAS_GEN4_PTP
54	tristate "Renesas R-Car Gen4 gPTP support" if COMPILE_TEST
55	depends on PTP_1588_CLOCK
56	select CRC32
57	select MII
58	select PHYLIB
59	help
60	  Renesas R-Car Gen4 gPTP device driver.
61
62config RTSN
63	tristate "Renesas Ethernet-TSN support"
64	depends on ARCH_RENESAS || COMPILE_TEST
65	depends on PTP_1588_CLOCK
66	select CRC32
67	select PHYLIB
68	select RENESAS_GEN4_PTP
69	help
70	  Renesas Ethernet-TSN device driver.
71
72endif # NET_VENDOR_RENESAS
73