cmd646: Remove IDEBus from CMD646BAR
commite210ec87b93cf94212b5f522d514115dc3604975
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)
tree25b1db5a540fe01e1db78cd5d5880c96d2802abe
parent2ab2ef078504c9a4979bd5c457fdf5903292e0f7
cmd646: Remove IDEBus from CMD646BAR

The cmd646 io mem ops callbacks only need the IDEBus which is
currently passed via a CMD646BAR struct. No need to wrap it up like
that, we can pass it directly to these callbacks which then allows to
drop the IDEBus from the CMD646BAR.

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