Changeset 1871
- Timestamp:
- 07/07/03 15:37:29 (5 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
r1836 r1871 30 30 See instructions on our download page. 31 31 32 * Write the new driver. 32 * Write the new driver. 33 If you write a driver for a device that is similar to one we already 34 support, use the other device driver as a template. If you don't know 35 which one to use, either ask us or use the following defaults. 33 36 For a chip driver, use lm78.c as template. For an SMBus-only adapter, 34 37 use i2c-piix4.c. Use i2c-via.c for an I2C-level adapter ('bit banger'). … … 73 76 * Test the module. 74 77 This is usually the boring part... 75 Test both with 2.2.x and 2.4.x kernels. 78 Test with a recent 2.4 kernel, and possibly with an older one 79 (>=2.4.9). 76 80 77 81 * Add detection information to prog/detect/sensors-detect. … … 121 125 you started), then submit the changes to us as a patch against CVS, 122 126 or check them in. 127 128 * If you want to have your driver integrated to Linux 2.5, you have to 129 port your driver to the new sysfs interface. Once done and preferably 130 after testing, submit a patch to the Linux kernel mailing list 131 <linux-kernel at vger dot kernel dot org> and Greg KH (greg at kroah 132 dot com). 123 133 124 134 ---------------------------------------------------------------------
