8250: blacklist Winbond CIR port
authorSean Young <sean@mess.org>
Fri, 7 Sep 2012 18:06:24 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 20:25:41 +0000 (13:25 -0700)
commit65ecc9c02dbad033a73a32916d17c107c5b25031
tree05aa1e55b3b43bd3647ffd8d6d2194e187af6b3e
parent835d844d1a28efba81d5aca7385e24c29d3a6db2
8250: blacklist Winbond CIR port

The legacy serial driver will detect the Winbond CIR device as a serial
port, since it looks exactly like a serial port unless you know what
it is from the PNP ID.

Here we track this port as a special PORT_8250_CIR type, preventing the
legacy serial driver from probing it.

Signed-off-by: Sean Young <sean@mess.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.c
drivers/tty/serial/8250/8250_pnp.c
include/linux/serial_core.h