]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] correct printing to operator panel
authorMike Strosaker <strosake@austin.ibm.com>
Thu, 23 Jun 2005 06:09:41 +0000 (16:09 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 23 Jun 2005 06:09:41 +0000 (16:09 +1000)
commit8f586b2243198194240626fd9695da5564ffa7ee
tree716ba2e20edb04a354210f626b73b56e156f171b
parentae209cf10086b97e92e39af7cec0f84b21b6fca3
[PATCH] correct printing to operator panel

This patch corrects the printing of progress indicators to the op
panel on p/iSeries ppc64 systems.  Each discrete reference code should
begin with a form feed char to clear the op panel, and the first and
second lines should be separated with a CR/LF sequence.  Padding with
spaces is not necessary.

Also, capitalize the hex value printed on the first line, to be
consistent with the values printed by firmware, service processor,
etc.

It turns out that there's an ibm,form-feed property; this patch uses
it in the pSeries-specific progress routine.  This patch also checks
the number of rows and the specific width of each row (the second row
on power5 systems can actually hold 80 characters).  If the displayed
text is too wide for the physical display, it can be viewed in the ASM
menus, or by selecting option 14 on the op panel.

Signed-off-by: Mike Strosaker <strosake@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/rtas.c
arch/ppc64/kernel/setup.c