]> git.baikalelectronics.ru Git - kernel.git/commit
sh: support for platforms without PIO.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 25 May 2010 11:06:13 +0000 (20:06 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 2 Jun 2010 07:31:42 +0000 (16:31 +0900)
commit7f0a550410011bb832a0bd8dbd9a78d59f4b6344
tree43d2c40951df78d5404a72da214f8c8a788d3de3
parent7105d0af76c547ee9a7408ff2be13a4797813ede
sh: support for platforms without PIO.

This extends some of the existing special casing for HAS_IOPORT
platforms and gets it to the point where platforms can begin to
conditionally select it.

The major changes here are that the PIO routines themselves go away
completely, including all of the machvec port mapping wrappers. With this
in place it's possible for any non-machvec abusing platform to disable
PIO completely. At present this is left as an opt-in until the abusers
are the odd ones out instead of the majority.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/include/asm/io.h
arch/sh/include/asm/machvec.h
arch/sh/kernel/Makefile
arch/sh/kernel/io.c
arch/sh/kernel/io_generic.c
arch/sh/kernel/io_trapped.c
arch/sh/kernel/machvec.c