mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Pool <mbp@samba.org>
To: Richard Zidlicky <rz@linux-m68k.org>,
	geert@linux-m68k.org, linux-kernel@vger.kernel.org
Subject: [patch] [Kconfig] disable GEN_RTC on ia-64
Date: Wed, 6 Aug 2003 17:43:13 +1000	[thread overview]
Message-ID: <20030806074312.GT22302@vexed.ozlabs.hp.com> (raw)

IA-64 does not have a directly accessible real-time clock.  As far as
I know the only method to access the clock on this platform is to go
through EFI (Extensible Firmware Interface, like a BIOS), which is
handled by efirtc.c.

genrtc can be configured on for this platform but does not build
(because there is no asm/rtc.h), and anyhow it is never likely to be
useful.  I suggest that it should be disabled in Kconfig, as rtc.c
already is.

Perhaps other platforms that don't support it should be turned off
too.



--- linux-2.6.0test2-ia64/drivers/char/Kconfig.~1~	2003-07-11 06:04:38.000000000 +1000
+++ linux-2.6.0test2-ia64/drivers/char/Kconfig	2003-08-06 17:35:08.000000000 +1000
@@ -797,7 +797,7 @@ config RTC
 
 config GEN_RTC
 	tristate "Generic /dev/rtc emulation"
-	depends on RTC!=y
+	depends on RTC!=y && !IA64
 	---help---
 	  If you say Y here and create a character special file /dev/rtc with
 	  major number 10 and minor number 135 using mknod ("man mknod"), you


Regards,
-- 
Martin 

             reply	other threads:[~2003-08-06  7:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-06  7:43 Martin Pool [this message]
2003-08-06 16:37 ` Tom Rini
2003-08-07  1:18   ` Martin Pool
2003-08-07 16:01     ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030806074312.GT22302@vexed.ozlabs.hp.com \
    --to=mbp@samba.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rz@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®