Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   xtraeme
Date:           Tue Jul 17 16:47:58 UTC 2007

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

Log Message:
Skip sensors with the same description on the same device at attach time,
if the description of it is not unique, mark the sensor with
ENVSYS_FDUPDESC, return EEXIST and continue.

Also, when changing a description, check that the new description is not
assigned by any other sensor, otherwise return EEXIST.

Note that these restrictions are only per device. Fixes PR kern/36660.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -r1.12 -r1.13 src/sys/sys/envsys.h

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




Home | Main Index | Thread Index | Old Index