Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755228AbZKDKkW (ORCPT ); Wed, 4 Nov 2009 05:40:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755141AbZKDKkV (ORCPT ); Wed, 4 Nov 2009 05:40:21 -0500 Received: from mx1.moondrake.net ([212.85.150.166]:49228 "EHLO mx1.mandriva.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754775AbZKDKkU (ORCPT ); Wed, 4 Nov 2009 05:40:20 -0500 X-Spam-Virus: No From: Arnaud Patard To: Wu Zhangjin Cc: Ralf Baechle , linux-mips@linux-mips.org, LKML , huhb@lemote.com, yanh@lemote.com, Zhang Le , Thomas Gleixner , Nicholas Mc Guire , zhangfx@lemote.com, liujl@lemote.com Subject: Re: [PATCH -queue v0 5/6] [loongson] rtc: enable legacy RTC driver on fuloong2f References: Organization: Mandriva Date: Wed, 04 Nov 2009 11:40:38 +0100 In-Reply-To: (Wu Zhangjin's message of "Wed, 4 Nov 2009 17:06:07 +0800") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 22 Wu Zhangjin writes: Hi, > RTC_LIB is selected by MIPS by default, and therefore, the legacy RTC driver is > disabled. but fortunately, RTC_LIB not works on fulong, so, enabling the legcy > RTC driver is needed, otherwise, the tools like hwclock will not work. > > because loongson family machines, including fuloong2e, fuloong2f and > yeeloong2f need to enable legacy RTC driver, so we use MACH_LOONGSON > here. There are loongson machines which are working fine with RTC_LIB (for instance the gdium which is using a m41t83 on i2c) so would be better to be more restrictive imho. Arnaud -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/