Sparc64: Fix PCI config accessor order

Fix by Igor Kovalenko.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2010-01-12 20:04:53 +00:00
parent cc6dfecf02
commit 3eb26cc216

View File

@ -169,15 +169,15 @@ static uint32_t apb_pci_config_readb(void *opaque, target_phys_addr_t addr)
} }
static CPUWriteMemoryFunc * const apb_pci_config_writes[] = { static CPUWriteMemoryFunc * const apb_pci_config_writes[] = {
&apb_pci_config_writel,
&apb_pci_config_writew,
&apb_pci_config_writeb, &apb_pci_config_writeb,
&apb_pci_config_writew,
&apb_pci_config_writel,
}; };
static CPUReadMemoryFunc * const apb_pci_config_reads[] = { static CPUReadMemoryFunc * const apb_pci_config_reads[] = {
&apb_pci_config_readl,
&apb_pci_config_readw,
&apb_pci_config_readb, &apb_pci_config_readb,
&apb_pci_config_readw,
&apb_pci_config_readl,
}; };
static void pci_apb_iowriteb (void *opaque, target_phys_addr_t addr, static void pci_apb_iowriteb (void *opaque, target_phys_addr_t addr,