OSDN Git Service

PPC: Use macio IDE controller for Newworld
authorAlexander Graf <agraf@suse.de>
Tue, 9 Feb 2010 16:37:06 +0000 (17:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Feb 2010 14:10:54 +0000 (16:10 +0200)
commitdffc07ca92bbc21c02850242104cb77a53335325
treeda829a9719d1362a1305b84b21ae842614f78bb6
parentdc333cd60950185cdc069b4863b23fa262223d03
PPC: Use macio IDE controller for Newworld

Per default Linux doesn't come with a lot of storage adapters enabled on
Mac configurations. The one that's pretty much always present is the pmac-ide,
while the cmd64x is almost never included in any distribution.

So let's switch to use the MacIO based IDE controller. There is corresponding
OpenBIOS code to get interrupts working properly.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ppc_newworld.c