[PATCH 01/30] disallow SERIAL_8250_PNP with SERIAL_8250_CONSOLE

Alan Cox
2009-03-24T14:01:57Z

From: Clark Williams <williams@redhat.com>

There are known (but hard to fix issues) with using SERIAL_8250_PNP with
SERIAL_8250_CONSOLE. This patch just sidesteps that by not allowing PNP
when CONSOLE is selected.

Signed-off-by: Clark Williams <williams@redhat.com>
Signed-off-by: Alan Cox <number6@the-village.bc.nu>
---

drivers/serial/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 7d7f576..451b64f 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -91,7 +91,7 @@ config SERIAL_8250_PCI

config SERIAL_8250_PNP
tristate "8250/16550 PNP device support" if EMBEDDED
- depends on SERIAL_8250 && PNP
+ depends on SERIAL_8250 && PNP && ! SERIAL_8250_CONSOLE
default SERIAL_8250
help
This builds standard PNP serial support. You may be able to