mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-30 23:10:38 +00:00
72ea60e411
Some machines use floppy controllers via the SysBus interface,
and don't need to pull in all the ISA code.
Extract the ISA specific code to a new unit: fdc-isa.c, and
add a new Kconfig symbol: "FDC_ISA".
This allows us to remove the FIXME from commit dd0ff8191a
("isa: express SuperIO dependencies with Kconfig").
Reviewed-by: John Snow <jsnow@redhat.com>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210614193220.2007159-5-philmd@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
68 lines
1.1 KiB
Plaintext
68 lines
1.1 KiB
Plaintext
config ISA_BUS
|
|
bool
|
|
|
|
config APM
|
|
bool
|
|
|
|
config I82378
|
|
bool
|
|
select ISA_BUS
|
|
select I8259
|
|
select I8254
|
|
select I82374
|
|
select MC146818RTC
|
|
select PCSPK
|
|
|
|
config ISA_SUPERIO
|
|
bool
|
|
select ISA_BUS
|
|
select PCKBD
|
|
select FDC_ISA
|
|
|
|
config PC87312
|
|
bool
|
|
select ISA_SUPERIO
|
|
select I8259
|
|
select I8254
|
|
select I8257
|
|
select MC146818RTC
|
|
select SERIAL_ISA
|
|
select PARALLEL
|
|
select FDC_ISA
|
|
select IDE_ISA
|
|
|
|
config PIIX3
|
|
bool
|
|
select ISA_BUS
|
|
|
|
config PIIX4
|
|
bool
|
|
# For historical reasons, SuperIO devices are created in the board
|
|
# for PIIX4.
|
|
select ISA_BUS
|
|
select USB_UHCI
|
|
|
|
config VT82C686
|
|
bool
|
|
select ISA_SUPERIO
|
|
select ACPI_SMBUS
|
|
select SERIAL_ISA
|
|
select FDC_ISA
|
|
select USB_UHCI
|
|
select APM
|
|
|
|
config SMC37C669
|
|
bool
|
|
select ISA_SUPERIO
|
|
select SERIAL_ISA
|
|
select PARALLEL
|
|
select FDC_ISA
|
|
|
|
config LPC_ICH9
|
|
bool
|
|
# For historical reasons, SuperIO devices are created in the board
|
|
# for ICH9.
|
|
select ISA_BUS
|
|
select ACPI_SMBUS
|
|
select ACPI_X86_ICH
|