qemu/hw/ide
BALATON Zoltan 4eefdf7c1b sii3112: Remove duplicated code and use PCI IDE ops instead
Parts of the SiI3112 mmio are identical to PCI IDE registers so we can
use the corresponding functions that were factored out into ide/pci.c.
This removes code duplication and simplifies the SiI3112 model which
also helped to spot a copy paste error where reading status of the
2nd channel read the 1st channel instead. This is also fixed here.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 793b6a7934ef2bba26b8d066bec446019efa6c5d.1547166960.git.balaton@eik.bme.hu
Signed-off-by: John Snow <jsnow@redhat.com>
2019-01-25 14:52:11 -05:00
..
ahci_internal.h ahci: fix FIS I bit and PIO Setup FIS interrupt 2018-06-25 16:50:48 -04:00
ahci-allwinner.c ide: use local path for local headers 2018-06-01 19:20:37 +03:00
ahci.c ahci: fix FIS I bit and PIO Setup FIS interrupt 2018-06-25 16:50:48 -04:00
atapi.c ide: introduce ide_transfer_start_norecurse 2018-06-08 13:36:31 -04:00
cmd646.c ide: Get rid of CMD646BAR struct 2019-01-25 14:52:11 -05:00
core.c avoid TABs in files that only contain a few 2019-01-11 15:46:56 +01:00
ich.c ide: use local path for local headers 2018-06-01 19:20:37 +03:00
isa.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
macio.c macio: add addr property to macio IDE object 2018-08-30 10:42:18 +10:00
Makefile.objs hw/ide: Emulate SiI3112 SATA controller 2018-01-10 12:53:00 +11:00
microdrive.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
mmio.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-03-12 16:12:46 +01:00
pci.c cmd646: Move PCI IDE specific functions to ide/pci.c 2019-01-25 14:52:11 -05:00
piix.c trivial: Don't include isa.h if it is not really necessary 2019-01-09 11:24:35 +01:00
qdev.c block: Remove deprecated -drive option serial 2018-08-15 12:50:39 +02:00
sii3112.c sii3112: Remove duplicated code and use PCI IDE ops instead 2019-01-25 14:52:11 -05:00
trace-events ide: push end_transfer_func out of start_transfer callback, rename callback 2018-06-08 13:36:25 -04:00
via.c trivial: Don't include isa.h if it is not really necessary 2019-01-09 11:24:35 +01:00