[PATCH] Discover ACPI serial ports before plug-in ports

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2004-02-11 10:11:22
I propose the following patch (against 2.6.2).  This makes us
discover ACPI serial ports before PCI ones.  The ACPI ports
tend to be built-in, and discovering them late means their ttyS
names move around if PCI serial ports are added or removed.  I
think it makes more sense to have relatively predictable and
consistent names for the built-in hardware.

===== drivers/serial/Makefile 1.20 vs edited =====
--- 1.20/drivers/serial/Makefile	Tue Sep  9 03:30:53 2003
+++ edited/drivers/serial/Makefile	Tue Feb 10 15:46:15 2004
@@ -5,11 +5,11 @@
 #
 
 serial-8250-y :=
+serial-8250-$(CONFIG_SERIAL_8250_ACPI) += 8250_acpi.o
 serial-8250-$(CONFIG_GSC) += 8250_gsc.o
 serial-8250-$(CONFIG_PCI) += 8250_pci.o
 serial-8250-$(CONFIG_PNP) += 8250_pnp.o
 serial-8250-$(CONFIG_SERIAL_8250_HCDP) += 8250_hcdp.o
-serial-8250-$(CONFIG_SERIAL_8250_ACPI) += 8250_acpi.o
 
 obj-$(CONFIG_SERIAL_CORE) += serial_core.o
 obj-$(CONFIG_SERIAL_21285) += 21285.o

-
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 Feb 10 18:13:51 2004

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