fix for sysctl of DS1775 on MDD

Justin Hibbits chmeeedalf at gmail.com
Fri Jan 14 03:36:54 UTC 2011


Just recompiled my kernel with the ds1775 sensor for my MDD, and  
noticed the sensor name sysctl is blank (shows up as 'dev.ds1775.0.',  
no sensor name), because there is no hwsensor-location property for  
the MDD sensor.  Attached is a patch that adds a generic 'cpu' name.   
Feel free to adjust it as you see fit (checking OF_getprop return  
instead, etc).

- Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ds1775_mdd.diff
Type: application/octet-stream
Size: 780 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20110114/019ffad1/ds1775_mdd.obj
-------------- next part --------------



More information about the freebsd-ppc mailing list