]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteee55a6ae647c1b496f6acf2c56eb71da5c8202f
tree8365fe448e50f06c032c19260d9b52cce171dfab
parenteb3de8b40fa7e932972876af239a7bd5cdeb22d6
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