mirror of
https://github.com/qemu/qemu.git
synced 2024-12-06 02:03:38 +08:00
bcb129b315
There is really nothing special in these devices; they are just ISA devices. Instead of including them for each target, set CONFIG_ISA_BUS to true, and make the devices default to present whenever ISA is available. More conversion of ISA devices will follow. Done with the following script: while read i; do i=${i%=y}; i=${i#CONFIG_} sed -i -e'/^config '$i'$/!b' -en \ -e'a\' -e' default y\' -e' depends on ISA_BUS' \ `grep -lw $i hw/*/Kconfig` done < default-configs/sound.mak Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190123065618.3520-32-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
50 lines
576 B
Plaintext
50 lines
576 B
Plaintext
config SB16
|
|
bool
|
|
default y
|
|
depends on ISA_BUS
|
|
|
|
config ES1370
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
|
|
config AC97
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
|
|
config ADLIB
|
|
bool
|
|
default y
|
|
depends on ISA_BUS
|
|
|
|
config GUS
|
|
bool
|
|
default y
|
|
depends on ISA_BUS
|
|
|
|
config CS4231A
|
|
bool
|
|
default y
|
|
depends on ISA_BUS
|
|
|
|
config HDA
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
|
|
config PCSPK
|
|
bool
|
|
|
|
config WM8750
|
|
bool
|
|
|
|
config PL041
|
|
bool
|
|
|
|
config CS4231
|
|
bool
|
|
|
|
config MARVELL_88W8618
|
|
bool
|