8250_pnp: do pnp probe before legacy probe
authorSean Young <sean@mess.org>
Fri, 7 Sep 2012 18:06:23 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 20:25:41 +0000 (13:25 -0700)
commit835d844d1a28efba81d5aca7385e24c29d3a6db2
tree646b3c447cd5cba0b976c951ebe0b4f58e50e2e9
parent4dac2116547b4aab7ac327edb344bb68ed1e8839
8250_pnp: do pnp probe before legacy probe

We first probe the legacy serial ports and then check pnp. If there
is a non-standard configuration then this might not work, also this
change is needed so we can blacklist Winbond CIR based on PNP ID.

For this to work the 8250_pnp driver must be merged into the 8250
module.

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.h
drivers/tty/serial/8250/8250_pnp.c
drivers/tty/serial/8250/Kconfig
drivers/tty/serial/8250/Makefile