From: David Miller <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02
Date: Tue, 07 Oct 2008 21:40:27 +0000 [thread overview]
Message-ID: <20081007.144027.159588472.davem@davemloft.net> (raw)
In-Reply-To: <20080904185704.e5c9d1fc.krzysztof.h1@poczta.fm>
From: Krzysztof Helt <krzysztof.h1@poczta.fm>
Date: Tue, 7 Oct 2008 23:39:09 +0200
> I found the problem. The rtc-m48t59 driver sets a century bit if the
> year is over 2000. It is not correct on sparc as the first year is
> 1968 (so the century bit is needed in year 2168).
>
> The only sane solution is to reduce mostek_read_byte() and
> mostek_write_byte() and move the sparc specific year offset (1968)
> into the rtc-m48t59 driver.
>
> I'll prepare a patch.
>
> Thank you for reporting this,
Thanks for tracking this down.
next prev parent reply other threads:[~2008-10-07 21:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-04 16:57 [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 rtcs Krzysztof Helt
2008-09-08 1:26 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 David Miller
2008-09-10 2:07 ` Robert Reif
2008-09-10 2:30 ` David Miller
2008-09-10 2:30 ` David Miller
2008-09-10 2:38 ` David Miller
2008-09-10 5:16 ` Krzysztof Helt
2008-09-10 10:53 ` Robert Reif
2008-09-11 10:04 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 rtcs Alexander Beregalov
2008-09-13 10:33 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 Krzysztof Helt
2008-10-03 20:38 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 rtcs Alexander Beregalov
2008-10-04 10:27 ` krzysztof.h1
2008-10-04 11:26 ` Alexander Beregalov
2008-10-07 21:39 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 Krzysztof Helt
2008-10-07 21:40 ` David Miller [this message]
2008-10-13 20:51 ` Krzysztof Helt
2008-10-13 22:12 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 rtcs Alexander Beregalov
2008-10-19 14:12 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 Krzysztof Helt
2008-10-19 22:17 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 rtcs Alexander Beregalov
2008-10-19 23:31 ` Alexander Beregalov
2008-10-23 17:32 ` [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 Krzysztof Helt
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=20081007.144027.159588472.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=sparclinux@vger.kernel.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 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.