All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] What todo with driver entry in sensors-detect for
Date: Fri, 19 Oct 2007 13:15:05 +0000	[thread overview]
Message-ID: <4718ADD9.8000502@hhs.nl> (raw)
In-Reply-To: <47187757.3000308@hhs.nl>

Jean Delvare wrote:
> Hi Hans,
> 
> On Fri, 19 Oct 2007 11:22:31 +0200, Hans de Goede wrote:
>> I just remembered that I still need to update 2.10.5's sensors-detect for the 
>> new fschmd driver. I've left the fscpos and fscher drivers in there for now as 
>> fschmd will not be available until 2.6.24 gets released.
>>
>> But what should I do with the fscscy entry? The fscscy driver is only available 
>> in 2.4 and in 2.6 the fschmd driver should be used.
> 
> We have a mechanism for that already, search for @chip_kern24_ids and
> @chip_kern26_ids. When a different driver should be used for 2.4 and
> 2.6 kernels, add one entry in each of these lists instead of @chip_ids.
> 
> The fscher and fscpos cases are actually more difficult to handle. You
> changed sensors-detect in branch lm-sensors-3.0.0 to always select the
> new driver (fschmd) for all FSC chips. This is only correct for kernels
>> = 2.6.24, while this branch is supposed to support kernels as old as
> 2.6.5! So you need to update sensors-detect to take this into account,
> and select the old driver for kernels 2.6.23 and older. Look at
> chip_special_cases and do something similar.
> 
> On top of that, please keep in mind that trunk should still support 2.6
> kernels, including future ones, as much as possible. This means that it
> should also know about the fschmd driver for kernels >= 2.6.24. In
> fact, I would like to keep sensors-detect in both branches in sync as
> long as possible, it's much easier to maintain that way.
> 

I've changed sensors-detect so that it will only advice the use of the fschmd 
driver for chips with alternatives when the running kernel >= 2.6.24 and I've 
made sensors-detect identical in both branches again.

Regards,

Hans


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2007-10-19 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19  9:22 [lm-sensors] What todo with driver entry in sensors-detect for FSC Hans de Goede
2007-10-19 12:23 ` [lm-sensors] What todo with driver entry in sensors-detect for Jean Delvare
2007-10-19 13:15 ` Hans de Goede [this message]
2007-10-20  8:51 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4718ADD9.8000502@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.