mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
2ab2ef0785
commit
e210ec87b9
2 changed files with 14 additions and 16 deletions
|
@ -40,7 +40,6 @@ typedef struct BMDMAState {
|
|||
typedef struct CMD646BAR {
|
||||
MemoryRegion cmd;
|
||||
MemoryRegion data;
|
||||
IDEBus *bus;
|
||||
} CMD646BAR;
|
||||
|
||||
#define TYPE_PCI_IDE "pci-ide"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue