From: Linus Torvalds <torvalds@cs.Helsinki.FI>
Subject: Re: /dev/rtc on Jensen?
Date: Wed, 8 May 1996 17:41:44 +0300 (EET DST) [thread overview]
Message-ID: <58415742dc894819b8af3cce4c095013.axp-list@archive.invalid> (raw)
In-Reply-To: <199605080930.LAA09051@vespa.unix-ag.uni-siegen.de>
On Wed, 8 May 1996, Nils Faerber wrote:
>
> Hi folks!
> Yesterday night I tested the new RTC device on my Jensen and crashed the
> system's clock completely so that I had to hard-reset (power cycle) the
> machine.
> So my question is: Is /dev/rtc supposed to work on Jensen?
I guess we can say "supposed to", but not too surprising that it doesn't work
quite right. The Jensen RTC is kind of strange - it's the same as a normal
PC, except it's at the wrong address! (The whole Jensen IO subsystem is
rather strange - DEC was just learning how to do it, and it looks like they
also had some other strangeness going on with the Jensen)
You would probably get it to work by changing RTC_IO_BASE in rtc.c from
0x70 to 0x170 for the Jensen, but in fact you might be better off using
the "RTC_PORT()" define (change the RTC_IO_BASE define to be
#define RTC_IO_BASE RTC_PORT(0)
and everything wshould be ok even on non_jensen setups - this is that the
kernel time init stuff uses.
Paul, you might take note of this (your comments at the RTC_IO_BASE thing
say something along "can't see this changing soon", but you didn't take
into account the strange and wonderful things when non-x86 people start
playing with the ISA bus..)
Linus
next parent reply other threads:[~1996-05-08 14:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199605080930.LAA09051@vespa.unix-ag.uni-siegen.de>
1996-05-08 14:41 ` Linus Torvalds [this message]
[not found] <Pine.LNX.3.91.960508173336.27170C-100000@linux.cs.Helsinki.FI>
1996-05-08 16:12 ` /dev/rtc on Jensen? Paul Gortmaker
1996-05-08 9:30 Nils Faerber
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox