Changes between Version 14 and Version 15 of Kernel2.6

Show
Ignore:
Timestamp:
01/26/09 17:51:29 (4 years ago)
Author:
khali
Comment:

Porting guide is outdated

Legend:

Unmodified
Added
Removed
Modified
  • Kernel2.6

    v14 v15  
    5252  * In kernel 2.6.22, the way the I2C adapters are presented in sysfs changed, and this affects libsensors. You will need lm_sensors version 2.10.3 or later. Alternatively, the kernel can be compiled with CONFIG_SYSFS_DEPRECATED=y, then version 2.10.2 will work too. Older versions of lm_sensors will complain that the I2C adapter names can't be read. This is only a warning though. 
    5353  * A few chip drivers are not yet ported. Therefore sensors-detect may recommend a driver that is not present. Please check your kernel configuration and the drivers/i2c/chips (up to 2.6.12) or drivers/hwmon (since 2.6.13) directory for the presence of your driver. Our [wiki:Devices Devices page] shows which drivers are present in 2.6 kernels. 
    54   * If you would like to port an I2C/SMBus hardware monitoring driver, read [http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/i2c/porting-clients Documentation/i2c/porting-clients] as found in the Linux 2.6 kernel source tree. If you would like to port a non-I2C chip driver, make it a platform driver, using the f71805f driver as an example. 
     54  * If you would like to port an old hardware monitoring driver, your best chance is to look at a similar driver in your target 2.6 kernel tree and use it as an example. 
    5555 
    5656