staging: unisys: move installer to sysfs and split fields
authorBenjamin Romer <benjamin.romer@unisys.com>
Thu, 24 Jul 2014 18:08:42 +0000 (14:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 22:06:44 +0000 (15:06 -0700)
commit422af17c67b8ea2bcf39b6f6db7341f5b62c1b12
treeac2966d23c4b6eb58c17ac12e0dd68076493533d
parenta34157d08e4befcbb5025cb7072966b8423babfd
staging: unisys: move installer to sysfs and split fields

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: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c
This page took 0.041996 seconds and 5 git commands to generate.