diff --git a/i2c/MODIFICATIONS b/i2c/MODIFICATIONS index b8805676..e9baf111 100644 --- a/i2c/MODIFICATIONS +++ b/i2c/MODIFICATIONS @@ -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 ' 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. diff --git a/i2c/i2c-core.c b/i2c/i2c-core.c index d5fa2367..412cb3c5 100644 --- a/i2c/i2c-core.c +++ b/i2c/i2c-core.c @@ -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);