Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1657979

[PATCH] MIPS: Make individual platforms select ARCH_MIGHT_HAVE_PC_SERIO

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] MIPS: Make individual platforms select ARCH_MIGHT_HAVE_PC_SERIO
Date Mon, 05 Jun 2017 19:20:03 +0200
Message-ID <tP3PB-5Lk-43@gated-at.bofh.it> (permalink)
X-Original-To linux-mips@linux-mips.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RaHxKEA7PD8t2BRHVbFyTlKEsaurzcZhE8Rf1fvp/K8=; b=czuJj/DbOcFuD5lWmGtMTUqpAJ9og96ouiVAdlwTi87gESGYv5yP6PfS8Bzjbg0OFw Hn3kq2Bm9LVL6WE1Of6GkRgSvEj8Xu8zafl11F2OwKKQKfGdp94ewZjfTMBQ3MDkiQ37 0IlyYKE8PiLFUQaa2KTwtrBC3V/vUiFSscHQmCUMgukxAhy7VffhhaOyiSh0xeWSJHJh Yn50pHfDjD1uEaOh1HuwUQwgkYVQkc1g4c0kVCn2f17WdZAOOjGhi5H4IES6w9b6yU9B BV7GT1jQt0OP//5uP4cx0KDw7awJGi81MlZ2UN206FyFLUgdO/0NN81n05goqFybPcCs RLtw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=RaHxKEA7PD8t2BRHVbFyTlKEsaurzcZhE8Rf1fvp/K8=; b=YRCxq8Cju2PlRITg2wgcDXu8au19yvu36e4w1FLQoUjKNANs0AMGLZWoEmFX50d2oP NSZIwNEHXC0hUvvXBQIGpBkmwg52hOZz5qFUJoCZIaFppk9rQXTtUpt0pX/Nx+5E6xdS 5NWwG/KFk5ArDBhPGgDN3yvFamra3lQmviHbqWc/xI63qgvn8Eouw6ypMMj3/hq/O5PH FZMneaMyRWvOI9GVCbq8SEJTlNAlVLq170F4AEmn5pWgSv+nnnsgklqubZ5fbNvjo/9n HcUFDC01Ob2rNbQdyIdj7GfsOALUUbEMdcIecx6zYEBb+ji6Bv11k9FhzwJL9kHZeTJm AuQw==
X-Gm-Message-State AODbwcDOWgCNnQQlIR4SY3ClFG3Llalw0fS8tpQjkXqCQch0vDHK3nd8 LRT8L7Vza6moO+Sten8=
X-Received by 10.223.161.69 with SMTP id r5mr167809wrr.0.1496682640155; Mon, 05 Jun 2017 10:10:40 -0700 (PDT)
X-Mailer git-send-email 2.9.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
X-Original-Cc msalter@redhat.com, dmitry.torokhov@gmail.com, Florian Fainelli <f.fainelli@gmail.com>, Ralf Baechle <ralf@linux-mips.org>, linux-kernel@vger.kernel.org (open list)
X-Original-Date Mon, 5 Jun 2017 10:10:32 -0700
X-Original-Message-ID <20170605171033.15008-1-f.fainelli@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1657979

Show key headers only | View raw


Out of the many MIPS platforms only 3 appear to be actually using an
I8042 keyboard controller: SGI, JAZZ and LOOGSON64, remove
ARCH_MIGHT_HAVE_PC_SERIO from the top-level MIPS Kconfig symbol and move
it down to those platforms that need it.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 arch/mips/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 0b15978c0f88..c96547cdca61 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -7,7 +7,6 @@ config MIPS
 	select ARCH_HAS_ELF_RANDOMIZE
 	select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
 	select ARCH_MIGHT_HAVE_PC_PARPORT
-	select ARCH_MIGHT_HAVE_PC_SERIO
 	select ARCH_SUPPORTS_UPROBES
 	select ARCH_USE_BUILTIN_BSWAP
 	select ARCH_USE_CMPXCHG_LOCKREF if 64BIT
@@ -347,6 +346,7 @@ config MACH_JAZZ
 	select I8253
 	select I8259
 	select ISA
+	select ARCH_MIGHT_HAVE_PC_SERIO
 	select SYS_HAS_CPU_R4X00
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_64BIT_KERNEL
@@ -423,6 +423,7 @@ config MACH_LOONGSON32
 
 config MACH_LOONGSON64
 	bool "Loongson-2/3 family of machines"
+	select ARCH_MIGHT_HAVE_PC_SERIO
 	select SYS_SUPPORTS_ZBOOT
 	help
 	  This enables the support of Loongson-2/3 family of machines.
@@ -1294,6 +1295,7 @@ config SGI_HAS_ZILOG
 	bool
 
 config SGI_HAS_I8042
+	select ARCH_MIGHT_HAVE_PC_SERIO
 	bool
 
 config DEFAULT_SGI_PARTITION
-- 
2.9.3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] MIPS: Make individual platforms select ARCH_MIGHT_HAVE_PC_SERIO Florian Fainelli <f.fainelli@gmail.com> - 2017-06-05 19:20 +0200

csiph-web