From: Chris Wright Date: Tue, 21 Feb 2006 05:42:20 +0000 (-0800) Subject: hwmon it87 fix oops on modprobe X-Git-Tag: v2.6.15.5~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fcbb912c2e3264ff6fe1095c6110e2e560e4b405;p=thirdparty%2Fkernel%2Fstable-queue.git hwmon it87 fix oops on modprobe --- diff --git a/queue/hwmon-it87-probe-i2c-0x2d-only.patch b/queue/hwmon-it87-probe-i2c-0x2d-only.patch new file mode 100644 index 00000000000..0a338b04b65 --- /dev/null +++ b/queue/hwmon-it87-probe-i2c-0x2d-only.patch @@ -0,0 +1,47 @@ +From stable-bounces@linux.kernel.org Mon Feb 20 00:58:52 2006 +Date: Sun, 19 Feb 2006 15:34:03 +0100 +From: Jean Delvare +To: stable@kernel.org +Cc: +Subject: [PATCH] hwmon it87: Probe i2c 0x2d only + +Only scan I2C address 0x2d. This is the default address and no IT87xxF +chip was ever seen on I2C at a different address. These chips are +better accessed through their ISA interface anyway. + +This fixes bug #5889, although it doesn't address the whole class +of problems. We'd need the ability to blacklist arbitrary I2C addresses +on systems known to contain I2C devices which behave badly when probed. + +Signed-off-by: Jean Delvare +Signed-off-by: Greg Kroah-Hartman +Signed-off-by: Chris Wright +--- + + Documentation/hwmon/it87 | 2 +- + drivers/hwmon/it87.c | 3 +-- + 2 files changed, 2 insertions(+), 3 deletions(-) + +--- linux-2.6.15.4.orig/Documentation/hwmon/it87 ++++ linux-2.6.15.4/Documentation/hwmon/it87 +@@ -9,7 +9,7 @@ Supported chips: + http://www.ite.com.tw/ + * IT8712F + Prefix: 'it8712' +- Addresses scanned: I2C 0x28 - 0x2f ++ Addresses scanned: I2C 0x2d + from Super I/O config space (8 I/O ports) + Datasheet: Publicly available at the ITE website + http://www.ite.com.tw/ +--- linux-2.6.15.4.orig/drivers/hwmon/it87.c ++++ linux-2.6.15.4/drivers/hwmon/it87.c +@@ -45,8 +45,7 @@ + + + /* Addresses to scan */ +-static unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, +- 0x2e, 0x2f, I2C_CLIENT_END }; ++static unsigned short normal_i2c[] = { 0x2d, I2C_CLIENT_END }; + static unsigned short isa_address; + + /* Insmod parameters */ diff --git a/queue/series b/queue/series index d7c43c1034c..3e18dacc8ac 100644 --- a/queue/series +++ b/queue/series @@ -17,3 +17,4 @@ fix-zap_thread-s-ptrace-related-problems.patch fix-deadlock-in-ext2.patch sys_mbind-sanity-checking.patch it87-fix-oops-on-removal.patch +hwmon-it87-probe-i2c-0x2d-only.patch