From: Sergei Shtylyov Date: Tue, 15 Apr 2008 18:20:45 +0000 (+0400) Subject: [MIPS] DBAu1200: fix bad SMC 91C111 resource size X-Git-Tag: v2.6.26-rc1~700^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3854c69a0d3080c8647f7b041da2382702f574b7;p=linux-2.6-omap-h63xx.git [MIPS] DBAu1200: fix bad SMC 91C111 resource size The on-board SMC 91C111 chip only decodes 16 bytes of memory (obviously, it can not decode a whole megabyte starting from address 0x19000300). Signed-off-by: Sergei Shtylyov Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/au1000/common/platform.c b/arch/mips/au1000/common/platform.c index 7167972b127..06752f53fa8 100644 --- a/arch/mips/au1000/common/platform.c +++ b/arch/mips/au1000/common/platform.c @@ -298,7 +298,7 @@ static struct resource smc91x_resources[] = { [0] = { .name = "smc91x-regs", .start = AU1XXX_SMC91111_PHYS_ADDR, - .end = AU1XXX_SMC91111_PHYS_ADDR + 0xfffff, + .end = AU1XXX_SMC91111_PHYS_ADDR + 0xf, .flags = IORESOURCE_MEM, }, [1] = {