[Top] [All Lists]

Re: [PATCH 2.6] enable genrtc for MIPS

Subject: Re: [PATCH 2.6] enable genrtc for MIPS
From: Atsushi Nemoto <>
Date: Sun, 01 Feb 2004 20:30:05 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
>>>>> On Fri, 30 Jan 2004 20:13:38 +0100 (CET), "Maciej W. Rozycki" 
>>>>> <> 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>