Changeset 1871

Show
Ignore:
Timestamp:
07/07/03 15:37:29 (5 years ago)
Author:
khali
Message:

Updates from my own experience.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/doc/developers/new_drivers

    r1836 r1871  
    3030  See instructions on our download page. 
    3131 
    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. 
    3336  For a chip driver, use lm78.c as template. For an SMBus-only adapter,  
    3437  use i2c-piix4.c. Use i2c-via.c for an I2C-level adapter ('bit banger'). 
     
    7376* Test the module. 
    7477  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). 
    7680 
    7781* Add detection information to prog/detect/sensors-detect. 
     
    121125  you started), then submit the changes to us as a patch against CVS, 
    122126  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). 
    123133 
    124134---------------------------------------------------------------------