[PATCH] ugly hack to make therm_pm72 work on XServe G5

Harald Welte laforge at gnumonks.org
Fri Aug 6 18:04:06 EST 2004


I actually forgot that small userspace program ;)

It is a total ripoff of the kernel driver and was implemented because
it's easier to play with i2c from userspace during development.

benh:  Any reason why you implemented your own byte+word read/write
routines?  Apparently the i2c_smbus routines work quite fine, even from
userspace...

--
- Harald Welte <laforge at gnumonks.org>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rackmac-fans.c
Type: text/x-csrc
Size: 4722 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20040806/7032a502/attachment.c>


More information about the Linuxppc-dev mailing list