mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-20 19:41:47 +00:00
Please examine the Makefile before extending it, as its approach is completely new. It should be very modular now, though. Makefile fragments are called Module.mk. The Module.mk in i2c does not handle dependencies yet. There are some patches to bit-mb.c to make it compile with 2.0 kernels. They have been sent to Simon Vogl (author of the i2c module). git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4 7894878c-1315-0410-8ee3-d5d059ff63e0
Okay, a new version is born... There are still many files from the old version lying around that need to be ported - anyone have spare time ? Currently, the following modules are running in the new mode: i2c.c - main admin module & common interface i2c-dev.c - character device interface for the bus algo-bit.c - Algorithms for bit banging bit-lp.c - hw part for parallel port adapter, Philips interface bit-velle.c - hw part for parallel port adapter, Vellemann K9000 bit-mb - VIA Chipset motherboards' SMBus -> see README.bitmb The other modules, esp. algo-pcf.c still need to be converted. For the hw specific mods, this should be relatively easy & quick. A simple driver example is in drivers -- a piece of code to access EEPROMs. Simon (simon@tk.uni-linz.ac.at) For more detailed documentation have a look at http://www.tk.uni-linz.ac.at/~simon/private/i2c