]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Handle ioport_map() cases for >= P1SEG addresses.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 28 Sep 2009 06:04:04 +0000 (15:04 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Sep 2009 06:04:04 +0000 (15:04 +0900)
commit1a26b50874c489a4e3c893da183db3cbaa4528a2
tree378fdbbbb81699f2c5cf2d57e187c7f7b9843fa5
parent62edfc17859f65d528fe1eaa5d7d5bbac5d6aa09
sh: Handle ioport_map() cases for >= P1SEG addresses.

This fixes up the case where certain drivers already do their own
remapping and subsequently attempt to use the PIO calls for I/O. In this
case there is no additional remapping that needs to be done, and the
address can be casted in to the cookie directly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/io_generic.c