All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] hwclock
@ 2000-12-19 15:49 Alex deVries
  2000-12-19 23:25 ` Grant Grundler
  0 siblings, 1 reply; 3+ messages in thread
From: Alex deVries @ 2000-12-19 15:49 UTC (permalink / raw)
  To: parisc-linux


There's been some discussion on IRC about not always having to set the
clock when in userspace.  I had a quick look at it, and it shouldn't be
too hard.  We just need a parisc version of hwclock which calls the
PDC_TOD functions.

It should be reasonably easy to get this going, so if someone's looking
for an unintrusive and simple task, have a look at it.

hwclock is part of the ever-terrible utils-linux package, and you should
be able to use hwclock-ppc.c as a starting point.

- Alex

-- 
Alex deVries, Principal Solutions Architect, The Puffins at Linuxcare
613.562.2759 tel
alex@linuxcare.com, http://www.linuxcare.com/
Linuxcare, Support for the revolution.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] hwclock
  2000-12-19 15:49 [parisc-linux] hwclock Alex deVries
@ 2000-12-19 23:25 ` Grant Grundler
  2000-12-20 10:28   ` Richard Hirst
  0 siblings, 1 reply; 3+ messages in thread
From: Grant Grundler @ 2000-12-19 23:25 UTC (permalink / raw)
  To: Alex deVries; +Cc: parisc-linux

Alex deVries wrote:
> There's been some discussion on IRC about not always having to set the
> clock when in userspace.  I had a quick look at it, and it shouldn't be
> too hard.  We just need a parisc version of hwclock which calls the
> PDC_TOD functions.

CONFIG_GENRTC in fact does use PDC_TOD.
Randolph Chung had hwclock working for PXC-L/L2 machines and I tested it
on my c3k (32-bit) a few weeks back.
If it's broken, then it's a "recent" change.

grant

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [parisc-linux] hwclock
  2000-12-19 23:25 ` Grant Grundler
@ 2000-12-20 10:28   ` Richard Hirst
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Hirst @ 2000-12-20 10:28 UTC (permalink / raw)
  To: Grant Grundler; +Cc: Alex deVries, parisc-linux

On Tue, Dec 19, 2000 at 03:25:34PM -0800, Grant Grundler wrote:
> Alex deVries wrote:
> > There's been some discussion on IRC about not always having to set the
> > clock when in userspace.  I had a quick look at it, and it shouldn't be
> > too hard.  We just need a parisc version of hwclock which calls the
> > PDC_TOD functions.
> 
> CONFIG_GENRTC in fact does use PDC_TOD.
> Randolph Chung had hwclock working for PXC-L/L2 machines and I tested it
> on my c3k (32-bit) a few weeks back.
> If it's broken, then it's a "recent" change.

Works for me on B180L (once I created /dev/rtc).  Kernel source as of
CVS 12 hours ago.

Richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-12-20 10:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-19 15:49 [parisc-linux] hwclock Alex deVries
2000-12-19 23:25 ` Grant Grundler
2000-12-20 10:28   ` Richard Hirst

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.