ak@suse.de said:
> The generic serial driver needs lots of infrastructure that is not
> present in early boot. Also the early_printk serial driver is polled,
> not interrupt driven.
No, the generic serial _console_ is polled and should require no more
infrastructure than the early_console version which it strongly resembles.
After all, it's generally called from console_init(), at which point
there's little more infrastructure available than in setup_arch() _anyway_.
You should happily be able to call serial8250_console_init() earlier then
console_init() currently does.
(Btw, if you're playing with this code I posted a cleanup to all the
horrible #ifdefs in console_init, converting it to the __initcall mechanism.
http://marc.theaimsgroup.com/?l=linux-kernel&m=103660078206270&w=2 )
-- dwmw2- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:22 EST