public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: rol@as2917.net
Cc: "'Adrian Bunk'" <bunk@stusta.de>,
	linux-kernel@vger.kernel.org, a.zummo@towertech.it,
	rtc-linux@googlegroups.com
Subject: Re: 2.6.21-rc2 : Oops in rtc_cmos...
Date: Tue, 6 Mar 2007 21:26:50 -0800	[thread overview]
Message-ID: <200703062126.52136.david-b@pacbell.net> (raw)
In-Reply-To: <051e01c76072$fcdae290$4b00a8c0@donald>

On Tuesday 06 March 2007 8:42 pm, Paul Rolland wrote:

> It seems to me that the DRV_RTC_CMOS and the "standard" CONFIG_RTC
> shouldn't be used at the same time... Am I correct on that ? 

Yes.  I recall not forcing that because I couldn't be sure the new code
was functionally identical to the legacy driver ... and in areas like
HPET, knew it was not.  Of course, since then I see that someone has
kicked in a patch making Linux stop using HPET in legacy-replacement
mode, so that particular issue now seems moot.

Another area it's not functionally identical is CONFIG_SND_RTCTIMER,
where the ALSA code doesn't know how to use the new RTC framework.
(Or, probably, cope with the fact that not all RTCs can give periodic
IRQs at the rates it wants ...)

So it wasn't clear to me that distros might not need to have both
options, to help cope with strange hardware.  Phasing out legacy code
tends to be done a bit cautiously.

On the other hand, the distro vendors have been slow to look at this
issue, and haven't even upgraded their copies of "hwclock" to be
able to recognize /dev/rtc0, so I'm not holding my breath there.


> Wouldn't it be better to have this dependancy enforced ?

Feel free to submit a patch updating the Kconfig for both drivers.

Merging it might complicate distro efforts to move away from that
legacy driver (by preventing systems that can run with either one),
but I don't see that happening very quickly anyway.

- Dave

  reply	other threads:[~2007-03-07  5:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-04 18:43 2.6.21-rc2 : Oops in rtc_cmos Paul Rolland
2007-03-04 23:48 ` Adrian Bunk
2007-03-06  7:29   ` Paul Rolland
2007-03-06 19:32     ` David Brownell
2007-03-06 20:50       ` [rtc-linux] " Alessandro Zummo
2007-03-06 22:23         ` David Brownell
2007-03-07  4:42       ` Paul Rolland
2007-03-07  5:26         ` David Brownell [this message]
2007-03-07  8:16         ` Alessandro Zummo

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=200703062126.52136.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=a.zummo@towertech.it \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rol@as2917.net \
    --cc=rtc-linux@googlegroups.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox