Pb1200/DBAu1200: fix bad IDE resource size
commitb4dcaea36b0376456c97698deba0089d2d67cbe7
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 16 Apr 2008 23:14:33 +0000 (17 01:14 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Apr 2008 23:14:33 +0000 (17 01:14 +0200)
tree9dd0a07edf2f15b2a8caeade081915e9f770f256
parentfabd3a223a96de1a91b2148655f2ed09ca9d1c20
Pb1200/DBAu1200: fix bad IDE resource size

The header files for the Pb1200/DBAu1200 boards have wrong definition for the
IDE interface's decoded range length -- it should be 512 bytes according to
what the IDE driver does.  In addition, the IDE platform device claims 1 byte
too many for its memory resource -- fix the platform code and the IDE driver
in accordance.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
arch/mips/au1000/common/platform.c
drivers/ide/mips/au1xxx-ide.c
include/asm-mips/mach-db1x00/db1200.h
include/asm-mips/mach-pb1x00/pb1200.h