/[linux-patches]/genpatches-2.6/trunk/2.6.14/1449_15.5_it87-probe-restriction.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1449_15.5_it87-probe-restriction.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations) (download) (as text)
Tue Mar 14 13:34:17 2006 UTC (14 years, 8 months ago) by johnm
File MIME type: text/x-diff
File size: 1946 byte(s)
2.6.14-11, rebase against local tree
1 Re-diffed for 2.6.14.7 by Kerin Millar <kerframil@gmail.com>:
2
3 From: Jean Delvare <khali@linux-fr.org>
4 Date: Sun, 19 Feb 2006 14:34:03 +0000 (+0100)
5 Subject: [PATCH] hwmon it87: Probe i2c 0x2d only
6 X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/chrisw/linux-2.6.15.y.git;a=commitdiff;h=fd01ab8d4018937a01cbc221e7a006bcde24c87f
7
8 [PATCH] hwmon it87: Probe i2c 0x2d only
9
10 Only scan I2C address 0x2d. This is the default address and no IT87xxF
11 chip was ever seen on I2C at a different address. These chips are
12 better accessed through their ISA interface anyway.
13
14 This fixes bug #5889, although it doesn't address the whole class
15 of problems. We'd need the ability to blacklist arbitrary I2C addresses
16 on systems known to contain I2C devices which behave badly when probed.
17
18 Signed-off-by: Jean Delvare <khali@linux-fr.org>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
21 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
22 ---
23
24 --- linux-2.6.14.7.orig/Documentation/hwmon/it87 2005-10-27 19:02:08.000000000 -0500
25 +++ linux-2.6.14.7/Documentation/hwmon/it87 2006-03-07 05:34:33.000000000 -0500
26 @@ -9,7 +9,7 @@
27 http://www.ite.com.tw/
28 * IT8712F
29 Prefix: 'it8712'
30 - Addresses scanned: I2C 0x28 - 0x2f
31 + Addresses scanned: I2C 0x2d
32 from Super I/O config space, or default ISA 0x290 (8 I/O ports)
33 Datasheet: Publicly available at the ITE website
34 http://www.ite.com.tw/
35 --- linux-2.6.14.7.orig/drivers/hwmon/it87.c 2006-03-07 04:54:09.000000000 -0500
36 +++ linux-2.6.14.7/drivers/hwmon/it87.c 2006-03-07 05:34:05.000000000 -0500
37 @@ -45,8 +45,7 @@
38
39
40 /* Addresses to scan */
41 -static unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d,
42 - 0x2e, 0x2f, I2C_CLIENT_END };
43 +static unsigned short normal_i2c[] = { 0x2d, I2C_CLIENT_END };
44 static unsigned short isa_address = 0x290;
45
46 /* Insmod parameters */

  ViewVC Help
Powered by ViewVC 1.1.20