lantiq: add support for kernel 4.9
[openwrt/staging/chunkeey.git] / target / linux / lantiq / patches-4.9 / 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 --- a/arch/mips/include/asm/io.h
14 +++ b/arch/mips/include/asm/io.h
15 @@ -50,7 +50,7 @@
16
17 /* ioswab[bwlq], __mem_ioswab[bwlq] are defined in mangle-port.h */
18
19 -#define IO_SPACE_LIMIT 0xffff
20 +#define IO_SPACE_LIMIT 0xffffffff
21
22 /*
23 * On MIPS I/O ports are memory mapped, so we access them using normal