serial: 8250: allow specifying iomem size in addition to address
authorMans Rullgard <mans@mansr.com>
Sun, 8 Mar 2015 14:30:04 +0000 (14:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 21:50:15 +0000 (22:50 +0100)
commitee97d0e3f06498487671c23cad4230bf9aa5fd88
tree8365fe448e50f06c032c19260d9b52cce171dfab
parent5ef86b74209db33c133b5f18738dd8f3189b63a1
serial: 8250: allow specifying iomem size in addition to address

This adds a mapsize field to struct uart_port to be used in
conjunction with mapbase. If set, it overrides whatever value
serial8250_port_size() would otherwise report.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
include/linux/serial_core.h