[PATCH] Update udbg_progress() to display the integer

Paul Mackerras paulus at samba.org
Wed Feb 7 10:11:33 EST 2007


Timur Tabi writes:

> The reason I can't use the same exact printk() is because of this code in 
> function ppc_init():
> 
> 	/* clear the progress line */
> 	if ( ppc_md.progress ) ppc_md.progress("             ", 0xffff);
> 
> If I could get rid of this line, then I wouldn't need to check for "hex == 
> 0xFFFF", but I don't know why ppc_init() thinks it needs to "clear the progress 
> line".  Maybe this is for some kind of LED display.

It would have been for the 2-line display on IBM RS/6000 machines.  If
that's still needed, we can put it in arch/powerpc/platforms/chrp
somewhere, so feel free to remove it from ppc_init().

Paul.



More information about the Linuxppc-dev mailing list