[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 09/25] ide: express dependencies with Kconfi
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [RFC PATCH 09/25] ide: express dependencies with Kconfig |
Date: |
Thu, 3 Jan 2019 16:47:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2018-12-27 07:34, Yang Zhong wrote:
> From: Paolo Bonzini <address@hidden>
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
[...]
> diff --git a/hw/ide/Kconfig b/hw/ide/Kconfig
> index 5ec449525f..091f3a81c9 100644
> --- a/hw/ide/Kconfig
> +++ b/hw/ide/Kconfig
> @@ -3,33 +3,44 @@ config IDE_CORE
>
> config IDE_QDEV
> bool
> + select IDE_CORE
>
> config IDE_PCI
> bool
> + select IDE_CORE
>
> config IDE_ISA
> bool
> + select IDE_QDEV
>
> config IDE_PIIX
> bool
> + select IDE_QDEV
>
> config IDE_CMD646
> bool
> + select IDE_QDEV
PIIX and CMD646 seem to be derived from TYPE_PCI_IDE, so shouldn't these
switches rather select IDE_PCI instead? (Or depend on IDE_PCI?)
> config IDE_MACIO
> bool
> + select IDE_QDEV
>
> config IDE_MMIO
> bool
> + select IDE_QDEV
>
> config IDE_VIA
> bool
> + select IDE_QDEV
dito, VIA is a PCI device, too.
> config MICRODRIVE
> bool
> + select IDE_QDEV
>
> config AHCI
> bool
> + select IDE_QDEV
>
> config IDE_SII3112
> bool
> + select IDE_QDEV
>
dito, SII3112 is a PCI device.
Thomas
- Re: [Qemu-devel] [RFC PATCH 09/25] ide: express dependencies with Kconfig,
Thomas Huth <=