Statistics
| Branch: | Revision:

root / hw / ide @ b3b162c3

Name Size
Makefile.objs 487 Bytes
ahci.c 39.2 kB
ahci.h 13.5 kB
atapi.c 34.6 kB
cmd646.c 10.4 kB
core.c 72 kB
ich.c 6.1 kB
internal.h 20.8 kB
isa.c 3.9 kB
macio.c 16.2 kB
microdrive.c 17.5 kB
mmio.c 5.1 kB
pci.c 14.9 kB
pci.h 1.5 kB
piix.c 8.7 kB
qdev.c 8.3 kB
via.c 7.2 kB

Latest revisions

# Date Author Comment
b3b162c3 07/23/2013 01:37 am Hu Tao

ahci: QOM'ify some more

Introduce type constant and avoid DO_UPCAST().

Signed-off-by: Hu Tao <>
[AF: Renamed parent field]
Signed-off-by: Andreas Färber <>

fd58922c 07/23/2013 01:37 am Peter Crosthwaite

ide/ich: QOM Upcast Sweep

Define and use standard QOM cast macro. Remove usages of DO_UPCAST()
and direct -> style upcasting.

Signed-off-by: Peter Crosthwaite <>
[AF: Renamed to TYPE_ICH9_AHCI and used typedef in pci_ich9_reset()]...

0d3aea56 07/23/2013 01:37 am Andreas Färber

ide/ich: QOM parent field cleanup

Replace direct uses of AHCIPCIState::card with QOM casts and rename it
to parent_obj.

Acked-by: Peter Crosthwaite <>
Signed-off-by: Andreas Färber <>

a62eaa26 07/15/2013 12:53 pm Kevin Wolf

ahci: Fix FLUSH command

AHCI couldn't cope with asynchronous commands that aren't doing DMA, it
simply wouldn't complete them. Due to the bug fixed in commit f68ec837,
FLUSH commands would seem to have completed immediately even if they
were still running on the host. After the commit, they would simply hang...

4aa3510f 07/11/2013 07:51 pm Alexander Graf

PPC: dbdma: macio: Add DMA callback

We need to know when the IDE core starts a DMA transfer. Add a notifier
function so we have the chance to start transmitting data.

Signed-off-by: Alexander Graf <>

cae32357 07/11/2013 07:51 pm Alexander Graf

PPC: dbdma: Wait for DMA until we have data

We should only start processing DMA requests when we have data to process.
Hold off working through the DMA shuffling until the IDE core told us that
it's ready.

This is required because the guest can program the DMA engine or the IDE...

80fc95d8 07/11/2013 07:51 pm Alexander Graf

PPC: dbdma: Support unaligned DMA access

The DBDMA engine really just reads bytes from a producing device (IDE
in our case) and shoves these bytes into memory. It doesn't care whether
any alignment takes place or not.

Our code today however assumes that block accesses always happen on...

f35ea98c 07/11/2013 07:51 pm Alexander Graf

PPC: dbdma: Support more multi-issue DMA requests

A DMA request can happen for data that hasn't been completely been
provided by the IDE core yet. For example

- DBDMA request for 0x1000 bytes
- IDE request for 1 sector
- DBDMA wants to read 0x1000 bytes (8 sectors) from bdrv...
8aef291f 07/11/2013 07:51 pm Alexander Graf

PPC: Macio: Replace tabs with spaces

s/^I/ /g on the file.

Signed-off-by: Alexander Graf <>

33ce36bb 07/11/2013 07:51 pm Alexander Graf

PPC: Mac: Add debug prints in macio and dbdma code

The macio code is basically undebuggable as it stands today, with no
debug prints anywhere whatsoever. DBDMA was better, but I needed a
few more to create reasonable logs that tell me where breakage is.
...

View revisions

Also available in: Atom