From patchwork Fri Oct 21 06:24:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13014300 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD240C433FE for ; Fri, 21 Oct 2022 06:25:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229731AbiJUGZD (ORCPT ); Fri, 21 Oct 2022 02:25:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229682AbiJUGZB (ORCPT ); Fri, 21 Oct 2022 02:25:01 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B086C57207 for ; Thu, 20 Oct 2022 23:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1666333494; bh=e6lOPSbVSF1MlkdswW5kUGBZ410SlZGmoujoLv02/Jo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=EiwojKYXH32SBVrucru8mdQkTMm2DkZ3K62iIF71YigaGKVHLo5UFwAWuqYsQpmPq E5Tp++GcZAQOKIVF3s8OSfyWVv82Q5e64yhNzjdJR4ZnfztWYAeBqeYqsuZTZcJbBr UnVcl8CmHnFCNHJR74Kch7XY52wIKg4M4jOLZmDI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from p100.fritz.box ([92.116.168.94]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MYeMt-1oYIw11QGp-00Viqr; Fri, 21 Oct 2022 08:24:54 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org Cc: Mikulas Patocka Subject: [PATCH 1/2] parisc: Make 8250_gsc driver dependend on CONFIG_PARISC Date: Fri, 21 Oct 2022 08:24:44 +0200 Message-Id: <20221021062445.28701-1-deller@gmx.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Provags-ID: V03:K1:JrKEDW7qsb5o5cjTZtBrdpG6XiwEQacv8w6ZJDwkT+PDV2oQPX4 1gt7XQ/NBT27EkVOhb7y00WMFQyNc54oGwjAB2RVukS0h4MxCITIB/6L7GXdjdYo/1DBh72 29y+mNsR+qwu1wtIQammvv12Cv3mG/nc+mtJ9BSz87TMKZyeNhmyDmgfJLg3UeXuoI43aCD Y8YMkHT+b89YMbPN62jNw== X-UI-Out-Filterresults: notjunk:1;V03:K0:UpQUfAEEYnQ=:LSRJAXkDO3We0mTFUPM+wI ZAaF9f4+C8dChA06tBE518fF6sax790nVTlJYXCQ8vUcDUh2DipAoJ5Oe9UXmws5/oo2juoAS U3i1rgOIimiMaBDaQNK1ipmql8P3KbVu/Ui2kJsciXU2NsbaHPYpeUJYFElaax+uyQ5uGi61G A3HRPHoeyCUAkW0e2/iguMJDkOeIUdeaWdFGFIWw9vyaP40VQiKD8sXDZBQVlhuA2jYfy9+K2 VJhVIM7vni0XO0VHkdiDm65RsWezYuu19RUs4rZnK1OGDRDTUdZ+Z30j/tft5yPBREVWDFIfU eRYlt+oOhch+NKp5jFXBmf6Bq5qLRJiwCoNvUepIY2eFcSORieYHs+UTpdRG9aTz5JXtRPGVs 0tyBEMRLEtV9vCAE/538HJQYOPioN8wrgh9UC0mx57yl++Byy/7VJsV+JFWaqpvn9v560s/cT LOvgSk5AXSACfrSAl2V91Dgpu1gS1LVaJ+Sgv75wDDY/uqLjD78MC5PzDczTFuo5JKGCRp1jg +XZuajXOrXeqdwz1HcabLLO1IdMwxxDE4Sp+iRxIS4D3ZrN8prg/7EEKsVAfdn2BNe/2jyyVF 35L5Evcm9hv2whi6iL6TfWqIMDsekjGxQl1BUbqanBjp/DLa+z1Rqh4ZAlgRJfsNTaEoZic2E 6QjEYAzd//dK7+u+y52PtPMAQtNWTeCU+RN/1FtQ23gfinMxiOD8Y/tKGk+ZdlsKzttXyontl xIt/T5HUSmWvh7Gu1jwTEw/f0JV+BR7+X44TBGUhdCh0MnIbF+B1xdqekt8btHvfNznuQq1D1 gU/pf+RIovuGGBD5OT9Y7jLFdJTJjIBy0DeJa8iKzf/XsGwIbqZXzU4bOwA5Df4PQjFDgVzLb WIy1YonVN2aad4WQxBxUmtgeF/At8o5x46DL+oc0TPyj23uqHQWApMQUPirl6NGMXC+35vzJ0 HTO1nA+jN1vn6+EdwSZ3itk7Kn8LoBWPzpQ6+LBfU8CyvmVcY5TtSCetMMIeWmgUdMquiNiQ+ 2sK7TmW3fH3GdZWm653ymttkKO3h/VHxKUzeeizCNZYtB72OezAi4YdaYyEQiCJHVNi35M6+Z eUpLmgbjy+SWZpWGKZt6McT4u/+bZQIfbMRmuuA63U3X0SZONNS2+Hof7IHIqKG0Joh7wCb+q lCIa8RS8K3EklF132OwXPFF0lCBMK+LHM9yqDGpCSoYLvGliZv9vxnA3ov2/4q7Sy6mKrCceW TR5Iq0CZTpe4VYImbiVhzwpWmldT9YpGoXolCD/cptT7S/Y8HAvbWgcLPMrOwzTzbs2JQnBf+ A5m9FEylJjawhIGTXN9Q6pZ/ufnds+Wj5D/35RVw27PNFaSt9NTx2rCeWmLMD2YCKrCJ955aI eaD8wyrOXnaNfUspmY5sEsHsjBnoGNcmYhm/vfO1NxukvNudW94CkF92erlR4ulPGlFWtX96O /kJyRvSTMtsSvX74HejDzjUgO57pfw5KVm67yMcnUTYMFjzMvBKxvNpjAqdGXaxb/v3BV907Z LBXu4k3QYrv2P5/oCmWG07rVNQhGNS3A3W0X4Dg+qNyZ1 Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Although the name of the driver 8250_gsc.c suggests that it handles only serial ports on the GSC bus, it does handle serial ports listed in the parisc machine inventory as well, e.g. the serial ports in a C8000 PCI-only workstation. Change the dependency to CONFIG_PARISC, so that the driver gets included in the kernel even if CONFIG_GSC isn't set. Reported-by: Mikulas Patocka Cc: Signed-off-by: Helge Deller --- drivers/tty/serial/8250/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.37.3 diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index d0b49e15fbf5..7b3ffb7f50ab 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -118,7 +118,7 @@ config SERIAL_8250_CONSOLE config SERIAL_8250_GSC tristate - depends on SERIAL_8250 && GSC + depends on SERIAL_8250 && PARISC default SERIAL_8250 config SERIAL_8250_DMA From patchwork Fri Oct 21 06:24:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 13014299 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 258F2C4332F for ; Fri, 21 Oct 2022 06:25:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229897AbiJUGZC (ORCPT ); Fri, 21 Oct 2022 02:25:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbiJUGZB (ORCPT ); Fri, 21 Oct 2022 02:25:01 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0E895725B for ; Thu, 20 Oct 2022 23:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1666333494; bh=wFQsF1cjqJo95iMLqGtGrEvdIyBG7ZGhjsvwCx/S510=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=jyNjMVG9XOgQgvvZJT5Nx7a8VK5rEWfsS/ZJDI6dsfMFnokXHzkdyNxSVgDdjpmsV SFU20ORbOf3MmwcAaFw8Vpi14wMuE+prhbkyGD0kTV17v33lpT64vvJrS8fsUnwsgh CwywVXw909IS3V4u6yMsBgvp4bHJ+q+8LuuqHVW0= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from p100.fritz.box ([92.116.168.94]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MplXp-1pT19n1pGP-00q83H; Fri, 21 Oct 2022 08:24:54 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org Cc: Mikulas Patocka Subject: [PATCH 2/2] parisc/serial: Rename 8250_gsc.c to 8250_parisc.c Date: Fri, 21 Oct 2022 08:24:45 +0200 Message-Id: <20221021062445.28701-2-deller@gmx.de> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221021062445.28701-1-deller@gmx.de> References: <20221021062445.28701-1-deller@gmx.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:rADhSgdJMDZMm0FSRfuluyOSfIbeFQK8wrIXI/l8VKbqCpK00C6 0O1WlTrYaScJQ5R1lZN+4w+5P6xbjvUXD/OLTPzNSqQRQTU5JtflY+mQu48oVlvoiQ7EU6z urJfYLm4CyFJ6tONs5+sCkZOIwpNkfKzPO43XbkxygRnV9DGPgy8t9cK6GPuHIzFFxBUoab rZiDr8LHZA84MZj2BcsKQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:YjMamR/KSN4=:Lk4rAN3fhCBNjzPcU39PUO pV4SKMd428VqeDn81ixohtZ8LYw79ediMYMiS11KR5iceekhNf3JIrwN6GCHsdvb5FPvDzJHd 2Xoo56kgTLZRd5X66T23AaAJcyeYDgksgfZXObQp2GP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nbmcb0LrOVG3xpRX0m008ozTQbuTJev1wB7pi7FlpMCi5KuAVcUkZ H3BJRZV8VgN2uAtFuifzMvWUw0mHSaxmitrUw2Tf8+Jv2xGYdnL4UO+jkz++voPawnLg6OMm6 lrpbolOtCWKFB/9QR4pMrGskPymIPROyvB3Bj6MZGpHXr2yecFe71GskR7vrM5qiFgqMOQJIJ vO3GQFure9OpgrE2krGu4YI/Bw1U0DSr5MpN2+ZtRCyQW0yJP0zesH2+WnEzFJ1sZJMGc/9U9 Umy5Hi1YKNhQMev5VDtEv4F1eq/6tPzQrzbgDwZuquSLQNTR1dbMzNWGTU26AXk4Gt3X/ZN3w vEME55PgxAerzEkFvqx7jHT1VPpcsFRXAG3Y5JFtWBWvU Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org The file name of this driver is misleading - it handles various serial ports on parisc machines, not just such on the GSC bus. Rename the file to make this clearer. Suggested-by: Mikulas Patocka Signed-off-by: Helge Deller --- drivers/tty/serial/8250/{8250_gsc.c => 8250_parisc.c} | 0 drivers/tty/serial/8250/Kconfig | 2 +- drivers/tty/serial/8250/Makefile | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/tty/serial/8250/{8250_gsc.c => 8250_parisc.c} (100%) -- 2.37.3 diff --git a/drivers/tty/serial/8250/8250_gsc.c b/drivers/tty/serial/8250/8250_parisc.c similarity index 100% rename from drivers/tty/serial/8250/8250_gsc.c rename to drivers/tty/serial/8250/8250_parisc.c diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index 7b3ffb7f50ab..b0f62345bc84 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig @@ -116,7 +116,7 @@ config SERIAL_8250_CONSOLE If unsure, say N. -config SERIAL_8250_GSC +config SERIAL_8250_PARISC tristate depends on SERIAL_8250 && PARISC default SERIAL_8250 diff --git a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile index bee908f99ea0..1615bfdde2a0 100644 --- a/drivers/tty/serial/8250/Makefile +++ b/drivers/tty/serial/8250/Makefile @@ -12,7 +12,7 @@ obj-$(CONFIG_SERIAL_8250) += 8250.o 8250_base.o 8250_base-$(CONFIG_SERIAL_8250_DMA) += 8250_dma.o 8250_base-$(CONFIG_SERIAL_8250_DWLIB) += 8250_dwlib.o 8250_base-$(CONFIG_SERIAL_8250_FINTEK) += 8250_fintek.o -obj-$(CONFIG_SERIAL_8250_GSC) += 8250_gsc.o +obj-$(CONFIG_SERIAL_8250_PARISC) += 8250_parisc.o obj-$(CONFIG_SERIAL_8250_PCI) += 8250_pci.o obj-$(CONFIG_SERIAL_8250_EXAR) += 8250_exar.o obj-$(CONFIG_SERIAL_8250_HP300) += 8250_hp300.o