From: Tom Rini <trini@kernel.crashing.org>
To: Alex Zeffertt <ajz@cambridgebroadband.com>
Cc: leeyang <leeyang@ycig.com>, linuxppc-embedded@lists.linuxppc.org
Subject: Re: 860 rtc problem
Date: Thu, 17 Oct 2002 09:23:57 -0700 [thread overview]
Message-ID: <20021017162357.GL695@opus.bloom.county> (raw)
In-Reply-To: <Pine.LNX.4.44.0210171716280.2469-100000@localhost.localdomain>
On Thu, Oct 17, 2002 at 05:18:21PM +0100, Alex Zeffertt wrote:
> On Thu, 17 Oct 2002, Tom Rini wrote:
>
> > On Thu, Oct 17, 2002 at 05:02:23PM +0100, Alex Zeffertt wrote:
> > > On Thu, 17 Oct 2002, leeyang wrote:
> > >
> > > Hi,
> > >
> > > I've written a rtc driver for the mpc860. See attached files.
> > >
> > > HOWTO BUILD
> > >
> > > 1. Edit KERNEL_DIR in Makefile
> > > 2. make (builds rtc.o and rtc)
> >
> > This appears to be a binary file. And the easiest way to do this is to
> > make ppc_md.set_rtc_time / ppc_md.get_rtc_time point to functions which
> > do what their name implies. Then enable CONFIG_PPC_RTC
>
> You're right. This is actually what the module I have sent you does!
> The reason I wrote the module was merely to provide a way for userland
> programs to set the RTC.
Er, okay. But why not just modify
m8xx_setup.c::m8xx_get_rtc_time/m8xx_set_rtc_time to allow for the
get/set routines there to be overriden ? Doing that would be nice and
clean, and also allow the 'new' genrtc driver in 2.5 to just work as
well.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-10-17 16:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-17 2:19 860 rtc problem leeyang
2002-10-17 14:24 ` Hollis Blanchard
2002-10-17 15:42 ` Wolfgang Denk
2002-10-17 16:02 ` Alex Zeffertt
2002-10-17 16:13 ` Tom Rini
2002-10-17 16:18 ` Alex Zeffertt
2002-10-17 16:23 ` Tom Rini [this message]
2002-10-17 16:34 ` Marius Groeger
2002-10-17 16:38 ` Tom Rini
2002-10-17 16:41 ` Alex Zeffertt
2002-10-17 16:36 ` Alex Zeffertt
2002-10-17 17:05 ` Tom Rini
2002-10-18 1:38 ` leeyang
2002-10-18 8:33 ` 860 rtc problem(sloved!!) leeyang
[not found] <200210171510.g9HFAKX11154@hofr.at>
2002-10-17 16:14 ` 860 rtc problem Alex Zeffertt
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=20021017162357.GL695@opus.bloom.county \
--to=trini@kernel.crashing.org \
--cc=ajz@cambridgebroadband.com \
--cc=leeyang@ycig.com \
--cc=linuxppc-embedded@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox