Files
lm-sensors/TODO
T
Frodo Looijaard 81c78982f6 The beginnings of i2c-dev
Everything is in, except the IOCTL hook (which will be pretty simple to add).
It compiles cleanly. It is not tested at all.

Also a very small fix for i2c-proc, and Makefile.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@158 7894878c-1315-0410-8ee3-d5d059ff63e0
1999-01-13 01:32:09 +00:00

34 lines
1.7 KiB
Plaintext

Many, many things. Most notably:
* Fans give overflow if small values are written to them.
* At least the bit-lp and bit-velle modules do no detection on loading;
ask Simon whether this is possible to add.
* kmalloc with GFP_KERNEL can cause a context switch! Check whether this is
safe everywhere it is used.
* Support 10-bit addresses. At this moment, they are supported nowhere, except
in Simon Vogl's i2c modules.
* 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). This must be
done for the i2c modules, too.
* Better general locking, or at least a once-over to check no race-conditions
remain.
* Make lm78.c detect 'double hits', (same chip connected to both SMBus and
ISA).
* Better chip detection; insmod-time paramters to set addresses
(difficult, because of all i2c busses!).
* At least one case report that unused port addresses do not return 0xff
* Registrate which i2c addresses are used (a la ISA) for each adapter.
* 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.
* 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).
* Some library routines are pretty inefficient right now