cmd646: Move PCI IDE specific functions to ide/pci.c
commitc9ebc75dc24f99e881414e7f35544041f678235a
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 25 Jan 2019 19:52:11 +0000 (25 14:52 -0500)
committerJohn Snow <jsnow@redhat.com>
Fri, 25 Jan 2019 19:52:11 +0000 (25 14:52 -0500)
treeb65d1de3d381547bfc4fbff70b8200b74631d971
parente210ec87b93cf94212b5f522d514115dc3604975
cmd646: Move PCI IDE specific functions to ide/pci.c

The io mem ops callbacks are not specific to CMD646 but really follow
the PCI IDE spec so move these from cmd646.c to pci.c to allow other
PCI IDE implementations to use them.

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: a2b1b2b74afdc78330b8b75605687f683a249635.1547166960.git.balaton@eik.bme.hu
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/cmd646.c
hw/ide/pci.c
include/hw/ide/pci.h