]> bbs.cooldavid.org Git - net-next-2.6.git/commit
hwmon: f71882fg: add support for the Fintek F71808E
authorGiel van Schijndel <me@mortis.eu>
Tue, 10 Aug 2010 00:21:13 +0000 (17:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:10 +0000 (20:45 -0700)
commit7721fea3d0fd93fb4d000eb737b444369358d6d3
tree82584339f492a2d771a67924209871c81e3ec9c7
parent6b8e8282611ea35845dcff0cb321a7d735fc3155
hwmon: f71882fg: add support for the Fintek F71808E

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 <me@mortis.eu>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/hwmon/f71882fg
drivers/hwmon/Kconfig
drivers/hwmon/f71882fg.c