10 #include <linux/pci.h>
15 static struct resource loongson_pci_mem_resource = {
16 .name =
"pci memory space",
22 static struct resource loongson_pci_io_resource = {
23 .name =
"pci io space",
31 .io_resource = &loongson_pci_io_resource,
32 .mem_resource = &loongson_pci_mem_resource,
33 .mem_offset = 0x00000000
UL,
34 .io_offset = 0x00000000
UL,
37 static void __init setup_pcimap(
void)
71 #ifdef CONFIG_CPU_SUPPORTS_ADDRWINCFG
75 LOONGSON_ADDRWIN_CPUTOPCI(ADDRWIN_WIN2, LOONGSON_CPU_MEM_SRC,
76 LOONGSON_PCI_MEM_DST, MMAP_CPUTOPCI_SIZE);