linux-mips
[Top] [All Lists]

[PATCH 2.6] enable genrtc for MIPS

To: linux-mips@linux-mips.org
Subject: [PATCH 2.6] enable genrtc for MIPS
From: Jun Sun <jsun@mvista.com>
Date: Fri, 30 Jan 2004 10:39:13 -0800
Cc: jsun@mvista.com
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
genrtc.c is like mips-rtc.c we have in 2.4, except it is shared by
other arches and has more capabilities (such as emulated alarms)

This patch implements the arch-specific code for genrtc based on 
MIPS's rtc_get_time() and rtc_set_time(), which are now implemented
by every MIPS board.  This essentially means with this patch
every MIPS machine now has a working genrtc for free.

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. :)

Jun

Attachment: mips-genrtc.patch
Description: Text document

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