linux-mips
[Top] [All Lists]

Re: [RFC] generic MIPS RTC driver

To: Jun Sun <jsun@mvista.com>
Subject: Re: [RFC] generic MIPS RTC driver
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Mon, 12 Nov 2001 20:04:17 +0100 (MET)
Cc: Geert Uytterhoeven <geert@linux-m68k.org>, Linux/MIPS Development <linux-mips@oss.sgi.com>, Linux/m68k <linux-m68k@lists.linux-m68k.org>, Linux/PPC Development <linuxppc-dev@lists.linuxppc.org>
In-reply-to: <3BF013E3.52F45AE9@mvista.com>
Organization: Technical University of Gdansk
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
On Mon, 12 Nov 2001, Jun Sun wrote:

> >  OK, then you need an RTC chipset-specific driver and not a CPU
> > architecture-specific one. 
> 
> You *can* write a chip specific driver in addition to this generic one if you
> want.  Presumably the chip-specific one provides more operations than just
> read/write date.

 Then why make this driver MIPS-specific?

> > Otherwise we'll end with a zillion of similar
> > RTC drivers like we already have for LANCE and SCC chips.
> 
> Don't quite understand this statement.

 This assumed you've meant an MC146818 RTC that already has a driver for
certain (but possibly not all) configurations.  Since you haven't -- just
forget it. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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