qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] AHCI support integration
@ 2010-05-09 16:01 Sebastian Herbszt
  2010-05-09 19:11 ` [Qemu-devel] " Alexander Graf
  2010-05-10  8:10 ` [Qemu-devel] " Christoph Egger
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Herbszt @ 2010-05-09 16:01 UTC (permalink / raw)
  To: qemu-devel
  Cc: 乔崇, Joerg Roedel, Sebastian Herbszt, Alexander Graf,
	Elek Roland

The ICH6 AHCI implementation submitted by Chong is an all-in-one attempt (ahci.c).
It includes all needed parts of the ICH6, AHCI, SATA and ATA specification.
The code in hw/ide/* on the other hand is split (or could be split) into smaller parts like
port based and bus master access, IDE and ATA core.
I think it might be reasonable to split ahci.c into ICH6, AHCI and SATA parts and strip the
limited ATA support and reuse it from the ide core.
This would give us something like the following:

hw/ide/piix.c (PIIX3 and PIIX4)
hw/ide/pci.c and core.c (IDE, BM)
hw/ata-core.c (ATA)
hw/sata/ich6.c (ICH6)
hw/sata-core.c (SATA)
hw/ahci-core.c (AHCI)

Should this be a goal or am i over-engineering here?

Sebastian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-10  9:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-09 16:01 [Qemu-devel] AHCI support integration Sebastian Herbszt
2010-05-09 19:11 ` [Qemu-devel] " Alexander Graf
2010-05-10  6:55   ` Tejun Heo
2010-05-10  8:12   ` Christoph Egger
2010-05-10  9:45   ` Joerg Roedel
2010-05-10  8:10 ` [Qemu-devel] " Christoph Egger

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).