serial: 8250: Split base port operations from universal driver
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 27 Jun 2015 13:19:00 +0000 (09:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 00:43:01 +0000 (17:43 -0700)
commitb6830f6df8914faae9561bb245860c21af9b9e9b
tree038105f013e5738347010f3ea81a7ba7291e52a8
parente95044ba4fee93f5ea8a1a24b2d921e148503833
serial: 8250: Split base port operations from universal driver

Refactor base port operations into new file; 8250_port.c.

Legacy irq handling, RSA port support, port storage for universal
driver, driver definition, module parameters and linkage remain in
8250_core.c

The source file split and resulting modules is diagrammed below:

  8250_core.c ====>   8250_core.c __
              \                     \
               \                     +-- 8250.ko (alias 8250_core)
                \     8250_pnp.c  __/     (universal driver)
                 \
                  =>  8250_port.c __
                                    \
                                     +-- 8250_base.ko
                      8250_dma.c  __/     (port operations)

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.h
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_port.c [new file with mode: 0644]
drivers/tty/serial/8250/Makefile
include/linux/serial_8250.h