X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fpatches-5.10%2F0042-arch-mips-increase-io_space_limit.patch;h=c81222af578b798169362a6da4ca9827a016ca12;hb=0806f8fc80e602b88ac80a334dccf07e1334d416;hp=7c0d10ed1019cf8fbaa9249955515489fce4af42;hpb=e44e454ee65bb0631fbea64ea1e30b40735ed97b;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/lantiq/patches-5.10/0042-arch-mips-increase-io_space_limit.patch b/target/linux/lantiq/patches-5.10/0042-arch-mips-increase-io_space_limit.patch index 7c0d10ed10..c81222af57 100644 --- a/target/linux/lantiq/patches-5.10/0042-arch-mips-increase-io_space_limit.patch +++ b/target/linux/lantiq/patches-5.10/0042-arch-mips-increase-io_space_limit.patch @@ -7,17 +7,18 @@ this value comes from x86 and breaks some pci devices Signed-off-by: John Crispin --- - 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 ++#endif