Changeset 1060
- Timestamp:
- 04/05/01 01:42:12 (8 years ago)
- Files:
-
- lm-sensors/trunk/doc/developers/new_drivers (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/doc/developers/new_drivers
r995 r1060 6 6 check first nobody else is already working on it. 7 7 Check our "New Drivers" page for information also. 8 You will also need to ask us to have an ID reserved in 9 i2c-id.h in the i2c package. 8 10 9 11 * Write the new driver. … … 21 23 Be sure and use 8 column tabs. 22 24 23 * Add the driver to the M akefile.25 * Add the driver to the Module.mk (makefile) 24 26 Usually, you can just add it to KERNEL{CHIPS,DRIVERS}TARGETS in the 25 27 Module.mk file in the directory itself. … … 46 48 are present. Contact Frodo if you need help. 47 49 48 * Add chip information to lib/chips.{c,h} for chip drivers50 * Add chip information to lib/chips.{c,h} (for chip drivers only) 49 51 Until you have done this, the chip will be invisible for user-level 50 52 programs. Again, contact Frodo if you need help with this. 51 53 52 * Add entries to etc/sensors.conf.eg 54 * Add entries to etc/sensors.conf.eg (for chip drivers only) 53 55 If needed, you can set defaults here. 54 56 55 * Add a dedicated procedure to prog/sensors/chips.[ch] 57 * Add a dedicated procedure to prog/sensors/chips.[ch] (for chip drivers only) 56 58 This makes the included sensors program pretty-print your chip information. 57 59
