1. 08 2月, 2008 2 次提交
    • J
      hwmon: (dme1737) fix divide-by-0 · ff8421f7
      Juerg Haefliger 提交于
      This patch fixes a possible divide-by-0 and a minor bug in the
      FAN_FROM_REG macro (in TPC mode).
      
      Signed-off-by: Juerg Haefliger <juergh at gmail.com>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      ff8421f7
    • J
      hwmon: Let the user override the detected Super-I/O device ID · 67b671bc
      Jean Delvare 提交于
      While it is possible to force SMBus-based hardware monitoring chip
      drivers to drive a not officially supported device, we do not have this
      possibility for Super-I/O-based drivers. That's unfortunate because
      sometimes newer chips are fully compatible and just forcing the driver
      to load would work. Instead of that we have to tell the users to
      recompile the kernel driver, which isn't an easy task for everyone.
      
      So, I propose that we add a module parameter to all Super-I/O based
      hardware monitoring drivers, letting advanced users force the driver
      to load on their machine. The user has to provide the device ID of a
      supposedly compatible device. This requires looking at the source code or
      a datasheet, so I am confident that users can't randomly force a driver
      without knowing what they are doing. Thus this should be relatively safe.
      
      As you can see from the code, the implementation is pretty simple and
      unintrusive.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NHans de Goede <j.w.r.degoede@hhs.nl>
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      67b671bc
  2. 11 10月, 2007 3 次提交
  3. 10 10月, 2007 1 次提交
  4. 31 7月, 2007 1 次提交
  5. 20 7月, 2007 1 次提交
    • J
      hwmon: New SMSC DME1737 driver · 9431996f
      Juerg Haefliger 提交于
      Add support for the hardware monitoring and fan control
      capabilities of the SMSC DME1737 and Asus A8000 Super-I/O chips.
      
      The hardware monitoring logic of this chip is similar to the LM85 but
      has some additional features that this driver supports. Even though
      it's a Super-I/O chip, the hardware monitoring logic can only be
      accessed via SMBus.
      
      Signed-off-by: Juerg Haefliger <juergh at gmail.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      9431996f