Commit b85b717c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix console ordering default

The conversion of the console registration to an initcall-style thing has
broken lots of people's setups.  It is now dependent upon linkage order and
if you have both CONFIG_VT_CONSOLE and CONFIG_SERIAL_CONSOLE, no boot
messages come out on the screen because the kernel is selecting the serial
console first.

It can be fixed by specifying console=tty0, but nobody is doing that.

We can fix it up by placing drivers/char/ in front of drivers/serial/ in
linkage order.
parent 8f8fc89f
......@@ -11,9 +11,13 @@ obj-$(CONFIG_ACPI) += acpi/
# PnP must come after ACPI since it will eventually need to check if acpi
# was used and do nothing if so
obj-$(CONFIG_PNP) += pnp/
# char/ comes before serial/ etc so that the VT console is the boot-time
# default.
obj-y += char/
obj-y += serial/
obj-$(CONFIG_PARPORT) += parport/
obj-y += base/ char/ block/ misc/ net/ media/
obj-y += base/ block/ misc/ net/ media/
obj-$(CONFIG_NUBUS) += nubus/
obj-$(CONFIG_ATM) += atm/
obj-$(CONFIG_IDE) += ide/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment