Skip to contentSkip to conversation

more 2.6 mapping issues

DISCUSSION Mark Studebaker 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

lm78, lm75 at least have
temp_input, temp_max, temp_hyst in sysfs,

but the mapping in lib/proc.c is
temp=>temp_input1
temp_hyst=>temp_hyst1
temp_over=>temp_max1

do we want to submit a driver patch to add the '1' suffixes or add mappings in lib/chips.c?

To be in conformance with Documentation/i2c/sysfs-interface we should add the '1'.

#1 lore raw
Quoted 8 lines

lm78, lm75 at least have
temp_input, temp_max, temp_hyst in sysfs,

but the mapping in lib/proc.c is
temp=>temp_input1
temp_hyst=>temp_hyst1
temp_over=>temp_max1

Quoted 5 lines

do we want to submit a driver patch to add the '1' suffixes or add mappings in lib/chips.c?

To be in conformance with Documentation/i2c/sysfs-interface we should add the '1'.

According to this thread:
http://archives.andrew.net.au/lm-sensors/msg05135.html
we already discussed that point and both of us agreed that adding the '1' suffixes would be the right choice.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/