Commit f00cb701b051427895d9c807126518c5b2208b5d
1 parent
30b6f3a8
Unbreak PCI config register, noticed by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2957 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
hw/gt64xxx.c
... | ... | @@ -720,7 +720,7 @@ static uint32_t gt64120_readl (void *opaque, |
720 | 720 | if (!(s->pci->config_reg & (1u << 31))) |
721 | 721 | val = 0xffffffff; |
722 | 722 | else |
723 | - val = pci_data_read(s->pci->bus, s->pci->config_reg, 4); | |
723 | + val = pci_host_data_readl(s->pci, 0); | |
724 | 724 | break; |
725 | 725 | |
726 | 726 | case GT_PCI0_CMD: | ... | ... |