From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@Stimpy.netroedge.com
Cc: khali@linux-fr.org
Subject: [PATCH] I2C: Reduce it87 i2c address range
Date: Thu, 3 Feb 2005 09:38:58 -0800 [thread overview]
Message-ID: <11074523383635@kroah.com> (raw)
In-Reply-To: <11074523383338@kroah.com>
ChangeSet 1.2044, 2005/02/03 00:29:54-08:00, khali@linux-fr.org
[PATCH] I2C: Reduce it87 i2c address range
IT87xxF chips were never seen at any other I2C address than the default
(0x2d) so I think that we could safely reduce the range of addresses the
it87 drivers accepts. Currently it accepts 0x20-0x2f, I believe that
0x28-0x2f would already be more than sufficient.
(In theory, any address is possible, so whatever range we choose is
arbitrary anyway.)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/i2c/chips/it87.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff -Nru a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c
--- a/drivers/i2c/chips/it87.c 2005-02-03 09:35:02 -08:00
+++ b/drivers/i2c/chips/it87.c 2005-02-03 09:35:02 -08:00
@@ -2,8 +2,8 @@
it87.c - Part of lm_sensors, Linux kernel modules for hardware
monitoring.
- Supports: IT8705F Super I/O chip w/LPC interface
- IT8712F Super I/O chip w/LPC interface & SMbus
+ Supports: IT8705F Super I/O chip w/LPC interface & SMBus
+ IT8712F Super I/O chip w/LPC interface & SMBus
Sis950 A clone of the IT8705F
Copyright (C) 2001 Chris Gauthron <chrisg@0-in.com>
@@ -42,10 +42,8 @@
/* Addresses to scan */
-static unsigned short normal_i2c[] = { 0x20, 0x21, 0x22, 0x23, 0x24,
- 0x25, 0x26, 0x27, 0x28, 0x29,
- 0x2a, 0x2b, 0x2c, 0x2d, 0x2e,
- 0x2f, I2C_CLIENT_END };
+static unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d,
+ 0x2e, 0x2f, I2C_CLIENT_END };
static unsigned int normal_isa[] = { 0x0290, I2C_CLIENT_ISA_END };
/* Insmod parameters */
next prev parent reply other threads:[~2005-02-03 17:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-03 17:37 [BK PATCH] I2C fixes for 2.6.11-rc3 Greg KH
2005-02-03 17:38 ` [PATCH] I2C: Fix DS1621 detection Greg KH
2005-02-03 17:38 ` [PATCH] I2C: Resolve resource conflict between i2c-viapro and via686a Greg KH
2005-02-03 17:38 ` [PATCH] I2C: Use standard temperature converters for as99127f Greg KH
2005-02-03 17:38 ` Greg KH [this message]
2005-02-03 17:38 ` [PATCH] I2C: Fix i2c-sis5595 pci configuration accesses Greg KH
2005-02-03 17:38 ` [PATCH] I2C: Do not show disabled pc87360 fans Greg KH
2005-02-03 17:38 ` [PATCH] I2C: Prevent buffer overflow on SMBus block read in Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11074523383635@kroah.com \
--to=greg@kroah.com \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sensors@Stimpy.netroedge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox