ppc440_pcix: Fix up pci config access
commit5cbd51a5a58098444ffa246ece2013849be04299
authorBALATON Zoltan via <qemu-ppc@nongnu.org>
Sun, 3 Jan 2021 01:09:33 +0000 (3 02:09 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 6 Jan 2021 00:09:59 +0000 (6 11:09 +1100)
tree60631313129b31060c54a7796eab0a203b3139d4
parent2d4c816a8dcfb0d38712c3ffed5f5fcaedd7fe40
ppc440_pcix: Fix up pci config access

This fixes a long standing issue with MorphOS booting on sam460ex
which turns out to be because of suspicious values written to PCI
config address that apparently works on real machine but caused wrong
access on this device model. This replaces a previous work around for
this with a better fix that makes it work.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <6fd215ab2bc5f8d4455cd20ed1a2f059e4415fe5.1609636173.git.balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/ppc440_pcix.c