Very minor changes

* Turned the i2c noise level down, by setting the debug_level in algo-bit.c
  and i2c-core.c to 0 instead of 1. This should stop it from polluting
  the dmesg output, as it does at this moment.
* Renamed gl518-r?0-* entries to gl518sm-r?0-*


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@82 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-12-16 02:55:02 +00:00
1 parent fb456d3585
commit 3cf3a85b3c
5 files changed
+8 -4

No files matched your search

+4
View File
@@ -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.
+1 -1
View File
@@ -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 */
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)