Skip to contentSkip to conversation

HP maxilife chips have a '-' in their prefix

lm-sensors Hans de Goede 2 participants 2 messages Oct 27, 2007 – Oct 28, 2007

lore
Share & tools
lore
#0 lore raw

Hi all,

While working on a new driver I wanted to use a '-' or '_' in the driver name / prefix. Since I thought a '-' wasn't allowed I checked lib/chips.h in trunk.

And there are already chips with a - in the prefix, the HP maxilife family.

This will work with the 2.10.x variant of sensors_parse_chip_name() but not with the 3.0.0 variant of sensors_parse_chip_name().

Now I don;t see a 2.6 driver for the hp maxilife chips, so this probably isn't a problem, still I wanted people to know.

Regards,

Hans

p.s.

While checking prefixes I also found a copy and paste error in the fschmd and fschrc support, meaning that these won't work with 2.10.5 :( (already fixed in trunk).

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Hans,

Quoted 7 lines · Hans de Goede

While working on a new driver I wanted to use a '-' or '_' in the driver name / prefix. Since I thought a '-' wasn't allowed I checked lib/chips.h in trunk.

And there are already chips with a - in the prefix, the HP maxilife family.

This will work with the 2.10.x variant of sensors_parse_chip_name() but not with the 3.0.0 variant of sensors_parse_chip_name().

Pretty much on purpose:
http://www.lm-sensors.org/ticket/2221

Quoted 2 lines

Now I don;t see a 2.6 driver for the hp maxilife chips, so this probably isn't a problem, still I wanted people to know.

That's indeed not a problem. If the maxilife driver is ever ported to Linux 2.6, it'll have to use different prefixes, that's all.

The rationale for the change is that dashes were almost unused (the only exceptions being the lm78-j and maxilife chips, all rare chips) but the cost to support that was important. As it is very easy not to use dashes in prefixes, I thought we would just do that.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors