All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
	tony.luck@intel.com, geert@linux-m68k.org, jejb@parisc-linux.org,
	deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au,
	dalias@libc.org, dhowells@redhat.com,
	yasutake.koichi@jp.panasonic.com, rth@twiddle.net,
	ink@jurassic.park.msu.ru, linux-alpha@vger.kernel.org,
	x86@kernel.org, a.zummo@towertech.it,
	alexandre.belloni@free-electrons.com,
	linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
	linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	linux-sh@vger.kernel.org, rtc-linux@googlegroups.com,
	linux-arch@vger.kernel.org
Subject: [PATCH 1/8] char/rtc: replace blacklist with whitelist
Date: Tue, 26 Apr 2016 21:44:05 +0000	[thread overview]
Message-ID: <1461707052-1337718-2-git-send-email-arnd@arndb.de> (raw)
In-Reply-To: <1461707052-1337718-1-git-send-email-arnd@arndb.de>

Every new architecture has to add itself to the growing list of those
that do not support the legacy PC RTC driver.

This replaces the long list of architectures that don't support it
with a shorter list of those that do.

The list is taken from those architectures that have a non-empty
asm/mc146818rtc.h header file and were not explicitly blacklisted.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/char/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 3ec0766ed5e9..66b5d48f409a 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -279,8 +279,7 @@ if RTC_LIB=n
 
 config RTC
 	tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
-	depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
-			&& !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML
+	depends on ALPHA || (MIPS && MACH_LOONGSON64) || MN10300 || X86
 	---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
-- 
2.7.0


WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
	tony.luck@intel.com, geert@linux-m68k.org, jejb@parisc-linux.org,
	deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au,
	dalias@libc.org, dhowells@redhat.com,
	yasutake.koichi@jp.panasonic.com, rth@twiddle.net,
	ink@jurassic.park.msu.ru, linux-alpha@vger.kernel.org,
	x86@kernel.org, a.zummo@towertech.it,
	alexandre.belloni@free-electrons.com,
	linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
	linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	linux-sh@vger.kernel.org, rtc-linux@googlegroups.com,
	linux-arch@vger.kernel.org
Subject: [PATCH 1/8] char/rtc: replace blacklist with whitelist
Date: Tue, 26 Apr 2016 23:44:05 +0200	[thread overview]
Message-ID: <1461707052-1337718-2-git-send-email-arnd@arndb.de> (raw)
In-Reply-To: <1461707052-1337718-1-git-send-email-arnd@arndb.de>

Every new architecture has to add itself to the growing list of those
that do not support the legacy PC RTC driver.

This replaces the long list of architectures that don't support it
with a shorter list of those that do.

The list is taken from those architectures that have a non-empty
asm/mc146818rtc.h header file and were not explicitly blacklisted.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/char/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 3ec0766ed5e9..66b5d48f409a 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -279,8 +279,7 @@ if RTC_LIB=n
 
 config RTC
 	tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
-	depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
-			&& !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML
+	depends on ALPHA || (MIPS && MACH_LOONGSON64) || MN10300 || X86
 	---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
-- 
2.7.0


WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
	tony.luck@intel.com, geert@linux-m68k.org, jejb@parisc-linux.org,
	deller@gmx.de, benh@kernel.crashing.org, mpe@ellerman.id.au,
	dalias@libc.org, dhowells@redhat.com,
	yasutake.koichi@jp.panasonic.com, rth@twiddle.net,
	ink@jurassic.park.msu.ru, linux-alpha@vger.kernel.org,
	x86@kernel.org, a.zummo@towertech.it,
	alexandre.belloni@free-electrons.com,
	linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
	linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	linux-sh@vger.kernel.org, rtc-linux@googlegroups.com,
	linux-arch@vger.kernel.org
Subject: [rtc-linux] [PATCH 1/8] char/rtc: replace blacklist with whitelist
Date: Tue, 26 Apr 2016 23:44:05 +0200	[thread overview]
Message-ID: <1461707052-1337718-2-git-send-email-arnd@arndb.de> (raw)
In-Reply-To: <1461707052-1337718-1-git-send-email-arnd@arndb.de>

Every new architecture has to add itself to the growing list of those
that do not support the legacy PC RTC driver.

This replaces the long list of architectures that don't support it
with a shorter list of those that do.

The list is taken from those architectures that have a non-empty
asm/mc146818rtc.h header file and were not explicitly blacklisted.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/char/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 3ec0766ed5e9..66b5d48f409a 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -279,8 +279,7 @@ if RTC_LIB=n
 
 config RTC
 	tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
-	depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
-			&& !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML
+	depends on ALPHA || (MIPS && MACH_LOONGSON64) || MN10300 || X86
 	---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
-- 
2.7.0

-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  reply	other threads:[~2016-04-26 21:44 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-26 21:44 char: legacy RTC cleanups Arnd Bergmann
2016-04-26 21:44 ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44 ` Arnd Bergmann
2016-04-26 21:44 ` Arnd Bergmann [this message]
2016-04-26 21:44   ` [rtc-linux] [PATCH 1/8] char/rtc: replace blacklist with whitelist Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-27  8:31   ` Alexandre Belloni
2016-04-27  8:31     ` [rtc-linux] " Alexandre Belloni
2016-04-27  8:31     ` Alexandre Belloni
2016-04-26 21:44 ` [PATCH 2/8] char/rtc: legacy RTC is no longer supported on x86 Arnd Bergmann
2016-04-26 21:44   ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-27  8:35   ` Alexandre Belloni
2016-04-27  8:35     ` [rtc-linux] " Alexandre Belloni
2016-04-27  8:35     ` Alexandre Belloni
2016-04-27 10:05   ` Thomas Gleixner
2016-04-27 10:05     ` Thomas Gleixner
2016-04-26 21:44 ` [PATCH 3/8] char/rtc: remove empty asm/mc146818rtc.h files Arnd Bergmann
2016-04-26 21:44   ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-27  8:41   ` Alexandre Belloni
2016-04-27  8:41     ` [rtc-linux] " Alexandre Belloni
2016-04-27  8:41     ` Alexandre Belloni
2016-04-26 21:44 ` [PATCH 4/8] char/rtc: move mc146818rtc code out of asm-generic/rtc.h Arnd Bergmann
2016-04-26 21:44   ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-27  9:29   ` Alexandre Belloni
2016-04-27  9:29     ` [rtc-linux] " Alexandre Belloni
2016-04-27  9:29     ` Alexandre Belloni
2016-04-27  9:59     ` Arnd Bergmann
2016-04-27  9:59       ` [rtc-linux] " Arnd Bergmann
2016-04-27  9:59       ` Arnd Bergmann
2016-04-26 21:44 ` [PATCH 5/8] char/genrtc: powerpc: use asm-generic/rtc.h Arnd Bergmann
2016-04-26 21:44   ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-26 21:44 ` [PATCH 6/8] char/genrtc: parisc: " Arnd Bergmann
2016-04-26 21:44   ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-26 22:07   ` Rolf Eike Beer
2016-04-26 22:07     ` Rolf Eike Beer
2016-04-27 11:21     ` Arnd Bergmann
2016-04-27 11:21       ` [rtc-linux] " Arnd Bergmann
2016-04-27 11:21       ` Arnd Bergmann
2016-04-27 11:35       ` Arnd Bergmann
2016-04-27 11:35         ` [rtc-linux] " Arnd Bergmann
2016-04-27 11:35         ` Arnd Bergmann
2016-04-27 11:55         ` Geert Uytterhoeven
2016-04-27 11:55           ` Geert Uytterhoeven
2016-04-27 11:55           ` [rtc-linux] " Geert Uytterhoeven
2016-04-27 11:55           ` Geert Uytterhoeven
2016-04-27 11:55           ` Geert Uytterhoeven
2016-04-27 12:44           ` Arnd Bergmann
2016-04-27 12:44             ` Arnd Bergmann
2016-04-27 12:44             ` [rtc-linux] " Arnd Bergmann
2016-04-27 12:44             ` Arnd Bergmann
2016-04-27 12:44             ` Arnd Bergmann
2016-04-26 21:44 ` [PATCH 7/8] char/genrtc: disallow building on Alpha Arnd Bergmann
2016-04-26 21:44   ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-26 21:44 ` [PATCH 8/8] char/genrtc: disallow building on mn10300 Arnd Bergmann
2016-04-26 21:44   ` [rtc-linux] " Arnd Bergmann
2016-04-26 21:44   ` Arnd Bergmann
2016-04-27  7:54 ` char: legacy RTC cleanups Geert Uytterhoeven
2016-04-27  7:54   ` Geert Uytterhoeven
2016-04-27  7:54   ` [rtc-linux] " Geert Uytterhoeven
2016-04-27  7:54   ` Geert Uytterhoeven
2016-04-27  7:54   ` Geert Uytterhoeven
2016-04-27  8:33   ` Arnd Bergmann
2016-04-27  8:33     ` Arnd Bergmann
2016-04-27  8:33     ` Arnd Bergmann
2016-04-27  8:33     ` [rtc-linux] " Arnd Bergmann
2016-04-27  8:33     ` Arnd Bergmann
2016-04-27  8:33     ` Arnd Bergmann
2016-04-27  8:41     ` Geert Uytterhoeven
2016-04-27  8:41       ` Geert Uytterhoeven
2016-04-27  8:41       ` [rtc-linux] " Geert Uytterhoeven
2016-04-27  8:41       ` Geert Uytterhoeven
2016-04-27  8:41       ` Geert Uytterhoeven
2016-04-27  9:44 ` Alexandre Belloni
2016-04-27  9:44   ` [rtc-linux] " Alexandre Belloni
2016-04-27  9:44   ` Alexandre Belloni
2016-04-27 10:07   ` Arnd Bergmann
2016-04-27 10:07     ` [rtc-linux] " Arnd Bergmann
2016-04-27 10:07     ` Arnd Bergmann
2016-04-27 10:19     ` Geert Uytterhoeven
2016-04-27 10:19       ` Geert Uytterhoeven
2016-04-27 10:19       ` [rtc-linux] " Geert Uytterhoeven
2016-04-27 10:19       ` Geert Uytterhoeven
2016-04-27 10:19       ` Geert Uytterhoeven
2016-04-27 11:30       ` Arnd Bergmann
2016-04-27 11:30         ` Arnd Bergmann
2016-04-27 11:30         ` Arnd Bergmann
2016-04-27 11:30         ` [rtc-linux] " Arnd Bergmann
2016-04-27 11:30         ` Arnd Bergmann
2016-04-27 11:30         ` Arnd Bergmann

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=1461707052-1337718-2-git-send-email-arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=benh@kernel.crashing.org \
    --cc=dalias@libc.org \
    --cc=deller@gmx.de \
    --cc=dhowells@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=ink@jurassic.park.msu.ru \
    --cc=jejb@parisc-linux.org \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=rtc-linux@googlegroups.com \
    --cc=rth@twiddle.net \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    --cc=yasutake.koichi@jp.panasonic.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.