qemu/hw/ide
Paolo Bonzini 7c28b925b7 build: convert pci.mak to Kconfig
Instead of including the same list of devices for each target,
set CONFIG_PCI to true, and make the devices default to present
whenever PCI is available.  However, s390x does not want all the
PCI devices, so there is a separate symbol to enable them.

Done mostly 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 if PCI_DEVICES\' -e'    depends on PCI' \
          `grep -lw $i hw/*/Kconfig`
  done < default-configs/pci.mak

followed by replacing a few "depends on" clauses with "select"
whenever the symbol is not really related to PCI.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190123065618.3520-31-yang.zhong@intel.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-03-07 21:45:53 +01:00
..
ahci_internal.h ahci: fix FIS I bit and PIO Setup FIS interrupt 2018-06-25 16:50:48 -04:00
ahci-allwinner.c ide: use local path for local headers 2018-06-01 19:20:37 +03:00
ahci.c ahci: fix FIS I bit and PIO Setup FIS interrupt 2018-06-25 16:50:48 -04:00
atapi.c hw/ide: drop iov field from IDEDMA 2019-02-22 09:42:13 +00:00
cmd646.c ide: Get rid of CMD646BAR struct 2019-01-25 14:52:11 -05:00
core.c hw/ide: drop iov field from IDEBufferedRequest 2019-02-22 09:42:13 +00:00
ich.c ide: use local path for local headers 2018-06-01 19:20:37 +03:00
ioport.c ide: split ioport registration to a separate file 2019-02-05 16:50:19 +01:00
isa.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
Kconfig build: convert pci.mak to Kconfig 2019-03-07 21:45:53 +01:00
macio.c macio: add addr property to macio IDE object 2018-08-30 10:42:18 +10:00
Makefile.objs ide: split ioport registration to a separate file 2019-02-05 16:50:19 +01:00
microdrive.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
mmio.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
pci.c cmd646: Move PCI IDE specific functions to ide/pci.c 2019-01-25 14:52:11 -05:00
piix.c trivial: Don't include isa.h if it is not really necessary 2019-01-09 11:24:35 +01:00
qdev.c block: Remove deprecated -drive option serial 2018-08-15 12:50:39 +02:00
sii3112.c sii3112: Remove duplicated code and use PCI IDE ops instead 2019-01-25 14:52:11 -05:00
trace-events ide: push end_transfer_func out of start_transfer callback, rename callback 2018-06-08 13:36:25 -04:00
via.c ide/via: Implement and use native PCI IDE mode 2019-01-25 14:52:12 -05:00