[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 12/13] config: add generic pci config file
From: |
Alexander Graf |
Subject: |
[Qemu-devel] Re: [PATCH 12/13] config: add generic pci config file |
Date: |
Sat, 27 Nov 2010 01:49:08 +0100 |
On 27.11.2010, at 01:16, Paul Brook wrote:
>> Currently we list PCI devices in every PCI capable architecture
>> individually. This is cumbersome when adding new devices and prone to
>> failure because one might miss out on one.
>>
>> So let's instead have a generic PCI configuration file where people can
>> throw in their cross-platform compatible PCI devices and thus make it
>> available to ever architecture that supports PCI too.
>
> I'm pretty sure this will overwrite user-edited $target/pci-devices.mak every
> time default-configs/pci-devices.mak is modified. It also requires that the
> makefile be modified every time a new include file is added.
>
> I've comitted a solution that fixes these issues.
I updated the git tree to reflect this. I ripped out the whole pci makefile
stuff and moved the CONFIG_AHCI=y to pci.mak. The actual ahci emulation is
still the same.
It contains the following patches now:
Alexander Graf (10):
ide: split ide command interpretation off
ide: fix whitespace gap in ide_exec_cmd
ide: add DMA hooks to bus ops
pci: add storage class for sata
pci: add ich7 pci id
ahci: add ahci emulation
ahci: add -drive support
ahci: spawn controller on demand
ide: move pata specific parts to pata.c
config: add ahci for pci capable machines
Roland Elek (2):
ide: add support for ide bus ops
ide: add ncq identify data for ahci sata drives
Makefile.objs | 3 +-
blockdev.c | 41 ++-
blockdev.h | 2 +
default-configs/pci.mak | 1 +
hw/ide/ahci.c | 1380 +++++++++++++++++++++++++++++++++++++++++++++++
hw/ide/core.c | 874 ++++++++++++++-----------------
hw/ide/internal.h | 37 +-
hw/ide/pata.c | 178 ++++++
hw/pci.h | 1 +
hw/pci_ids.h | 1 +
qemu-common.h | 2 +-
vl.c | 2 +
12 files changed, 2031 insertions(+), 491 deletions(-)
create mode 100644 hw/ide/ahci.c
create mode 100644 hw/ide/pata.c
- [Qemu-devel] [PATCH 07/13] pci: add ich7 pci id, (continued)
- [Qemu-devel] [PATCH 07/13] pci: add ich7 pci id, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 09/13] ahci: add -drive support, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 04/13] ide: add DMA hooks to bus ops, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 06/13] pci: add storage class for sata, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 03/13] ide: add support for ide bus ops, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 10/13] ahci: spawn controller on demand, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 05/13] ide: add ncq identify data for ahci sata drives, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 11/13] ide: move pata specific parts to pata.c, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 12/13] config: add generic pci config file, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 13/13] config: add ahci for pci capable machines, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 08/13] ahci: add ahci emulation, Alexander Graf, 2010/11/26
- [Qemu-devel] [PATCH 02/13] ide: fix whitespace gap in ide_exec_cmd, Alexander Graf, 2010/11/26