Made i2c-core a bit quieter (removed those Transaction logs)

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@246 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-02-18 14:21:37 +00:00
1 parent d4ae94bf20
commit 1e6a3fb89c
2 files changed
+8 -3

No files matched your search

+5
View File
@@ -12,6 +12,9 @@ The current version of Simon's code is called mod-19990118.tar.gz.
Here come the changes:
! Renamed #define HW_B_MB to HW_B_VIA in i2c.h
! Added '#include <linux/page.h>' to i2c.h, to make it compile with 2.2
kernels.
* Moved files: bit-via.c and README.bit-via
These are now under lm_sensors source tree as
@@ -23,6 +26,8 @@ Here come the changes:
influence on the resulting object code; a few more functions may be
exported, but this should do no harm.
# Made i2c-core a bit quieter
* New file: Module.mk
The Makefile fragment we use to compile the files in this directory.
+3 -3
View File
@@ -336,7 +336,7 @@ int i2c_transfer(struct i2c_adapter * adap, struct i2c_msg msgs[],int num)
{
int ret;
DEB(printk("master_xfer: %s with %d msgs.\n",adap->name,num));
DEB2(printk("master_xfer: %s with %d msgs.\n",adap->name,num));
I2C_LOCK(adap);
ret = adap->algo->master_xfer(adap,msgs,num);
@@ -355,7 +355,7 @@ int i2c_master_send(struct i2c_client *client,const char *buf ,int count)
msg.len = count;
(const char *)msg.buf = buf;
DEB(printk("master_send: writing %d bytes on %s.\n",
DEB2(printk("master_send: writing %d bytes on %s.\n",
count,client->adapter->name));
I2C_LOCK(adap);
@@ -379,7 +379,7 @@ int i2c_master_recv(struct i2c_client *client, char *buf ,int count)
msg.len = count;
msg.buf = buf;
DEB(printk("master_recv: reading %d bytes on %s.\n",
DEB2(printk("master_recv: reading %d bytes on %s.\n",
count,client->adapter->name));
I2C_LOCK(adap);