Subject: CVS commit: src/sys/arch/x86/x86
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 08/13/2007 18:32:22
Module Name:	src
Committed By:	briggs
Date:		Mon Aug 13 18:32:22 UTC 2007

Modified Files:
	src/sys/arch/x86/x86: ipmi.c

Log Message:
Check for duplicate sensor names in the IPMI table.  If a duplicate name
is found, try to make it unique by appending a count (1-99) to the sensor
description (truncating, if necessary).  This takes my Dell PowerEdge 1800
from:
        Temp:     40.000 degC
  VRD 1 Temp:     35.000 degC
  VRD 0 Temp:     39.000 degC
 Planar Temp:     35.000 degC
Ambient Temp:     20.000 degC
       Fan 2:       1500 RPM
       Fan 1:       1425 RPM
CMOS Battery:      3.057 V
   Intrusion:         ON
     Status :         ON

to:
       Temp3:     40.000 degC
       Temp2:     40.000 degC
  VRD 1 Temp:     35.000 degC
  VRD 0 Temp:     39.000 degC
 Planar Temp:     35.000 degC
Ambient Temp:     20.000 degC
       Temp1:     41.000 degC
        Temp:     43.000 degC
       Fan 2:       1500 RPM
       Fan 1:       1425 RPM
CMOS Battery:      3.057 V
   Intrusion:         ON
    Status 1:         ON
     Status :         ON


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/sys/arch/x86/x86/ipmi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.