From b6bb73e15e13169f34c789af7193c05f6d0f6457 Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Fri, 16 Jan 2004 21:56:06 +0000 Subject: [PATCH] [SERIAL] make HCDP dependent on serial console Patch from Bjorn Helgaas I propose the following HCDP Kconfig patch. It makes HCDP selectable only when serial console has been selected. One desirable side effect is that both are then available only when statically compiled in (i.e., not built as a module). The HCDP support doesn't actually depend on IA64, but I left that in for now because nobody else implements support for it and I don't want people confused by a selectable option that doesn't do anything. Maybe a "depends on EFI" or something will be useful eventually. --- drivers/serial/Kconfig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index ba80e22f2e871..d519372b887fa 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -62,6 +62,15 @@ config SERIAL_8250_CONSOLE If unsure, say N. +config SERIAL_8250_HCDP + bool "Console device discovery via EFI HCDP table" + depends on IA64 + depends on SERIAL_8250_CONSOLE=y + ---help--- + If you wish to make the serial console port described by the EFI + HCDP table available for use as serial console, say Y here. See + . + config SERIAL_8250_CS tristate "8250/16550 PCMCIA device support" depends on PCMCIA && SERIAL_8250 @@ -84,15 +93,6 @@ config SERIAL_8250_ACPI If you wish to enable serial port discovery via the ACPI namespace, say Y here. If unsure, say N. -config SERIAL_8250_HCDP - bool "8250/16550 device discovery support via EFI HCDP table" - depends on IA64 && SERIAL_8250 - ---help--- - If you wish to make the serial console port described by the EFI - HCDP table available for use as serial console or general - purpose port, say Y here. See - . - config SERIAL_8250_NR_UARTS int "Maximum number of non-legacy 8250/16550 serial ports" depends on SERIAL_8250 -- 2.53.0