mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
ide: Split non-qdev code off ide_init2()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
870111c8ed
commit
57234ee40d
8 changed files with 35 additions and 19 deletions
|
@ -125,7 +125,7 @@ void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
|
|||
MMIOState *s = qemu_mallocz(sizeof(MMIOState));
|
||||
int mem1, mem2;
|
||||
|
||||
ide_init2(&s->bus, hd0, hd1, irq);
|
||||
ide_init2_with_non_qdev_drives(&s->bus, hd0, hd1, irq);
|
||||
|
||||
s->shift = shift;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue