3bc2a62306dad5ef8422c6440ec2f6d57de40e10
[openwrt/openwrt.git] / target / linux / lantiq / patches-4.4 / 0042-arch-mips-increase-io_space_limit.patch
1 From 9807eb80a1b3bad7a4a89aa6566497bb1cadd6ef Mon Sep 17 00:00:00 2001
2 From: John Crispin <john@phrozen.org>
3 Date: Fri, 3 Jun 2016 13:12:20 +0200
4 Subject: [PATCH] arch: mips: increase io_space_limit
5
6 this value comes from x86 and breaks some pci devices
7
8 Signed-off-by: John Crispin <john@phrozen.org>
9 ---
10 arch/mips/include/asm/io.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
14 index d10fd80..d42eac9 100644
15 --- a/arch/mips/include/asm/io.h
16 +++ b/arch/mips/include/asm/io.h
17 @@ -50,7 +50,7 @@
18
19 /* ioswab[bwlq], __mem_ioswab[bwlq] are defined in mangle-port.h */
20
21 -#define IO_SPACE_LIMIT 0xffff
22 +#define IO_SPACE_LIMIT 0x200000
23
24 /*
25 * On MIPS I/O ports are memory mapped, so we access them using normal
26 --
27 1.7.10.4
28