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)
commit7b47618e8661740a1df5f17df860673baeda217f
treeda829a9719d1362a1305b84b21ae842614f78bb6
parent772730bb8af1264382c8076c77822cfdfd10eaf3
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