xref: /linux/drivers/net/ethernet/spacemit/Kconfig (revision a6824f65c9966cf514abc334754104b7af53567c)
1config NET_VENDOR_SPACEMIT
2	bool "SpacemiT devices"
3	default y
4	depends on ARCH_SPACEMIT || COMPILE_TEST
5	help
6	  If you have a network (Ethernet) device belonging to this class,
7	  say Y.
8
9	  Note that the answer to this question does not directly affect
10	  the kernel: saying N will just cause the configurator to skip all
11	  the questions regarding SpacemiT devices. If you say Y, you will
12	  be asked for your specific chipset/driver in the following questions.
13
14if NET_VENDOR_SPACEMIT
15
16config SPACEMIT_K1_EMAC
17	tristate "SpacemiT K1 Ethernet MAC driver"
18	depends on ARCH_SPACEMIT || COMPILE_TEST
19	depends on MFD_SYSCON
20	depends on OF
21	default m if ARCH_SPACEMIT
22	select PHYLIB
23	help
24	  This driver supports the Ethernet MAC in the SpacemiT K1 SoC.
25
26	  To compile this driver as a module, choose M here: the module
27	  will be called k1_emac.
28
29endif # NET_VENDOR_SPACEMIT
30