Files
lm-sensors/i2c/MODIFICATIONS
T
Frodo Looijaard 3cf3a85b3c 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
1998-12-16 02:55:02 +00:00

46 lines
1.7 KiB
Plaintext

This is a list of modifications between the stock i2c code as distributed
by Simon Vogl, and the code included in and beneath this directory. None
of these changes are important; you can still use a self-compiled version
of the i2c code and not compile the version in here.
! Changes marked with an exclamation mark *are* important, and *must*
be applied! If there are changes like this in this list, you *must*
use our version of the i2c module!
Here come the changes:
* EXPORT_SYMBOL declarations put between #ifdef statements
They only work if you use the Linux source tree Makefiles. As we want to
use our own Makefile, we have removed them. This should have almost no
influence on the resulting object code; a few more functions may be
exported, but this should do no harm.
* bit-mb.c: Linux 2.0.x fixes
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.
* New file: MODIFICATIONS
The file you are reading right now.
* Removed files: object files and executables
Everywhere, remakeable files are removed, to keep the source distribution
small and lean.
! i2c-core.c: i2c_del_adapter() change
Replaced
i2c_detach_client(client);
with:
client->driver->detach_client(client);
! i2c-core.c, i2c-core.h: function i2c_adapter_id added
We needed a function that would return a low, unique identifier for each
adapter. Putting it anywhere else would have created new, unneeded
module dependencies.