* [BK PATCH] More i2c driver fixes for 2.6.0-test5
@ 2003-09-25 21:48 Greg KH
2003-09-25 21:50 ` [PATCH] " Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2003-09-25 21:48 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel, sensors
Hi,
Here are some more i2c driver fixes and additions for 2.6.0-test5. I've
fixed up the check_region/request_region logic for isa drivers and moved
the i2c algorithms into their own subdirectory, both as recommended by
Christoph, and added the eeprom i2c chip driver (ported from the 2.4
tree and converted to use the sysfs binary file interface).
There are a also a few other minor i2c cleanups and fixes in here.
Please pull from: bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
thanks,
greg k-h
drivers/i2c/i2c-algo-bit.c | 567 ------------------------
drivers/i2c/i2c-algo-ite.c | 872 --------------------------------------
drivers/i2c/i2c-algo-pcf.c | 479 --------------------
drivers/i2c/i2c-ite.h | 117 -----
drivers/i2c/i2c-pcf8584.h | 78 ---
Documentation/i2c/sysfs-interface | 5
drivers/i2c/Kconfig | 38 -
drivers/i2c/Makefile | 5
drivers/i2c/algos/Kconfig | 45 +
drivers/i2c/algos/Makefile | 7
drivers/i2c/algos/i2c-algo-bit.c | 567 ++++++++++++++++++++++++
drivers/i2c/algos/i2c-algo-ite.c | 872 ++++++++++++++++++++++++++++++++++++++
drivers/i2c/algos/i2c-algo-ite.h | 117 +++++
drivers/i2c/algos/i2c-algo-pcf.c | 479 ++++++++++++++++++++
drivers/i2c/algos/i2c-algo-pcf.h | 78 +++
drivers/i2c/busses/i2c-elektor.c | 2
drivers/i2c/chips/Kconfig | 12
drivers/i2c/chips/Makefile | 1
drivers/i2c/chips/eeprom.c | 290 ++++++++++++
drivers/i2c/i2c-sensor.c | 5
20 files changed, 2469 insertions(+), 2167 deletions(-)
-----
Greg Kroah-Hartman:
o I2C: remove unneeded #defines in the eeprom chip driver
o I2C: add eeprom i2c chip driver
o I2C: move the i2c algorithm drivers to drivers/i2c/algos
o I2C: remove the isa address check alltogether
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] More i2c driver fixes for 2.6.0-test5
2003-09-25 21:48 [BK PATCH] More i2c driver fixes for 2.6.0-test5 Greg KH
@ 2003-09-25 21:50 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-09-25 21:50 UTC (permalink / raw)
To: linux-kernel, sensors
ChangeSet 1.1325.4.1, 2003/09/23 13:54:31-07:00, greg@kroah.com
[PATCH] I2C: remove the isa address check alltogether.
drivers/i2c/i2c-sensor.c | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
diff -Nru a/drivers/i2c/i2c-sensor.c b/drivers/i2c/i2c-sensor.c
--- a/drivers/i2c/i2c-sensor.c Thu Sep 25 14:50:07 2003
+++ b/drivers/i2c/i2c-sensor.c Thu Sep 25 14:50:07 2003
@@ -50,10 +50,7 @@
return -1;
for (addr = 0x00; addr <= (is_isa ? 0xffff : 0x7f); addr++) {
- void *region_used = request_region(addr, 1, "foo");
- release_region(addr, 1);
- if ((is_isa && (region_used == NULL)) ||
- (!is_isa && i2c_check_addr(adapter, addr)))
+ if (!is_isa && i2c_check_addr(adapter, addr))
continue;
/* If it is in one of the force entries, we don't do any
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-25 21:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-25 21:48 [BK PATCH] More i2c driver fixes for 2.6.0-test5 Greg KH
2003-09-25 21:50 ` [PATCH] " Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox