]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb2362d327afac542c36ea6d90729ec1c338c6f3
treeac2966d23c4b6eb58c17ac12e0dd68076493533d
parent0f9ee5c0fc8697404ff136156aed22a6fe5bd1b8
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