13 Jan, 2012

1 commit


26 May, 2011

1 commit

  • The abituguru drivers are only built on X86, where DMI support is now
    enabled by default. So let these drivers depend on DMI, for the
    following gains:
    * Robustness and safety. Detection of these devices is weak and uses
    non-standard methods, it should really be limited to Abit boards
    unless the user explicitly asks otherwise.
    * Code simplicity. The code is easier to read without ifdefs.
    * Better build testing coverage. Now there's only one way to build the
    drivers, so no risk of build failure on exotic systems.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck
    Acked-by: Alistair John Strachan
    Acked-by: Hans de Goede

    Jean Delvare
     

31 Mar, 2011

1 commit


22 Mar, 2011

1 commit


09 Jan, 2011

1 commit


15 Sep, 2009

1 commit


15 Oct, 2007

1 commit

  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6: (53 commits)
    hwmon: (vt8231) fix sparse warning
    hwmon: (sis5595) fix sparse warning
    hwmon: (w83627hf) don't assume bank 0
    hwmon: (w83627hf) Fix setting fan min right after driver load
    hwmon: (w83627hf) De-macro sysfs callback functions
    hwmon: Add new combined driver for FSC chips
    hwmon: (ibmpex) Release IPMI user if hwmon registration fails
    hwmon: (dme1737) Add sch311x support
    hwmon: (dme1737) group functions logically
    hwmon: (dme1737) cleanups
    hwmon: IBM power meter driver
    hwmon: (coretemp) Add support for Celeron 4xx
    hwmon: (lm87) Disable VID when it should be
    hwmon: (w83781d) Add individual alarm and beep files
    hwmon: VRM is not read from registers
    MAINTAINERS: update hwmon subsystem git trees
    hwmon: Fix the code examples in documentation
    hwmon: update sysfs interface document - error handling
    hwmon: (thmc50) Fix a debug message
    hwmon: (thmc50) Don't create temp3 if not enabled
    ...

    Linus Torvalds
     

10 Oct, 2007

2 commits

  • Convert from class_device to device for hwmon_device_register/unregister

    Signed-off-by: Tony Jones
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Kay Sievers
    Signed-off-by: Mark M. Hoffman

    Tony Jones
     
  • Three main sets of changes:

    1) dmi_get_system_info() return value should have been marked const,
    since callers should not be changing that data.

    2) const-ify DMI internals, since DMI firmware tables should,
    whenever possible, be marked const to ensure we never ever write to
    that data area.

    3) const-ify DMI API, to enable marking tables const where possible
    in low-level drivers.

    And if we're really lucky, this might enable some additional
    optimizations on the part of the compiler.

    The bulk of the changes are #2 and #3, which are interrelated. #1 could
    have been a separate patch, but it was so small compared to the others,
    it was easier to roll it into this changeset.

    Signed-off-by: Jeff Garzik

    Jeff Garzik
     

20 Jul, 2007

4 commits

  • With this patch the abituguru refuses to load on non Abit motherboards, as
    discussed in lkml CONFIG_BREAK_MY_MACHINE thread.

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

    Hans de Goede
     
  • This patch adds a new driver for the hardware monitoring features of the
    third revision of the Abit uGuru chip, found on recent Abit
    motherboards. This is an entirely different beast then the first and
    second revision (its again a winbond microcontroller, but the "protocol"
    to talk to it and the bank addresses are very different.

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

    Hans de Goede
     
  • This patch fixes the detection of volt inputs with a reading of more then 240
    units.

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

    Hans de Goede
     
  • Fix a potential race condition when some hardware monitoring platform
    drivers are being unloaded. I believe that the driver data pointer
    shouldn't be cleared before all the sysfs files are removed, otherwise
    a sysfs callback might attempt to dereference a NULL pointer. I'm not
    sure exactly what the driver core protects drivers against, so let's
    play it safe.

    While we're here, clear the driver data pointer when probe fails, so
    as to not leave an invalid pointer behind us.

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

    Jean Delvare
     

15 Feb, 2007

1 commit


04 Dec, 2006

1 commit


29 Sep, 2006

1 commit

  • This patch contains rudimentary suspend / resume support for the uguru,
    this protects the uguru and the driver against suspend / resume cycles,
    so there is no reason to unload the driver in your suspend / resume
    scripts.

    Only include suspend / resume functions when CONFIG_PM is set.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     

27 Aug, 2006

1 commit

  • This patch contains 2 sets of fixes for the abituguru:
    1) Much improved timeout handling, drasticly reducing the amount of
    timeout errors on some motherboards
    2) Fix the exit paths in the bank1 sensor type detect code to always
    restore the original settings even on an error. Without this our
    special test settings could remain seriously confusing the system
    BIOS's setup menu.

    Both are very much related and are must haves, to avoid messing up the
    uguru CMOS settings.

    Detailed changes:
    - Much improved timeout / wait for status handling. Many thanks to Sunil
    Kumar, for all his testing, ideas and patches! The code now first busy
    waits, polling the uguru for the expected status as this usually
    succeeds pretty quickly (within 90 reads). To avoid unnecessary CPU burn
    in timeout conditions, the amount of busy waiting has been halved from
    previous versions (120 tries instead of 250). This is not a problem,
    because this version goes to sleep after 120 attemps for 1 jiffy and
    then tries again, it does this sleep and try again 5 times before
    finally giving up. This (almost?) completly removes the timeout errors
    some people have seen regulary. Apparently some older uguru versions
    sometimes are distracted for a (relatively) long time. This solves this.
    - These timeout errors not only occur in the sending address part of
    reading the uguru but also in the wait for read state, so errors in
    this state are now handled as retryable just like send address state
    errors and are only logged and reported to userspace if 3 executive
    tries fail.
    - Fix a very nasty bug in the bank1 sensor type detection code, where it
    would not restore the original settings in any of the error paths!
    - Since not successfully restoring the original settings can seriously
    confuse the system BIOS (hang when entering the relevant setup menu),
    we now try restoring them 3 times before giving up.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     

13 Jul, 2006

1 commit

  • Now that the abituguru driver is seeing some more widespread testing
    it has turned out that one the first generation of Abit uGuru
    motherboards, with uGuru revision 1, the autodetect bank1 sensor type
    code doesn't (always) work. This patch adds a module param to override
    the autodetect, and it adds validity checks for the value of the 2
    other autodetection override module params. An example of howto use
    the new param can be found here:
    http://lm-sensors.org/wiki/Configurations/Abit/AN7

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     

23 Jun, 2006

3 commits

  • One of my testers had a problem where the driver only saw 2 of the 4 fan
    sensors his uGuru has, this fixes this.
    -accept 0x40 (bit 6) being high as a valid fan sensor setting for all fans
    not just fan 1, I have a feeling this bit indicates whether or not a fan is
    actually connected .

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • Fixes to the Abit uGuru driver as requested in review by Jean Delvare:
    - exactly calculate the sysfs_names array length using macro
    - use snprintf when generating names to double check that the sysfs_names
    array does not overflow.
    - use ARRAY_SIZE and / or defines to determine number of loops in for loops
    instead of using hardcoded values.
    - In abituguru_probe(), refactor the error path leaving a single call to kfree

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • New hardware monitoring driver for the Abit uGuru

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede