Re: [PATCH 10/10] i8k: Add support for fan labels

2014-12-22 Thread Pali Rohár
On Monday 22 December 2014 00:01:49 Guenter Roeck wrote: > > +static ssize_t i8k_hwmon_show_fan_label(struct device *dev, > > + struct device_attribute *devattr, > > + char *buf) > > +{ > > + static const char * const labels[] =

Re: [PATCH 10/10] i8k: Add support for fan labels

2014-12-22 Thread Pali Rohár
On Monday 22 December 2014 00:01:49 Guenter Roeck wrote: +static ssize_t i8k_hwmon_show_fan_label(struct device *dev, + struct device_attribute *devattr, + char *buf) +{ + static const char * const labels[] = { +

Re: [PATCH 10/10] i8k: Add support for fan labels

2014-12-21 Thread Guenter Roeck
On 12/21/2014 11:54 AM, Pali Rohár wrote: This patch adds labels support for fans if SMM function with EAX register 0x03a3 reports it. This information was taken from DOS binary NBSVC.MDM. Additionally this patch change detection of fan presece. Instead reading fan status now detection is based

[PATCH 10/10] i8k: Add support for fan labels

2014-12-21 Thread Pali Rohár
This patch adds labels support for fans if SMM function with EAX register 0x03a3 reports it. This information was taken from DOS binary NBSVC.MDM. Additionally this patch change detection of fan presece. Instead reading fan status now detection is based on new label SMM function. Dell DOS binary

[PATCH 10/10] i8k: Add support for fan labels

2014-12-21 Thread Pali Rohár
This patch adds labels support for fans if SMM function with EAX register 0x03a3 reports it. This information was taken from DOS binary NBSVC.MDM. Additionally this patch change detection of fan presece. Instead reading fan status now detection is based on new label SMM function. Dell DOS binary

Re: [PATCH 10/10] i8k: Add support for fan labels

2014-12-21 Thread Guenter Roeck
On 12/21/2014 11:54 AM, Pali Rohár wrote: This patch adds labels support for fans if SMM function with EAX register 0x03a3 reports it. This information was taken from DOS binary NBSVC.MDM. Additionally this patch change detection of fan presece. Instead reading fan status now detection is based