14 Oct, 2007

3 commits

  • The bank switching code assumes that the bank selector is set to 0
    when the driver is loaded. This might not be the case. This is exactly
    the same bug as was fixed in the w83627ehf driver two months ago:
    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0956895aa6f8dc6a33210967252fd7787652537d

    In practice, this bug was causing the sensor thermal types to be
    improperly reported for my W83627THF the first time I was loading the
    w83627hf driver. From the driver history, I'd say that it has been
    broken since September 2005 (when we stopped resetting the chip by
    default at driver load.)

    Signed-off-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Jean Delvare
     
  • We need to read the fan clock dividers at initialization time,
    otherwise the code in store_fan_min() may use uninitialized values.
    That's pretty much the same bug and same fix as for the w83627ehf
    driver last month.

    Signed-off-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Jean Delvare
     
  • This patch to drivers/hwmon/w83627hf converts many sysfs items from DEVICE_ATTRs
    to SENSOR_DEVICE_ATTRs, and replaces macros which expand to define redundant
    callbacks, with callbacks which use the SENSOR_DEV.nr to know what to do.

    Signed-off-by: Jim Cromie
    Signed-off-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Jim Cromie
     

11 Oct, 2007

6 commits

  • This patch adds a new merged driver for FSC sensor chips, it merges the fscher
    and fscpos drivers and adds support for the FSC Scylla, Heracles and Heimdall
    chips.

    Signed-off-by: Hans de Goede
    Acked-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Hans de Goede
     
  • Roel Kluin found a minor defect in the init code if
    hwmon device registration fails.

    Signed-off-by: Darrick J. Wong
    Signed-off-by: Mark M. Hoffman

    Darrick J. Wong
     
  • This patch adds support for the SMSC SCH3112, SCH3114, and SCH3116 Super-I/O
    chips. These chips feature identical hardware monitoring capabilites with the
    expection that some of the fan inputs and pmw outputs don't exist.

    The hardware monitoring features of the SCH311x chips can only be accessed via
    the ISA bus. The driver therefore registers as a platform driver, if such a
    chip is detected.

    Signed-off-by: Juerg Haefliger
    Acked-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Juerg Haefliger
     
  • class_dev -> hwmon_dev

    Signed-off-by: Mark M. Hoffman

    Mark M. Hoffman
     
  • Move functions to group them logically. Device and I2C functions go in separate
    places. No functional changes (really!).

    Signed-off-by: Juerg Haefliger
    Acked-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Juerg Haefliger
     
  • This patch cleans up and prepares the dme1737 driver for support of the sch311x
    chips. (Almost) no functional changes.

    - Replaced whitespaces with tabs.
    - Removed empty lines.
    - Added _i2c_ to names of functions that are strictly I2C related.
    - Added 4 new functions: dme1737_create_files, dme1737_remove_files,
    dme1737_sio_enter, and dme1737_sio_exit.
    - Added error messages in case client attach/detach fails.

    Signed-off-by: Juerg Haefliger
    Acked-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Juerg Haefliger
     

10 Oct, 2007

31 commits