public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Matthew Wilcox <matthew@wil.cx>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>,
	Andrew Morton <akpm@osdl.org>,
	linux-arch@vger.kernel.org, ak@suse.de, geert@linux-m68k.org,
	Keir.Fraser@cl.cam.ac.uk, chrisw@sous-sol.org,
	zippel@linux-m68k.org
Subject: Re: [Kconfig] use disable command (was Re: [patch] s390 kconfig cleanup, 2nd version).
Date: Sun, 9 Jul 2006 00:42:00 +0100	[thread overview]
Message-ID: <20060708234200.GA2729@linux-mips.org> (raw)
In-Reply-To: <20060707194843.GC1605@parisc-linux.org>

On Fri, Jul 07, 2006 at 01:48:43PM -0600, Matthew Wilcox wrote:

>  config RTC
>         tristate "Enhanced Real Time Clock Support"
> -       depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !ARM
> +       depends on ALPHA || CRIS || H8300 || X86 || M32R || MIPS || SUPERH || (SPARC && PCI) || V850
> 
> (I suspect CRIS, H8300, V850 and M32R should not be in this list.
> Presumably the maintainers are on this list; could they comment?)

Making this depend on the CPU is grosly simplifying things - and wrong.  On
MIPS the MC146818 is used in several systems but not all and chances are
the driver will crash the system if selected on some of the systems.  So
in the end I would suggeste something like in drivers/char/Kconfig:

config RTC
	tristate "Enhanced Real Time Clock Support"
	depends on SYS_HAS_MC146818

config SYS_HAS_MC146818
	bool

and somewhere from arch/*/Kconfig SYS_HAS_MC146818 will have to be selected.

The other rant of course is that the symbol CONFIG_RTC looks like it is
generic RTC support while it really only is for MC146818 and lookalikes.
So it should be renamed to something like CONFIG_MC146818.

  Ralf

      reply	other threads:[~2006-07-08 23:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30 12:26 [patch] s390 kconfig cleanup, 2nd version Martin Schwidefsky
2006-06-30 12:39 ` Geert Uytterhoeven
2006-06-30 12:54   ` Martin Schwidefsky
2006-06-30 12:44 ` Andi Kleen
2006-06-30 13:04   ` Martin Schwidefsky
2006-06-30 13:09     ` Andi Kleen
2006-06-30 13:20       ` Geert Uytterhoeven
2006-06-30 13:28       ` Martin Schwidefsky
2006-06-30 14:05         ` Andi Kleen
2006-06-30 14:15           ` Geert Uytterhoeven
2006-06-30 14:20           ` Martin Schwidefsky
2006-07-03 23:15             ` Arnd Bergmann
2006-07-03 23:35               ` Matthew Wilcox
2006-07-04 12:42                 ` Arnd Bergmann
2006-07-04 13:08                   ` Geert Uytterhoeven
2006-07-04 15:23                     ` Arnd Bergmann
2006-07-04 18:09                   ` Matthew Wilcox
2006-07-01  2:38           ` Paul Mackerras
2006-06-30 14:13       ` Kyle McMartin
2006-06-30 14:20         ` Andi Kleen
2006-06-30 17:41 ` Andrew Morton
2006-06-30 18:28   ` Andi Kleen
2006-07-03  9:10   ` Martin Schwidefsky
2006-07-03  9:20     ` Andrew Morton
2006-07-03 10:35       ` Martin Schwidefsky
2006-07-07 16:19   ` [Kconfig] add disable command (was Re: [patch] s390 kconfig cleanup, 2nd version) Martin Schwidefsky
2006-07-07 19:27     ` Andrew Morton
2006-07-07 16:19   ` [Kconfig] use " Martin Schwidefsky
2006-07-07 19:48     ` Matthew Wilcox
2006-07-08 23:42       ` Ralf Baechle [this message]

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=20060708234200.GA2729@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=chrisw@sous-sol.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=schwidefsky@de.ibm.com \
    --cc=zippel@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