mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
hw/ide: Split qdev.c into ide-bus.c and ide-dev.c
qdev.c is a mixture between IDE bus specific functions and IDE device functions. Let's split it up to make it more obvious which part is related to bus handling and which part is related to device handling. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-ID: <20240220085505.30255-3-thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
bd217d88dc
commit
7bd8b0d4f5
5 changed files with 134 additions and 99 deletions
|
@ -1,51 +1,58 @@
|
|||
config IDE_CORE
|
||||
bool
|
||||
|
||||
config IDE_QDEV
|
||||
config IDE_BUS
|
||||
bool
|
||||
select IDE_CORE
|
||||
|
||||
config IDE_DEV
|
||||
bool
|
||||
depends on IDE_BUS
|
||||
|
||||
config IDE_PCI
|
||||
bool
|
||||
depends on PCI
|
||||
select IDE_QDEV
|
||||
select IDE_BUS
|
||||
select IDE_DEV
|
||||
|
||||
config IDE_ISA
|
||||
bool
|
||||
depends on ISA_BUS
|
||||
select IDE_QDEV
|
||||
select IDE_BUS
|
||||
select IDE_DEV
|
||||
|
||||
config IDE_PIIX
|
||||
bool
|
||||
select IDE_PCI
|
||||
select IDE_QDEV
|
||||
|
||||
config IDE_CMD646
|
||||
bool
|
||||
select IDE_PCI
|
||||
select IDE_QDEV
|
||||
|
||||
config IDE_MACIO
|
||||
bool
|
||||
select IDE_QDEV
|
||||
select IDE_BUS
|
||||
select IDE_DEV
|
||||
|
||||
config IDE_MMIO
|
||||
bool
|
||||
select IDE_QDEV
|
||||
select IDE_BUS
|
||||
select IDE_DEV
|
||||
|
||||
config IDE_VIA
|
||||
bool
|
||||
select IDE_PCI
|
||||
select IDE_QDEV
|
||||
|
||||
config MICRODRIVE
|
||||
bool
|
||||
select IDE_QDEV
|
||||
select IDE_BUS
|
||||
select IDE_DEV
|
||||
depends on PCMCIA
|
||||
|
||||
config AHCI
|
||||
bool
|
||||
select IDE_QDEV
|
||||
select IDE_BUS
|
||||
select IDE_DEV
|
||||
|
||||
config AHCI_ICH9
|
||||
bool
|
||||
|
@ -56,8 +63,7 @@ config AHCI_ICH9
|
|||
config IDE_SII3112
|
||||
bool
|
||||
select IDE_PCI
|
||||
select IDE_QDEV
|
||||
|
||||
config IDE_CF
|
||||
bool
|
||||
default y if IDE_QDEV
|
||||
default y if IDE_BUS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue