Re: [PATCH 1/8] staging: unisys: add toolaction to sysfs

2014-07-21 Thread Greg KH
On Mon, Jul 21, 2014 at 08:36:02AM -0500, Romer, Benjamin M wrote: > On Sat, 2014-07-19 at 09:36 -0700, Greg KH wrote: > > > > /* /sys/devices/platform/visorchipset */ > > > static struct platform_device Visorchipset_platform_device = { > > > .name = "visorchipset", > > > .id = -1, > > > + .

Re: [PATCH 1/8] staging: unisys: add toolaction to sysfs

2014-07-21 Thread Romer, Benjamin M
On Sat, 2014-07-19 at 09:36 -0700, Greg KH wrote: > > /* /sys/devices/platform/visorchipset */ > > static struct platform_device Visorchipset_platform_device = { > > .name = "visorchipset", > > .id = -1, > > + .dev.groups = visorchipset_dev_groups, > > Only create this device when Con

Re: [PATCH 1/8] staging: unisys: add toolaction to sysfs

2014-07-19 Thread Greg KH
On Sat, Jul 19, 2014 at 10:26:54AM -0400, Benjamin Romer wrote: > +ssize_t show_toolaction(struct device *dev, struct device_attribute *attr, > + char *buf) > +{ > + if (ControlVm_channel) { > + U8 toolAction; > + > + visorchannel_read(ControlVm_channel, > +

Re: [PATCH 1/8] staging: unisys: add toolaction to sysfs

2014-07-19 Thread Greg KH
On Sat, Jul 19, 2014 at 10:26:54AM -0400, Benjamin Romer wrote: > Move the proc entry for controlling the toolaction field to sysfs. The field > appears in /sys/devices/platform/visorchipset/install/toolaction. > > This field is used to tell s-Par which type of recovery tool action to perform > on