mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
PPC: g3beige: Move secondary IDE bus to mac-io
On a real G3 Beige the secondary IDE bus lives on the mac-io chip, not on some random PCI device. Move it there to become more compatible. While at it, also clean up the IDE channel connection logic. Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
536d8cda4a
commit
14eefd0ec3
3 changed files with 64 additions and 48 deletions
|
@ -363,7 +363,7 @@ static void macio_ide_register_types(void)
|
|||
type_register_static(&macio_ide_type_info);
|
||||
}
|
||||
|
||||
/* hd_table must contain 4 block drivers */
|
||||
/* hd_table must contain 2 block drivers */
|
||||
void macio_ide_init_drives(MACIOIDEState *s, DriveInfo **hd_table)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue