Subject: CVS commit: src/sys/dev/sysmon
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 07/19/2007 00:12:47
Module Name:	src
Committed By:	xtraeme
Date:		Thu Jul 19 00:12:47 UTC 2007

Modified Files:
	src/sys/dev/sysmon: sysmon_envsys.c

Log Message:
Maintain a SLIST per device to check for unique descriptions and do not
create any dictionary if it's duplicated. Only the first sensor that has
a unique description will be added.

Remove all elements from the list at sysmon_envsys_unregister() time and
free resources associated with it.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 src/sys/dev/sysmon/sysmon_envsys.c

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