mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-02 15:02:02 -06:00
hw/net/can: Correct Kconfig dependencies
The original CAN_PCI config option enables multiple SJA1000 PCI boards emulation build. These boards bridge SJA1000 into I/O or memory address space of the host CPU and depend on SJA1000 emulation. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> Message-Id: <dd332de687bfe52bbec37f5de1d861fb8e620d74.1600069689.git.pisa@cmp.felk.cvut.cz> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
de4d4adb58
commit
37aeb7a28d
1 changed files with 6 additions and 7 deletions
|
@ -132,16 +132,15 @@ config ROCKER
|
||||||
config CAN_BUS
|
config CAN_BUS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config CAN_PCI
|
|
||||||
bool
|
|
||||||
default y if PCI_DEVICES
|
|
||||||
depends on PCI
|
|
||||||
select CAN_BUS
|
|
||||||
|
|
||||||
config CAN_SJA1000
|
config CAN_SJA1000
|
||||||
bool
|
bool
|
||||||
default y if PCI_DEVICES
|
default y if PCI_DEVICES
|
||||||
depends on PCI
|
select CAN_BUS
|
||||||
|
|
||||||
|
config CAN_PCI
|
||||||
|
bool
|
||||||
|
default y if PCI_DEVICES
|
||||||
|
depends on PCI && CAN_SJA1000
|
||||||
select CAN_BUS
|
select CAN_BUS
|
||||||
|
|
||||||
config CAN_CTUCANFD
|
config CAN_CTUCANFD
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue