All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make HCDP dependent on serial console
@ 2004-01-14  0:06 Bjorn Helgaas
  2004-01-16 22:02 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2004-01-14  0:06 UTC (permalink / raw)
  To: linux-ia64

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.

This is against 2.6.

=== drivers/serial/Kconfig 1.19 vs edited ==--- 1.19/drivers/serial/Kconfig	Sun Oct  5 14:56:40 2003
+++ edited/drivers/serial/Kconfig	Tue Jan 13 15:56:55 2004
@@ -62,6 +62,15 @@
 
 	  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
+	  <http://www.dig64.org/specifications/DIG64_HCDPv10a_01.pdf>.
+
 config SERIAL_8250_CS
 	tristate "8250/16550 PCMCIA device support"
 	depends on PCMCIA && SERIAL_8250
@@ -83,15 +92,6 @@
 	---help---
 	  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
-	  <http://www.dig64.org/specifications/DIG64_HCDPv10a_01.pdf>.
 
 config SERIAL_8250_NR_UARTS
 	int "Maximum number of non-legacy 8250/16550 serial ports"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] make HCDP dependent on serial console
  2004-01-14  0:06 [PATCH] make HCDP dependent on serial console Bjorn Helgaas
@ 2004-01-16 22:02 ` Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2004-01-16 22:02 UTC (permalink / raw)
  To: linux-ia64

On Tue, Jan 13, 2004 at 05:06:56PM -0700, Bjorn Helgaas wrote:
> 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).

Applied.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-16 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-14  0:06 [PATCH] make HCDP dependent on serial console Bjorn Helgaas
2004-01-16 22:02 ` Russell King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.