1. 14 Jan, 2005 12 commits
    • Jean Delvare's avatar
      [PATCH] I2C: Improve it87 super-i/o detection · f2e1491e
      Jean Delvare authored
      This patch improves the detection of Super-I/O it87 chips (IT8712F,
      IT8705F).
      
      * Find the IT8712F and IT8705F address through Super-I/O (as opposed to
        IT8712F only so far).
      
      * Verify that the device is activated. Print info lines if a
        disactivated or unconfigured chip is found.
      
      * Print an info line when finding either chip, with device name,
        address and revision.
      
      * Rearrange code in it87_find() (error path).
      
      * (bonus) Get rid of the useless i2c_client id.
      
      Successfully tested on two IT8712F and one IT8705F, thanks to Jonas
      Munsin, Rudolf Marek and Karine Proot.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      f2e1491e
    • Rafael Ávila de Espíndola's avatar
      [PATCH] I2C: add EMC6D100 support in lm85 driver · f4511def
      Rafael Ávila de Espíndola authored
      I have ported the support for the EMC6D100 sensor from kernel 2.4 to kernel
      2.6. In the process I received some comments from Jean Delvare.
      Signed-off-by: default avatarRafael Ávila de Espíndola <rafael.espindola@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      f4511def
    • Jonas Munsin's avatar
      [PATCH] I2C: fix it87 sensor driver stops CPU fan · dfc216c6
      Jonas Munsin authored
      > 2* I would then add a check to the it87 driver, which completely disables
      > the fan speed control interface if the initial configuration looks weird
      > (all fans supposedly stopped and polarity set to "active low"). This
      > should protect users of the driver who have a faulty BIOS.
      >
      > When a bogus configuration is detected, we would of course complain in
      > the logs and invite the user to complain to his/her motherboard maker
      > too.
      
      Here is it87.c_2.6.10-jm4-detect_broken_bios_20050112.diff implementing
      this. It goes on top of the previous patch.
      
      - detects broken bioses, disables the pwm for them and prints a message
      - fixes an unrelated minor bug in set_fan_div()
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarJonas Munsin <jmunsin@iki.fi>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      dfc216c6
    • Jean Delvare's avatar
      [PATCH] I2C: Cleanups to the eeprom driver · 0b28a61a
      Jean Delvare authored
      Here comes a cleanup patch to the i2c eeprom client driver:
      
      * Get rid of the unused i2c_client client_id.
      * Get rid of the redundant non-ISA bus check.
      * Fix the adapter capability check. We were previously using
        capabilities without checking if they were supported. Document
        which capabilities are required and which are optional.
      * Reorder things a bit. In particular, wait to have a valid client
        before we bother checking if this is a Vaio EEPROM.
      * Use strlcpy instead of strncpy, because I Heard It Was Better (TM) and
        all other chip drivers use it.
      * Take benefit of the auto-increment feature of EEPROMs to speed up the
        Vaio check.
      * Display an information message when a Vaio EEPROM is detected.
      
      Tested successfully on my laptop, which happens to be a Vaio.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      0b28a61a
    • Jean Delvare's avatar
      [PATCH] I2C: Fix bogus bitmask in lm63 debug message · e2418a46
      Jean Delvare authored
      There is a bitmask error in one debug message of my lm63 chip driver.
      Nothing critical but still worth fixing, hence comes a patch.
      
      Credits go to Mohan Mistry for finding the error.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      e2418a46
    • Justin Thiessen's avatar
      [PATCH] I2C: adm1026.c fixes · 8f9e87cd
      Justin Thiessen authored
      Ok, take 3 on the adm1026 patch.
      
      In this patch:
      
      (1) Code has been added which ensures that the fan divisor registers are
          properly read into the data structure before fan minimum speeds are
          determined.  This prevents a possible divide by zero error.  The line
          which reads the hardware default fan divisor values has been reformatted
          as suggested by Andreas Dilger to make the intent of the statement clearer.
      
      (2) In a similar spirit, an unecessary carriage return from a "dev_dbg"
          statement in the adm1026_print_gpio() function has been elminated,
          shortening the statement to a single line and making the code easier
          to read.
      
      Signed-off-by: Justin Thiessen <jthiessen@penguincomputing.com
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      8f9e87cd
    • Jonas Munsin's avatar
      [PATCH] I2C: it87 fan update · 9c0af1ad
      Jonas Munsin authored
      On Tue, Jan 11, 2005 at 10:26:22AM +0100, Jean Delvare wrote:
      > 1* Jonas, please send a modified version of your original patch to Greg.
      > The only difference would be that you wouldn't force on/off mode to be
      > on at driver load time. Instead, disabling PWM for one fan control
      > output (echo 0 > pwmN_enable) would both set on/off mode to on for that
      > output (new) and turn that output to on/off mode (same as before).
      
      Ok, thanks for doing the thinking ;), here is the modified patch
      (it87.c_2.6.10-jm3-corrected_manual_pwm_20050111.diff). In addition to
      the above change, it also refreshes fan_main_ctrl in the update routine,
      as suggested by Jean on IRC.
      
       - adds manual PWM
       - removes buggy "reset" module parameter
       - fixes some whitespaces
      Signed-off-by: default avatarJonas Munsin <jmunsin@iki.fi>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      9c0af1ad
    • Jason Gaston's avatar
      [PATCH] I2C support for Intel ICH7 - 2.6.10 - resubmit · 259003c8
      Jason Gaston authored
      This patch adds the Intel ICH7 DID to the i2c-i801.c driver and adds an
      entry to Kconfig for I2C(SMBus) support.  Note: This patch relies on the
      already submitted and accepted PATA patch to pci_ids.h containing all
      ICH7 DID's.
      Signed-off-by: default avatarJason Gaston <Jason.d.gaston@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
      259003c8
    • Greg Kroah-Hartman's avatar
    • Jens Axboe's avatar
      [PATCH] noop-iosched: fix insertion point · 812ab7f3
      Jens Axboe authored
      noop doesn't follow the instructions on where to insert a request,
      because it uses q->queue_head instead of the *insert assigned. Clean it
      up so it's easier to read.
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      812ab7f3
    • Jens Axboe's avatar
      [PATCH] bio clone memory corruption · cdae7207
      Jens Axboe authored
      Doing some raid testing threw a bug in the scsi mid layer, because the
      segment counts wasn't correct.  Initially I worried that we still had
      problems in this area, but it turns out that is due to the raid usage of
      bio clones.  Currently you have to hold on to the original bio as well,
      since the clone only maintains a pointer to the bio_vec inside the
      original bio.  If the original bio is freed first, the clone will have
      garbage in its bio->bi_io_vec as soon as that memory is scribbled.
      
      I think the best fix is to maintain flexibility and duplicate the io_vec
      inside the clone as well. Attached patch does this.
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      cdae7207
    • Linus Torvalds's avatar
      Merge http://linux-sound.bkbits.net/linux-sound · 576dd6f6
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      576dd6f6
  2. 13 Jan, 2005 28 commits