19 Mar, 2012

2 commits


06 Jan, 2012

1 commit


25 Oct, 2011

3 commits


03 Jul, 2011

2 commits


26 May, 2011

2 commits


26 Mar, 2011

5 commits


15 Mar, 2011

10 commits


13 Mar, 2011

2 commits


09 Jan, 2011

1 commit


03 Oct, 2010

1 commit


21 Aug, 2010

1 commit

  • Revert commit 7721fea3d0fd93fb4d000eb737b444369358d6d3 ("hwmon:
    f71882fg: add support for the Fintek F71808E").

    Hans said:

    : A second review after I've received a data sheet for this device from
    : Fintek has turned up a few bugs.
    :
    : Unfortunately Giel (nor I) have time to fix this in time for the 2.6.36
    : cycle. Therefor I would like to see this patch reverted as not having any
    : support for the hwmon function of this superio chip is better then having
    : unreliable support.

    Cc: Giel van Schijndel
    Cc: Jean Delvare
    Cc: Hans de Goede
    Cc: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

10 Aug, 2010

1 commit

  • Allow device probing to recognise the Fintek F71808E.

    Sysfs interface:
    * Fan/pwm control is the same as for F71889FG
    * Temperature and voltage sensor handling is largely the same as for
    the F71889FG
    - Has one temperature sensor less (doesn't have temp3)
    - Misses one voltage sensor (doesn't have V6, thus in6_input refers to
    what in7_input refers for F71889FG)

    For the purpose of the sysfs interface fxxxx_in_temp_attr[] is split up
    such that it can largely be reused.

    Signed-off-by: Giel van Schijndel
    Cc: Jean Delvare
    Cc: Hans de Goede
    Cc: Jonathan Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Giel van Schijndel
     

28 May, 2010

4 commits


10 Dec, 2009

4 commits

  • This adds support for the Fintek f71889fg to the f71882fg driver,
    many thanks to Gerd v. Egidy for providing (remote) access to a
    machine which such an ic.

    Note that this bit of the patch:
    - val = SENSORS_LIMIT(val, 0, 255);
    +
    + if (data->type == f71889fg)
    + val = SENSORS_LIMIT(val, -128, 127);
    + else
    + val = SENSORS_LIMIT(val, 0, 127);

    Changes behaviour for already supported models, the new behaviour is correct
    as the already supported models have bit 7 of the involved registers fixed at
    0, so the previous behaviour which allowed setting temp zone limits > 127
    was not correct.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Hans de Goede
     
  • There is a bug in the old sysfs file removal, as it uses fxxxx_in_temp_attr
    to remove the in and temp sysfs attributes, but fxxxx_in_temp_attr has
    temp#_alarm, where as f71858fg_in_temp_attr has temp#_max_alarm, so
    the temp#_max_alarm attributes for the f71858fg never get removed.

    This patch fixes this by doing the sysfs removal exactly the same way as
    the creation instead of being (too) clever, this will also avoid similar
    bugs in the future.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Hans de Goede
     
  • This patch merges the f71882fg_auto_pwm_attr array into the
    fxxxx_fan_attr resp. fxxxx_auto_pwm_attr array, as the f71882fg_auto_pwm_attr
    array was merely extending these 2 with entries for a 4th fan, it also makes
    these 2 arrays 2 dimensional so that the rest of the code can choose to
    add attr for 3 or 4 fans without needing to know the nr of attr per fan.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Hans de Goede
     
  • This patch makes a number of cleanups to the sysfs attr creation
    in the f71882fg driver, this is a preparation patch for adding f71889fg
    support:

    * Add some comments to explain why some models need separate sysfs attr
    arrays for in / temp / fan / pwm
    * Rename a number of sysfs attr arrays to make their function clearer
    * Move the pwm#_auto_channels_temp attribute from the common to all
    models fan attr array to the per model auto mode pwm attr arrays, so
    that all the auto mode pwm attr are grouped together, and thus can be
    left out on models where we don't support auto pwm mode
    * Put fan_beep attr in their own array, so that only auto mode pwm attr
    remain in the per model pwm sysfs attr arrays.
    * Put the 4th special fan input for the f8000 in its own array, so that only
    auto mode pwm attr remain in the per model pwm sysfs attr arrays.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Hans de Goede
     

16 Jun, 2009

1 commit