linux-mips
[Top] [All Lists]

Re: [PATCH 2.6] enable genrtc for MIPS

To: macro@ds2.pg.gda.pl
Subject: Re: [PATCH 2.6] enable genrtc for MIPS
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun, 01 Feb 2004 20:30:05 +0900 (JST)
Cc: jsun@mvista.com, linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.55.0401302012200.10311@jurand.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040130103913.E31937@mvista.com> <Pine.LNX.4.55.0401302012200.10311@jurand.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Fri, 30 Jan 2004 20:13:38 +0100 (CET), "Maciej W. Rozycki" 
>>>>> <macro@ds2.pg.gda.pl> said:

>> Of course, individual board is still free to choose the old rtc.c
>> or implement some peculiar ones of its own - although I can't see
>> why. :)

macro>  s/old/full-featured/

No, I suppose s/rtc/mips-rtc/ is what the original patch means.

By the way, with this patch, individual board can not implement it's
own genrtc routines.  How about making gen_rtc_time, etc. pointer to
functions to allow overrides?

I think implementing rtc_get_time (mips specific) with get_rtc_time
(genrtc) is more efficient than implementing get_rtc_time with
rtc_get_time for most RTC chips.

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>