Re: [PATCH] rtc-m48t59: fix setting of a year on m48t08 and m48t02 rtcs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Krzysztof Helt <krzysztof.h1@xxxxxxxxx>
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.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux