• Benjamin Romer's avatar
    staging: unisys: move installer to sysfs and split fields · 422af17c
    Benjamin Romer authored
    The installer entry in /proc/visorchipset/installer was composed of three
    separate fields as one entry. This patch removes the proc entry and associated
    functions, and creates new fields with distinct entries under sysfs in the
    visorchipset/install directory. The fields are:
    
    	textid: used to send the ID of a string that should be displayed on
    		s-Par's automatic installation progress screen. Setting this
    		field when not in installation mode (boottotool was set on
    		the previous guest boot) has no effect.
    
    	remaining_steps: used to set the value of the progress bar on the
    		s-Par automatic installation progress screen. This field has
    		no effect if not in installation mode.
    
    	error: used to send the ID of a string that should be displayed on
    		s-Par's automatic installation progress screen when an error
    		is encountered during installation. This field has no effect
    		if not in installation mode.
    Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    422af17c
visorchipset_main.c 78.5 KB