arch/mips/include/asm/mach-ralink/spaces.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef __ASM_MACH_RALINK_SPACES_H_ |
| 3 | #define __ASM_MACH_RALINK_SPACES_H_ |
| 4 | |
| 5 | #define PCI_IOBASE (void __iomem *)mips_io_port_base |
| 6 | #define PCI_IOSIZE SZ_64K |
| 7 | #define IO_SPACE_LIMIT (PCI_IOSIZE - 1) |
| 8 | |
| 9 | #ifdef CONFIG_PCI_DRIVERS_GENERIC |
| 10 | #define pci_remap_iospace pci_remap_iospace |
| 11 | #endif |
| 12 | |
| 13 | #include <asm/mach-generic/spaces.h> |
| 14 | #endif |