xref: /linux/drivers/net/mctp/Kconfig (revision 1a371190a375f98c9b106f758ea41558c3f92556)
1
2if MCTP
3
4menu "MCTP Device Drivers"
5
6config MCTP_SERIAL
7	tristate "MCTP serial transport"
8	depends on TTY
9	select CRC_CCITT
10	help
11	  This driver provides an MCTP-over-serial interface, through a
12	  serial line-discipline, as defined by DMTF specification "DSP0253 -
13	  MCTP Serial Transport Binding". By attaching the ldisc to a serial
14	  device, we get a new net device to transport MCTP packets.
15
16	  This allows communication with external MCTP endpoints which use
17	  serial as their transport. It can also be used as an easy way to
18	  provide MCTP connectivity between virtual machines, by forwarding
19	  data between simple virtual serial devices.
20
21	  Say y here if you need to connect to MCTP endpoints over serial. To
22	  compile as a module, use m; the module will be called mctp-serial.
23
24config MCTP_SERIAL_TEST
25        bool "MCTP serial tests" if !KUNIT_ALL_TESTS
26        depends on MCTP_SERIAL=y && KUNIT=y
27        default KUNIT_ALL_TESTS
28
29config MCTP_TRANSPORT_I2C
30	tristate "MCTP SMBus/I2C transport"
31	# i2c-mux is optional, but we must build as a module if i2c-mux is a module
32	depends on I2C_MUX || !I2C_MUX
33	depends on I2C
34	depends on I2C_SLAVE
35	select MCTP_FLOWS
36	help
37	  Provides a driver to access MCTP devices over SMBus/I2C transport,
38	  from DMTF specification DSP0237. A MCTP protocol network device is
39	  created for each I2C bus that has been assigned a mctp-i2c device.
40
41config MCTP_TRANSPORT_I3C
42	tristate "MCTP I3C transport"
43	depends on I3C
44	help
45	  Provides a driver to access MCTP devices over I3C transport,
46	  from DMTF specification DSP0233.
47	  A MCTP protocol network device is created for each I3C bus
48	  having a "mctp-controller" devicetree property.
49
50endmenu
51
52endif
53