>>>>> "maciej" == Maciej W Rozycki <macro@ds2.pg.gda.pl> writes: maciej> On Mon, 16 Jun 2003, Ladislav Michl wrote: >> I was told by many people that prom_printf and friends should die and >> early_printk should be used instead. this patch (against 2.5) does first >> part of job. compiles and works on IP22 (SNI RM200 and IP32 don't >> compile anyway). Feedback appreciated, as always. maciej> Hmm, strange idea -- I guess that originates from systems that have no maciej> suitable firmware to perform such an operation at the console. Currently maciej> only x86_64 implements early_printk() -- if we have an implementation for maciej> MIPS, we may consider removing the alternative. Also prom_printf() comes maciej> almost for free and works very early and as I see in the x86_64 version maciej> early_printk() requires initialization of a console driver, which may be maciej> unfortunate if debugging a problem within the driver. There is at least one implementation for x86 that uses the VGA directly (as the BIOS left it), getting it very soon. But you are right, PC's speciality is not to have a nice console. Anyways, you can use early_printk() in MIPS. You only need to put the setup of the early console sooner, as for you the setup is basically a NOP. Later, Juan. -- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy