Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'mips-fixes_5.16_3' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux

Pull MIPS fix from Thomas Bogendoerfer:

- only enable pci_remap_iospace() for Ralink devices

* tag 'mips-fixes_5.16_3' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
MIPS: Only define pci_remap_iospace() for Ralink

+4 -4
+2
arch/mips/include/asm/mach-ralink/spaces.h
··· 6 6 #define PCI_IOSIZE SZ_64K 7 7 #define IO_SPACE_LIMIT (PCI_IOSIZE - 1) 8 8 9 + #define pci_remap_iospace pci_remap_iospace 10 + 9 11 #include <asm/mach-generic/spaces.h> 10 12 #endif
-4
arch/mips/include/asm/pci.h
··· 20 20 #include <linux/list.h> 21 21 #include <linux/of.h> 22 22 23 - #ifdef CONFIG_PCI_DRIVERS_GENERIC 24 - #define pci_remap_iospace pci_remap_iospace 25 - #endif 26 - 27 23 #ifdef CONFIG_PCI_DRIVERS_LEGACY 28 24 29 25 /*
+2
arch/mips/pci/pci-generic.c
··· 47 47 pci_read_bridge_bases(bus); 48 48 } 49 49 50 + #ifdef pci_remap_iospace 50 51 int pci_remap_iospace(const struct resource *res, phys_addr_t phys_addr) 51 52 { 52 53 unsigned long vaddr; ··· 61 60 set_io_port_base(vaddr); 62 61 return 0; 63 62 } 63 + #endif