serial: core: Add big-endian iotype
authorKevin Cernekee <cernekee@gmail.com>
Wed, 12 Nov 2014 20:53:59 +0000 (12:53 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 01:06:40 +0000 (17:06 -0800)
commit3ffb1a8193bead7bf4ef0fec2dae050c70e4c1c1
tree18b8c192f0d6b3e6c21f4a93316c06763576a5d7
parent57850a50c1f91c6136fe0b4b27301ebbe848b2ce
serial: core: Add big-endian iotype

Since most drivers interpret UPIO_MEM32 to mean "little-endian" and use
readl/writel to access the registers, add a parallel UPIO_MEM32BE to
request the use of big-endian MMIO accessors (ioread32be/iowrite32be).

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c
include/linux/serial_core.h