lantiq: add Linux 5.10 support as testing kernel
[openwrt/staging/wigyori.git] / target / linux / lantiq / patches-5.10 / 0042-arch-mips-increase-io_space_limit.patch
index 7c0d10ed1019cf8fbaa9249955515489fce4af42..c81222af578b798169362a6da4ca9827a016ca12 100644 (file)
@@ -7,17 +7,18 @@ this value comes from x86 and breaks some pci devices
 
 Signed-off-by: John Crispin <john@phrozen.org>
 ---
- arch/mips/include/asm/io.h |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ arch/mips/include/asm/mach-lantiq/spaces.h | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+ create mode 100644 arch/mips/include/asm/mach-lantiq/spaces.h
 
---- a/arch/mips/include/asm/io.h
-+++ b/arch/mips/include/asm/io.h
-@@ -53,7 +53,7 @@
- /* ioswab[bwlq], __mem_ioswab[bwlq] are defined in mangle-port.h */
--#define IO_SPACE_LIMIT 0xffff
-+#define IO_SPACE_LIMIT 0xffffffff
- /*
-  * On MIPS I/O ports are memory mapped, so we access them using normal
+--- /dev/null
++++ b/arch/mips/include/asm/mach-lantiq/spaces.h
+@@ -0,0 +1,8 @@
++/* SPDX-License-Identifier: GPL-2.0 */
++#ifndef __ASM_MACH_LANTIQ_SPACES_H_
++#define __ASM_MACH_LANTIQ_SPACES_H_
++
++#define IO_SPACE_LIMIT  0xffffffff
++
++#include <asm/mach-generic/spaces.h>
++#endif