linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] RTC: enable RTC_LIB for fuloong2e and fuloong2f

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 1/2] RTC: enable RTC_LIB for fuloong2e and fuloong2f
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Thu, 05 Nov 2009 08:44:30 +0800
Cc: Arnaud Patard <apatard@mandriva.com>, linux-mips@linux-mips.org, rtc-linux@googlegroups.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:organization:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=Lp5eXAxVRv60txsFWkTY0kwpcIkaDT7HlIECJ9CANYo=; b=tdJSAEPCjYfGuD2oeSCOer0HshZSv8TkKQ//SRsoguH8c06sGN/e/NjEeeHRg6Orfe zscsKQCAlAGYQU3r07abMUJi6O/nMrSWv4h5rJTa9r3NCRjbtKNbsTtiaJsWzZEkbxpE vnQTdyGenCDnG0lggqjXDyL7R82WoidWhaKoY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=TCwXkorIiHw4wnWG1dGT8XM26SwVaICc3Lxp500nUWaWZL/Ag1J0bOMh+ZveL6JVzs oGQaMwaxN95TzT26/qMZ1qad5+U3SZ0bUHAEJBs+KnGoQ88afi8569dwML7rbH32fE4a QdNC6eILFHO1aBOQYDcPt3Dejp3WMXst0Du18=
In-reply-to: <20091104162650.GB18408@linux-mips.org>
Organization: DSLab, Lanzhou University, China
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1257349762-21407-1-git-send-email-wuzhangjin@gmail.com> <20091104162650.GB18408@linux-mips.org>
Reply-to: wuzhangjin@gmail.com
Sender: linux-mips-bounce@linux-mips.org
On Wed, 2009-11-04 at 17:26 +0100, Ralf Baechle wrote:
> On Wed, Nov 04, 2009 at 11:49:22PM +0800, Wu Zhangjin wrote:
> 
> > diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
> > index f7a4701..820bdad 100644
> > --- a/drivers/rtc/rtc-cmos.c
> > +++ b/drivers/rtc/rtc-cmos.c
> > @@ -691,7 +691,8 @@ cmos_do_probe(struct device *dev, struct resource 
> > *ports, int rtc_irq)
> >      */
> >  #if        defined(CONFIG_ATARI)
> >     address_space = 64;
> > -#elif defined(__i386__) || defined(__x86_64__) || defined(__arm__) || 
> > defined(__sparc__)
> > +#elif defined(__i386__) || defined(__x86_64__) || defined(__arm__) \
> > +                   || defined(__sparc__) || defined(__mips__)
> >     address_space = 128;
> >  #else
> >  #warning Assuming 128 bytes of RTC+NVRAM address space, not 64 bytes.
> 
> I'd like to see at least this first segment included for 2.6.32 already.
> 

Will split it out for 2.6.32.

Regards,
        Wu Zhangjin


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