Files
lm-sensors/TODO
T
Frodo Looijaard cbf518d36e Fixes to make code compile with 2.1 kernels
Everything now compiles cleanly (except for warnings in kernel header files)
against 2.1.122. As I do not run 2.1 kernels, loading them could not be
tested.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@22 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-12-02 17:25:53 +00:00

29 lines
1.4 KiB
Plaintext

Many, many things. Most notably:
* Change the i2c modules to keep the namespace clean (EXPORT_SYMBOL does not
work for us; many static declarations need to be added; better ask Simon
Vogl first)
* Make it SMP-safe: there are no spinlocks yet. They are needed at many
places, probably (everywhere where global vars are accessed).
* Extend sensors.c with a file /proc/sys/dev/sensors/chips, which lists
all directories under /proc/sys/dev/sensors with their SYSCTL id
(needed for good sysctl access).
* Write smbus_access_i2c in smbus.c
* Write piix4_* in piix4.c
* Make lm78.c detect 'double hits', (same chip connected to both SMBus and
ISA).
* Better lm78 detection; insmod-time paramters to set addresses (difficult,
because of all i2c busses!).
* Check whether some lm78 functionality is chip-generic and can be moved to
sensors.c.
* Rename i2c-proc.c to i2c-user.c, and extend it with /dev entries;
or, create a better i2c-dev.c, that understands SMBus commands.
* Write all other drivers
* How to make drivers detect thing *not*; for example, if a Winbond is
present, the LM75 driver should not try to access its simulated
LM75 chips (in this case, simply disable them - but what if the LM75
driver was loaded first?).
* Write a userland-library for SMBus/i2c access (through the /dev interface)
* Write a userland detection program for busses (clients are less important;
but perhaps needed too).