From patchwork Sun Dec 8 09:49:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 298783 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ea0-x23d.google.com (mail-ea0-x23d.google.com [IPv6:2a00:1450:4013:c01::23d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 5EB162C00D6 for ; Sun, 8 Dec 2013 20:50:07 +1100 (EST) Received: by mail-ea0-f189.google.com with SMTP id f15sf227053eak.6 for ; Sun, 08 Dec 2013 01:50:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=epMvl28cKLaWh9KNjN73SDqrPwTNricuazxNpIr5Hjo=; b=lC9K+Mqj6AKQJPuJdCotFDSjdum8TZRdGFkqeCaMo6SUIvOz7ds8C9shn0sYvH8ADf 0CqL/YxtrZzL5AMBoBmEaPoPHxTEqPI0A59rmVbm/rmesppFyBCcTY/wFUKGrspSq9tV 89hPO6Hw9adERc5RaaTsYO1sBWYQ1HrYMmVwv0N4dwH3kFHIQAHAiSzneK1yewpbp1W0 2wkNVbh65bHsgt577jWgUDmCg9g2C65FxtdU5bTQjkUQ8YimLsZhhw3t7b6WGEE7RUan gKQ1QLdhf2SazAX7fiafJS/7rDzYNAw8Y9hm0YJJjuFu/JUGNB0bgTs2TcO0EQQ3H0gw Pzew== X-Received: by 10.152.116.11 with SMTP id js11mr3117lab.31.1386496203532; Sun, 08 Dec 2013 01:50:03 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.152.5.98 with SMTP id r2ls225504lar.55.gmail; Sun, 08 Dec 2013 01:50:02 -0800 (PST) X-Received: by 10.112.132.161 with SMTP id ov1mr5472701lbb.0.1386496202614; Sun, 08 Dec 2013 01:50:02 -0800 (PST) Received: from gerard.telenet-ops.be (gerard.telenet-ops.be. [195.130.132.48]) by gmr-mx.google.com with ESMTP id s42si918862eew.1.2013.12.08.01.50.02 for ; Sun, 08 Dec 2013 01:50:02 -0800 (PST) Received-SPF: neutral (google.com: 195.130.132.48 is neither permitted nor denied by best guess record for domain of geert@linux-m68k.org) client-ip=195.130.132.48; Received: from ayla.of.borg ([84.193.72.141]) by gerard.telenet-ops.be with bizsmtp id yxq01m00z32ts5g0Hxq0Hi; Sun, 08 Dec 2013 10:50:02 +0100 Received: from geert by ayla.of.borg with local (Exim 4.76) (envelope-from ) id 1Vpazw-0005O1-Ar; Sun, 08 Dec 2013 10:50:00 +0100 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Alessandro Zummo Subject: [rtc-linux] [PATCH 3/3] rtc: Disable RTC_DRV_CMOS on Atari Date: Sun, 8 Dec 2013 10:49:57 +0100 Message-Id: <1386496197-20669-3-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1386496197-20669-1-git-send-email-geert@linux-m68k.org> References: <1386496197-20669-1-git-send-email-geert@linux-m68k.org> X-Original-Sender: geert@linux-m68k.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 195.130.132.48 is neither permitted nor denied by best guess record for domain of geert@linux-m68k.org) smtp.mail=geert@linux-m68k.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , On ARAnyM (emulating an Atari Falcon, which doesn't have an RTC IRQ, as the Second Multi Function Peripheral MFP 68901 is available on Atari TT only), rtc-cmos doesn't work well: - The date is of by 32 years (2045 instead of 2013): rtc_cmos rtc_cmos: setting system clock to 2045-12-02 10:56:17 UTC (2395824977) - The hwclock utility doesn't work: hwclock: ioctl() to /dev/rtc to turn on update interrupts failed unexpectedly, errno=5: Input/output error. As rtc-generic works fine for the RTC part, and nvram works for the NVRAM part, we'll continue on using that. Signed-off-by: Geert Uytterhoeven Cc: Alessandro Zummo --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 007730222116..f1d7e974a700 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -626,7 +626,7 @@ comment "Platform RTC drivers" config RTC_DRV_CMOS tristate "PC-style 'CMOS'" - depends on X86 || ARM || M32R || ATARI || PPC || MIPS || SPARC64 + depends on X86 || ARM || M32R || PPC || MIPS || SPARC64 default y if X86 help Say "yes" here to get direct support for the real time clock