PATCH: lm92: port for 2.6 kernel

James Chapman jchapman at katalix.com
Mon Feb 28 14:13:09 CET 2005


The following patch adds 2.6 kernel support to the lm92 driver from
sensors-2.9.0. Tested with linux-2.6.11-rc5 on ppc32.

- change i2c API for 2.6
- fix endian bugs - use cpu_to_le16(), not swab16()
- if max6635 is detected, show a different device name in sysfs

/james



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lm92-1.patch
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20050228/127037f2/attachment.ksh>


More information about the lm-sensors mailing list