* [lm-sensors] HP maxilife chips have a '-' in their prefix
@ 2007-10-27 8:44 Hans de Goede
2007-10-28 12:36 ` Jean Delvare
0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2007-10-27 8:44 UTC (permalink / raw)
To: lm-sensors
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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [lm-sensors] HP maxilife chips have a '-' in their prefix
2007-10-27 8:44 [lm-sensors] HP maxilife chips have a '-' in their prefix Hans de Goede
@ 2007-10-28 12:36 ` Jean Delvare
0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2007-10-28 12:36 UTC (permalink / raw)
To: lm-sensors
Hi Hans,
On Sat, 27 Oct 2007 10:44:04 +0200, Hans de Goede wrote:
> 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
> 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.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-28 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-27 8:44 [lm-sensors] HP maxilife chips have a '-' in their prefix Hans de Goede
2007-10-28 12:36 ` Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.