Skip to content
  • Mike Strosaker's avatar
    [PATCH] correct printing to operator panel · 8f586b22
    Mike Strosaker authored
    
    
    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: default avatarMike Strosaker <strosake@austin.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    8f586b22