Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@oss.sgi.com>
To: linux-kernel@vger.kernel.org, SGI-MIPS List <linux-mips@oss.sgi.com>
Subject: Re: [patch] 2.4.0-test8: Alpha RTC clean-ups
Date: Mon, 25 Sep 2000 18:28:53 +0200	[thread overview]
Message-ID: <20000925182853.B9730@bacchus.dhis.org> (raw)
In-Reply-To: <20000925125006.B28011@lug-owl.de>; from jbglaw@lug-owl.de on Mon, Sep 25, 2000 at 12:50:06PM +0200

On Mon, Sep 25, 2000 at 12:50:06PM +0200, Jan-Benedict Glaw wrote:

> On Mon, Sep 25, 2000 at 11:35:35AM +0200, Maciej W. Rozycki wrote:
> > On Fri, 22 Sep 2000, Jan-Benedict Glaw wrote:
> > 
> > > Instead of having hard-coded values, we should maybe do something
> > > more variable like:
> > >  if (year >= (20 + YEARS_SINCE_2000) && year < (48 + YEARS_SINCE_2000)
> > > 	...
> > 
> >  This looks reasonable.
> > 
> > > This applies to other platforms using different epoch vaules as
> > > well, of course...
> > 
> >  Alpha appears to be the only one.
> 
> ./driver/char/rtc.c:rtc_init()
> #if defined(__alpha__) || defined(__mips__)
> [...]
> 
> MIPS does that as well _in the wrong way_ compared to rtc.c:
> ./arch/mips/dev/time.c:time_init()
>     /*
>      * The DECstation RTC is used as a TOY (Time Of Year).
>      * The PROM will reset the year to either '70, '71 or '72.
>      * This hack will only work until Dec 31 2001.
>      */
>     year += 1928;

This has already been fixed.  In any case the DECstation RTC stuff is so
weird, don't try to explain it rationally ...

> Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!

Rechtschreibdeformation ...

  Ralf

           reply	other threads:[~2000-09-25 20:02 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20000925125006.B28011@lug-owl.de>]

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=20000925182853.B9730@bacchus.dhis.org \
    --to=ralf@oss.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@oss.sgi.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