drivers: can: add support for configuring CAN emulation in QEMU
Add support for configuring CAN emulation support in QEMU. For now, the only supported CAN controller is the single-channel Kvaser PCIcan PCI card. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
58e12726bf
commit
abf82013ac
2 changed files with 25 additions and 0 deletions
|
@ -89,6 +89,15 @@ config CAN_AUTO_BUS_OFF_RECOVERY
|
|||
recessive bits). When this option is enabled, the recovery API is not
|
||||
available.
|
||||
|
||||
config CAN_QEMU_IFACE_NAME
|
||||
string "SocketCAN interface name for QEMU"
|
||||
default ""
|
||||
depends on QEMU_TARGET
|
||||
help
|
||||
The SocketCAN interface name for QEMU. This value, if set, is given as "if" parameter to
|
||||
the "-object can-host-socketcan" qemu command line option. The CAN interface must be
|
||||
configured before starting QEMU.
|
||||
|
||||
source "drivers/can/Kconfig.sam"
|
||||
source "drivers/can/Kconfig.stm32"
|
||||
source "drivers/can/Kconfig.stm32fd"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue