[PATCH] move HCDP under serial console #ifdef

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2004-01-14 10:45:09
Currently you can select HCDP independent of serial console.  This
doesn't seem very useful, and makes the setup_serial_hcdp() reference
unresolved if the serial driver is built as a module.

CONFIG_SERIAL_8250_CONSOLE is only selectable if the serial core is
built in (SERIAL_8250=y), so this patch makes sure we don't try to
call setup_serial_hcdp() unless it is actually built in to the kernel.

(I think we should also make HCDP selection dependent on
SERIAL_8250_CONSOLE=y in Kconfig; I'll send a separate patch
for that since it's not ia64-specific.)

===== arch/ia64/kernel/setup.c 1.64 vs edited =====
--- 1.64/arch/ia64/kernel/setup.c	Mon Dec 29 14:37:24 2003
+++ edited/arch/ia64/kernel/setup.c	Mon Jan 12 15:46:23 2004
@@ -317,13 +317,13 @@
 	if (efi.hcdp) {
 		void setup_serial_hcdp(void *);
 	 * Without HCDP, we won't discover any serial ports until the serial driver looks
 	 * in the ACPI namespace.  If ACPI claims there are some legacy devices, register

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Jan 13 18:50:11 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST