qemu-patch-raspberry4/hw/ide
Benjamin Herrenschmidt 4f7265ff17 ppc/ide/macio: Add missing registers
The timing register exists on all variants of MacIO IDE, we just
store and return its value.

The interrupts register only exists on KeyLargo but it doesn't
hurt to have it. The lack of this register causes MacOS X to
hangs under some circumstances.

Both are 32-bit only. The HW might support smaller access sizes
but no known OS uses them.

Because the core IDE subsystem doesn't provide us with a way
to query the main (level) interrupt state, nor do we have a way
to know that DBDMA issued a (edge) interrupt, we reflect both
through a private pair of qirq's in order to maintain the
register state.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-09-27 13:05:41 +10:00
..
ahci.c ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
ahci_internal.h AHCI: Rework IRQ constants 2017-09-18 19:41:11 -04:00
atapi.c IDE: replace DEBUG_AIO with trace events 2017-09-18 15:01:26 -04:00
cmd646.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
core.c ide: fix enum comparison for gcc 4.7 2017-09-22 13:23:53 +01:00
ich.c ahci: split public and private interface 2017-07-18 11:47:57 -04:00
isa.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
macio.c ppc/ide/macio: Add missing registers 2017-09-27 13:05:41 +10:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c hw/ide/microdrive: Mark the dscm1xxxx device with user_creatable = false 2017-09-18 15:01:25 -04:00
mmio.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
pci.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
piix.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00
qdev.c hw/ide: Convert DeviceClass init to realize 2017-09-18 19:43:38 -04:00
trace-events AHCI: pretty-print FIS to buffer instead of stderr 2017-09-18 19:41:11 -04:00
via.c IDE: replace DEBUG_IDE with tracing system 2017-09-18 15:01:25 -04:00