Re: [PATCH]serial: make early_uart to use early_prarm instead ofconsole_initcall

From: Gerd Hoffmann
Date: Mon May 21 2007 - 06:24:23 EST


Yinghai Lu wrote:
Gerd's patch (console handover) was merged into mainline. it will
switch from early_printk to normal console in register_console via
CON_BOOT flags.. ===> only for x86

Tagging boot consoles (aka early_printk) with CON_BOOT certainly makes sense. Just doing that doesn't work for ia64?

What is the point in making that work on x86 additionally to serial support in early_printk? It might make sense to split away the serial bits from early_printk.c and move them out of arch/ into -- say -- drivers/serial/, so other architectures can use that too and we have only one serial earlyprintk implementation in the kernel. Not sure it is worth the effort given the code size.

cheers,
Gerd


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/