PPC: Uninorth config space accessor
commitd86f0e32c61065d670fa9b0f9a0c2a12e4c80c73
authorAlexander Graf <agraf@suse.de>
Tue, 9 Feb 2010 16:37:01 +0000 (9 17:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Feb 2010 14:10:54 +0000 (14 16:10 +0200)
tree73e24e0c82b2f75a558ea6c36f4d4f5b12a388cf
parent9f6f0423cf925c7750d62133facaae4e0fcbb698
PPC: Uninorth config space accessor

The Uninorth PCI bridge requires different layouts in its PCI config space
accessors.

This patch introduces a conversion function that makes it compatible with
the way Linux accesses it.

I also kept an OpenBIOS compatibility hack in. I think it'd be better to
take small steps here and do the config space access rework in OpenBIOS
later on. When that's done we can remove that hack.

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