git: sensor: Expose max id of sensor device through hw.sensors.dev_idmax

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Mar 31 02:08:50 PDT 2015


commit 2dc01a000798bc43312a9839ae4077b2e7436682
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Mar 30 22:49:22 2015 +0800

    sensor: Expose max id of sensor device through hw.sensors.dev_idmax
    
    There could be so many sensor devices that MAXSENSORDEVICES is far
    from enough, e.g. coretemp.

Summary of changes:
 sys/kern/kern_sensors.c  | 18 +++++++++++++++++-
 usr.bin/systat/sensors.c | 13 ++++++++++---
 2 files changed, 27 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2dc01a000798bc43312a9839ae4077b2e7436682


-- 
DragonFly BSD source repository



More information about the Commits mailing list