linux-mips
[Top] [All Lists]

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

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH 1/2] RTC: enable RTC_LIB for fuloong2e and fuloong2f
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 4 Nov 2009 17:26:50 +0100
Cc: Arnaud Patard <apatard@mandriva.com>, linux-mips@linux-mips.org, rtc-linux@googlegroups.com
In-reply-to: <1257349762-21407-1-git-send-email-wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1257349762-21407-1-git-send-email-wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
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.

  Ralf

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