]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Alchemy: SMBus resource fix
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 5 Apr 2008 18:16:21 +0000 (22:16 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 May 2008 15:46:50 +0000 (16:46 +0100)
commit8e07c2c6af30dccfa573033d280980b2b5eb35fe
tree1e6b01e37a4a6ea105f01d2e638fc58f5a19a2f0
parent492c2e476eac010962850006c49df326919b284c
[MIPS] Alchemy: SMBus resource fix

The Alchemy platform code registers the SMBus device using the virtual
address of its registers instead of the physical one -- fix this, taking
into account that actually the whole megabyte is decoded by any of the
programmable serial controllers (one of which is SMBus), and that all the
Alchemy peripherals are directly mappable into KSEG1 kernel space and
therefore ioremap() call would just boil down to CKSEG1ADDR() invocation.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/platform.c
drivers/i2c/busses/i2c-au1550.c