aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/macio.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-06-24 21:40:50 +0200
committerAlexander Graf <agraf@suse.de>2013-07-11 18:51:24 +0200
commit14eefd0ec3b4720faddf4cc7682d7ac8c82a3a45 (patch)
treed89cbae65495d78fee324c6351e9e23f3d22520b /hw/ide/macio.c
parent536d8cda4adef3d202a800688ed5f63dae1f0f88 (diff)
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>
Diffstat (limited to 'hw/ide/macio.c')
-rw-r--r--hw/ide/macio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index 479820239e..0b05a74e45 100644
--- a/hw/ide/macio.c
+++ b/hw/ide/macio.c
@@ -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;