x86: ce4100: allow second UART usage
authorMaxime Bizon <mbizon@freebox.fr>
Fri, 19 Oct 2012 08:45:07 +0000 (10:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 18:34:51 +0000 (11:34 -0700)
commit08ec212c0f92cbf30e3ecc7349f18151714041d6
tree625afda99083d4c04aa3899b1470f6d03135e052
parent7a0c4edae99da6ab3d402deb0d88410251c6ac63
x86: ce4100: allow second UART usage

The current CE4100 and 8250_pci code have both a limitation preventing the
registration and usage of CE4100's second UART. This patch changes the
platform code fixing up the UART port to work on a relative UART port
base address, as well as the 8250_pci code to make it register 2 UART ports
for CE4100 and pass the port index down to all consumers.

Signed-off-by: Florian Fainelli <ffainelli@freebox.fr>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/platform/ce4100/ce4100.c
drivers/tty/serial/8250/8250_pci.c