xref: /linux/drivers/net/ethernet/ibm/Kconfig (revision 91ec2035134982b98fab0609a9fd8480e8217dc1)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# IBM device configuration.
4#
5
6config NET_VENDOR_IBM
7	bool "IBM devices"
8	default y
9	depends on PPC_PSERIES || PPC_DCR || (IBMEBUS && SPARSEMEM)
10	help
11	  If you have a network (Ethernet) card belonging to this class, say Y.
12
13	  Note that the answer to this question doesn't directly affect the
14	  kernel: saying N will just cause the configurator to skip all
15	  the questions about IBM devices. If you say Y, you will be asked for
16	  your specific card in the following questions.
17
18if NET_VENDOR_IBM
19
20config IBMVETH
21	tristate "IBM LAN Virtual Ethernet support"
22	depends on PPC_PSERIES
23	help
24	  This driver supports virtual ethernet adapters on newer IBM iSeries
25	  and pSeries systems.
26
27	  To compile this driver as a module, choose M here. The module will
28	  be called ibmveth.
29
30config IBMVETH_KUNIT_TEST
31	bool "KUnit test for IBM LAN Virtual Ethernet support" if !KUNIT_ALL_TESTS
32	depends on KUNIT
33	depends on KUNIT=y && IBMVETH=y
34	default KUNIT_ALL_TESTS
35	help
36	  This builds unit tests for the IBM LAN Virtual Ethernet driver.
37
38	  For more information on KUnit and unit tests in general, please refer
39	  to the KUnit documentation in Documentation/dev-tools/kunit/.
40
41	  If unsure, say N.
42
43source "drivers/net/ethernet/ibm/emac/Kconfig"
44
45config IBMVNIC
46	tristate "IBM Virtual NIC support"
47	depends on PPC_PSERIES
48	help
49	  This driver supports Virtual NIC adapters on IBM i and IBM System p
50	  systems.
51
52	  To compile this driver as a module, choose M here. The module will
53	  be called ibmvnic.
54
55endif # NET_VENDOR_IBM
56