Commit f00cb701 authored by ths's avatar ths
Browse files

Unbreak PCI config register, noticed by Stefan Weil.

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 30b6f3a8
......@@ -720,7 +720,7 @@ static uint32_t gt64120_readl (void *opaque,
if (!(s->pci->config_reg & (1u << 31)))
val = 0xffffffff;
val = pci_data_read(s->pci->bus, s->pci->config_reg, 4);
val = pci_host_data_readl(s->pci, 0);
case GT_PCI0_CMD:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment