]> asedeno.scripts.mit.edu Git - linux.git/commit
serial: exar: Move Commtech adapters to 8250_exar as well
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 8 Feb 2017 16:09:06 +0000 (17:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Feb 2017 14:12:38 +0000 (15:12 +0100)
commitfc6cc9615779183f07d6ff4065368a732d09f49e
treeeb313fcf1b0603d3dc36b7d707bc4ed04186d82f
parent7795753661f1a9423c3c8fbde322f6a2a8b94b68
serial: exar: Move Commtech adapters to 8250_exar as well

Those are Exar-based, too.

With the required refactoring of the code to fit into 8250_exar, we
automatically fix the same issue pci_xr17v35x_setup had before: 8XMODE,
FCTL, TXTRG and RXTRG were always only set for port 0. Now they are
initialized for the correct target port by using port.membase.

Now we can also cleanly fix the blacklist of 8250_pci so that all
Commtech devices are rejected and 8250_exar can handle them.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c
drivers/tty/serial/8250/8250_pci.c