]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: Fix UPIO_MEM comment
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 28 Nov 2015 02:29:24 +0000 (21:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000 (19:59 -0800)
commit858965d909db32fb567a06916bbebdb8951cd39e
treeddc8d8cdca338d84bd385b301ec4524e4d4908df
parent0ff4230584320b2153752ba54e2e8edbd6addf2c
serial: Fix UPIO_MEM comment

The original semantics of UPIO_MEM did not include the notion of bitness
and endianness; different drivers used UPIO_MEM to refer to their original
mmio bitness/endianness. For example, for the 8250 driver this is 8-bit LE
but for the amba-pl011 driver this is 16-bit LE. Since UPIO_* values are
userspace ABI via TIOCGSERIAL/TIOCSSERIAL ioctls, the original meaning of
UPIIO_MEM must remain as it was: the original mmio stride/width/endianness
of the driver.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/serial_core.h