diff --git a/i2c/MODIFICATIONS b/i2c/MODIFICATIONS index 865412b3..bd4a7429 100644 --- a/i2c/MODIFICATIONS +++ b/i2c/MODIFICATIONS @@ -19,6 +19,10 @@ Here come the changes: Some small changes to make this file compile with 2.0 kernels. These changes will probably be included in the next i2c version. +* algo-bit.c, i2c-core.c: Debugging level turned down + The default debugging level was 1, which created a lot of noise in + the kernel message logs (dmesg) + * New file: Module.mk The Makefile fragment we use to compile the files in this directory. diff --git a/i2c/algo-bit.c b/i2c/algo-bit.c index 1df38ce4..b05cd325 100644 --- a/i2c/algo-bit.c +++ b/i2c/algo-bit.c @@ -70,7 +70,7 @@ static char alg_rcsid[] = "$Id: algo-bit.c,v 1.7 1998/09/28 06:45:38 i2c Exp i2c /* module parameters: */ -int i2c_debug=1; +int i2c_debug=0; int bit_test=0; /* see if the line-setting functions work */ int bit_scan=0; /* have a look at what's hanging 'round */ diff --git a/i2c/i2c-core.c b/i2c/i2c-core.c index 49e80012..888af4d9 100644 --- a/i2c/i2c-core.c +++ b/i2c/i2c-core.c @@ -57,7 +57,7 @@ struct i2c_driver *drivers[I2C_DRIVER_MAX]; int driver_count; /**** debug level */ -int i2c_debug=1; +int i2c_debug=0; /* --------------------------------------------------- * registering functions diff --git a/kernel/chips/gl518sm.c b/kernel/chips/gl518sm.c index 34fbc42e..9624b959 100644 --- a/kernel/chips/gl518sm.c +++ b/kernel/chips/gl518sm.c @@ -264,7 +264,7 @@ int gl518_attach_adapter(struct i2c_adapter *adapter) if ((err = i2c_attach_client(new_client))) goto ERROR2; - sprintf(name,"gl518-r%02x",revision); + sprintf(name,"gl518sm-r%02x",revision); /* Register a new directory entry with module sensors */ if ((err = sensors_register_entry(new_client,name, gl518_dir_table_template)) < 0) diff --git a/src/gl518sm.c b/src/gl518sm.c index 34fbc42e..9624b959 100644 --- a/src/gl518sm.c +++ b/src/gl518sm.c @@ -264,7 +264,7 @@ int gl518_attach_adapter(struct i2c_adapter *adapter) if ((err = i2c_attach_client(new_client))) goto ERROR2; - sprintf(name,"gl518-r%02x",revision); + sprintf(name,"gl518sm-r%02x",revision); /* Register a new directory entry with module sensors */ if ((err = sensors_register_entry(new_client,name, gl518_dir_table_template)) < 0)