From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 00/12] PCI IDE cleanup
Date: Wed, 7 Oct 2009 16:56:17 +0200 [thread overview]
Message-ID: <cover.1254927186.git.quintela@redhat.com> (raw)
This patch cleans ide/pci.c:
- useless casts
- split piix and cmd646 from pci.c, this allows remove some code
- clean cmd646 to allow th eremoval of pci_dev from BMDMAState.
Later, Juan.
Juan Quintela (12):
ide: change cast to DO_UPCAST
ide: Remove cast in pci_register_bar
ide: Remove duplicated definitions
ide: remove uselsess casts from void *
ide: create ide/pci.h for common ide pci definitions
ide: export needed ide-pci functions for split
ide: split cmd646 and piix from pci.c
ide: PCIIDEState type field is not needed anymore
ide: 'secondary' field is only used by cmd646
ide: cmd646 we can get the pci device with container_of
ide: cmd646 ->unit has just the value that we want
ide: BMDMAState don't need a pci_dev field anymore
Makefile.target | 7 +-
hw/ide/cmd646.c | 272 ++++++++++++++++++++++++++++++++++++
hw/ide/internal.h | 7 -
hw/ide/microdrive.c | 18 ++--
hw/ide/mmio.c | 8 +-
hw/ide/pci.c | 378 ++-------------------------------------------------
hw/ide/pci.h | 23 +++
hw/ide/piix.c | 195 ++++++++++++++++++++++++++
8 files changed, 518 insertions(+), 390 deletions(-)
create mode 100644 hw/ide/cmd646.c
create mode 100644 hw/ide/pci.h
create mode 100644 hw/ide/piix.c
next reply other threads:[~2009-10-07 14:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 14:56 Juan Quintela [this message]
2009-10-07 14:56 ` [Qemu-devel] [PATCH 01/12] ide: change cast to DO_UPCAST Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 02/12] ide: Remove cast in pci_register_bar Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 03/12] ide: Remove duplicated definitions Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 04/12] ide: remove uselsess casts from void * Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 05/12] ide: create ide/pci.h for common ide pci definitions Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 06/12] ide: export needed ide-pci functions for split Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 07/12] ide: split cmd646 and piix from pci.c Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 08/12] ide: PCIIDEState type field is not needed anymore Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 09/12] ide: 'secondary' field is only used by cmd646 Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 10/12] ide: cmd646 we can get the pci device with container_of Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 11/12] ide: cmd646 ->unit has just the value that we want Juan Quintela
2009-10-07 14:56 ` [Qemu-devel] [PATCH 12/12] ide: BMDMAState don't need a pci_dev field anymore Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1254927186.git.quintela@redhat.com \
--to=quintela@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).