Unbreak PCI config register, noticed by Stefan Weil.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2957 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-06-07 19:45:43 +00:00
parent 30b6f3a866
commit f00cb701b0

View File

@ -720,7 +720,7 @@ static uint32_t gt64120_readl (void *opaque,
if (!(s->pci->config_reg & (1u << 31))) if (!(s->pci->config_reg & (1u << 31)))
val = 0xffffffff; val = 0xffffffff;
else else
val = pci_data_read(s->pci->bus, s->pci->config_reg, 4); val = pci_host_data_readl(s->pci, 0);
break; break;
case GT_PCI0_CMD: case GT_PCI0_CMD: