linux-mips
[Top] [All Lists]

[PATCH v2 2/7] [loongson] lemote-2f: rtc: enable legacy RTC driver

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH v2 2/7] [loongson] lemote-2f: rtc: enable legacy RTC driver
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Tue, 10 Nov 2009 00:06:11 +0800
Cc: zhangfx@lemote.com, yanh@lemote.com, huhb@lemote.com, Nicholas Mc Guire <hofrat@hofr.at>, Arnaud Patard <apatard@mandriva.com>, loongson-dev@googlegroups.com, Wu Zhangjin <wuzhangjin@gmail.com>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=dPUS8WnhsQugPgviv9O3ELH6TD0t5cbmEn29wS0xZ3M=; b=L7IiA1Dc0vGczHXXYok/fJ+q2PNb+xBgf3gc6Tu476SJkePV6IP/HMe0cvd8rv+UxK pKvVJ1j/NAIN6GFQ9uXWPUivKzYldioyqskDiYYE1NiAl6C3rxgE6tlegbs1PuNE/n19 OguYYQ2VRzJuoiB+wTaFruXHXJGv8jEyRkRWs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=eNl5qM7ORd7v0smIQnmGHUOdVljAvVv/tZpkEAsFkStIFIhBPM3WC5keHzkgLA45jh /PxzesywxPtBKUbWUUeocmhRmwAqhoYwGVAxLwXVZaqEIjvua29IwVBkmyq9d2p2kV6U CtH0n+uQ/BHc2QPbuW555Td/p+dTASrBTN1l0=
In-reply-to: <3154ef478a3a08f808e3a4b9c9cab9f4e263a8a2.1257781987.git.wuzhangjin@gmail.com>
In-reply-to: <cover.1257781987.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3154ef478a3a08f808e3a4b9c9cab9f4e263a8a2.1257781987.git.wuzhangjin@gmail.com>
References: <cover.1257781987.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzhangjin@gmail.com>

Currently, RTC_LIB is not available on loongson family machines(need
extra patches to enable it), but the legacy RTC driver works well on
them. Herein, We just deselect RTC_LIB and make the legacy RTC driver as
a choice to not break the hwclock relative tools on these machines.

After the relative patches for RTC_LIB upstream
(http://www.linux-mips.org/archives/linux-mips/2009-11/msg00093.html),
we will be safe to Remove this patch at that time, but currently, this
is need.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d00c953..240a3ca 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -7,7 +7,7 @@ config MIPS
        select HAVE_ARCH_KGDB
        # Horrible source of confusion.  Die, die, die ...
        select EMBEDDED
-       select RTC_LIB if !LEMOTE_FULOONG2E
+       select RTC_LIB if !MACH_LOONGSON
 
 mainmenu "Linux/MIPS Kernel Configuration"
 
-- 
1.6.2.1


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