| 1 |
|
| 2 |
if MCTP |
| 3 |
|
| 4 |
menu "MCTP Device Drivers" |
| 5 |
|
| 6 |
config 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 |
|
| 24 |
config 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 |
|
| 29 |
config 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 |
|
| 41 |
config 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 |
|
| 50 |
config MCTP_TRANSPORT_USB |
| 51 |
tristate "MCTP USB transport" |
| 52 |
depends on USB |
| 53 |
help |
| 54 |
Provides a driver to access MCTP devices over USB transport, |
| 55 |
defined by DMTF specification DSP0283. |
| 56 |
|
| 57 |
MCTP-over-USB interfaces are peer-to-peer, so each interface |
| 58 |
represents a physical connection to one remote MCTP endpoint. |
| 59 |
|
| 60 |
endmenu |
| 61 |
|
| 62 |
endif |