Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1127494rdb; Fri, 20 Oct 2023 09:07:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKmUq2YY8CfQZVLaiiuRzdoxqeJW2psmVlNzVpDXQgRjAOFFDecKpPuUopX9ICa/cMlWbF X-Received: by 2002:a05:6a20:9382:b0:156:851e:b167 with SMTP id x2-20020a056a20938200b00156851eb167mr2585288pzh.44.1697818039878; Fri, 20 Oct 2023 09:07:19 -0700 (PDT) Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id h4-20020a056a00170400b00690ca3d66bbsi2393042pfc.262.2023.10.20.09.07.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 09:07:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=live.co.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 864F0807EB26; Fri, 20 Oct 2023 09:05:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377814AbjJTQFE (ORCPT + 99 others); Fri, 20 Oct 2023 12:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377860AbjJTQE4 (ORCPT ); Fri, 20 Oct 2023 12:04:56 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04olkn2036.outbound.protection.outlook.com [40.92.73.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B6DDD4C; Fri, 20 Oct 2023 09:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y8JIz06ePK/Van9kaG3bakGBw6D+8EMRsBRGJMqIY8rDXZG/KqyjZ+Hpn/zM1+hPlhdyxFRK8urbJRni++lldWgDLl24TWyaaSTNtXEaoBw4yDpcV5YEc2gCrOMQ2OVKPmCPs8hWc829miUscuuU68MQMBzz/vKBZVut4Fwwy9UbVR+tpasa//87b9p3BcljMR0+b5HQm0t8MlE/4keQCnYr2eISePUBzqForNX5+GZUoYIZv8hf0LXv6m5D8ngYSGJJwkm19iZ50YKObBgxNcNpQi3QgciB0DuUQuBtfc45dvw5XgPjPuK8PaJZCHvkU8FgM0lmykOP40vmWOsMFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZZ7LzYawi1BjZNDRWoZEgW9zBmP8vBiaG+P8yaIcFPE=; b=kU0rbrQq1g320jkx0J62DRcxmy2J8h6Q9jo3fWJy+0siVP53a10CNI5p9+k/dsP8H/+myqneybPqz+juTI6sK8y+lb2CLU+xHM+S+x4IpX+E3J0W5tp3qNx+xcbx1R1TZPZmflr3GqcZk9D3pWUSuCf7wgfMUoSmsSoqDUD432emAutS2Tiamcl2jyTjh459SVjYGpnVyMIO+d9oyuGSxHLn5UVwp1kzaInVRp3XcVbNaOGuAIoyr90PPwEak0XKyXkUYMtA72KhZVRVAvRFh8N+91q+lDn0HP62vHhNEyvIsQ47qOIyFSb0WOcC1JlZ5oBzlakeeaZegf5vnV569w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by AM9PR02MB6930.eurprd02.prod.outlook.com (2603:10a6:20b:26d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Fri, 20 Oct 2023 16:04:51 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6886.034; Fri, 20 Oct 2023 16:04:51 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams , stable@vger.kernel.org Subject: [PATCH v4 02/11] tty: 8250: Remove UC-257 and UC-431 Date: Fri, 20 Oct 2023 17:03:08 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231020160412.118550-1-cang1@live.co.uk> References: <20231020160412.118550-1-cang1@live.co.uk> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-TMN: [X4O2jWJw2xv5EjEGXMEHhEj1PxTXw+VT] X-ClientProxiedBy: LO0P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:355::19) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231020160412.118550-3-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|AM9PR02MB6930:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a734468-64fd-4a5e-c1bd-08dbd1864aeb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bqOHvWHJpVCYTJV4rXZDVXKgxNaiGxzZ05GfJrF0f5Ol48ymIapBlbVEpY4wy45sowUyhgDEhEzTsa4uw4UdgcNMMdV+2bvYsmr608StWRVOM5SvMVYOWLTRfG+RKhFULiWvavPOy1ussh8HuOPw9aBC/svmIyptE5ULtXfHO0Oi69n9QxDsA9eZHDN2RPBbl5XcjNH82/4PtxMqv/GKGyXTgIflniKx0Yo8MzLFEzs7O6UKF1j1EAH2L0gSudejmn8QAXHM6kvO/Rc46LGldI4CoJPrn+KgDQndInbDUftTpooaIwCGGim1uyIb0tzt0/BPtPVbZothxbTGS96UWiXZbx8ixSbRBOwv36VFQtYPsy73i+eAa92wnZTV68pyW5FBR6J7S5NeKojlj9HH+kKJcL6IIiJlhWC/bedd8GF7Z39gEvsShKXhNSEftVHi3WduOZNY3+aaVFpQXlTrp6Sbpgf9KwGrPAe5us40+iDXPhkenrQOYabs0cpHXhQqb4fSHyLF5+GxJDbFKKOvLR66QyKjNpvVdtWRC9aZBc7/3nr4vArgOt3J64ESqEkcvW63tRgqG8Ej7mCoshZ32h0gf7Qwq8BVHNqA89YP6OMQ4/T11lMe8zoK0Zbxmkr5G/t4I4cvc9L9zxqHS7RMGw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ybyRhqy0OoQ6VssDGzreVOQIddPLtKGTejY+D5YWrPC97dtXei60+sqMYYuz?= =?us-ascii?Q?JpccBRPmzPnZ49j1QPYb2YKFDgDDefT0AWs5xORKJmXbU/RxS0F7aHW13D43?= =?us-ascii?Q?3bIqQ61+8fF5x4QvKz4iZwRdFBpfi5XFshs5MWc0nrb6E6Z5lBokalgdQX5Y?= =?us-ascii?Q?icSuGzsxSuXSc/+p3w0wcSrxxfgMW1w+IICYi0lCipKAEJAuW7hpy0t1s6JL?= =?us-ascii?Q?G2Y3XeZbkBOvkIRGNgi3Kz1PTwenPSu+C8hCuTf8zKeiehPaVxLrkTI9e2Zx?= =?us-ascii?Q?U8l8JKgXBsluOa+FPUGkNftjU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NFNGFHmelAXiWOx/bejqFFvOlDwDq4k7Ng=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3a734468-64fd-4a5e-c1bd-08dbd1864aeb X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 16:04:51.8816 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR02MB6930 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 20 Oct 2023 09:05:20 -0700 (PDT) The UC-257 is a serial + LPT card, so remove it from this driver. A patch has been submitted to add it to parport_serial instead. Additionaly, the UC-431 does not use this card ID, only the UC-420 does. The 431 is a 3-port card and there is no generic 3-port configuration available, so remove reference to it from this driver. Fixes: 152d1afa834c ("tty: Add support for Brainboxes UC cards.") Cc: stable@vger.kernel.org Signed-off-by: Cameron Williams --- With regards to the parport_serial patch, I mistakenly did not copy in the LKML, only the maintainer, so I have no link to the patch, my mistake and apologies. v3 - v4: Split patch v3 part 2 into Fixes and Additions Add Fixes: and Cc: tag. v2 - v3: Re-submit patch series using git send-email to make threading work. v1 - v2: This is a resubmission series for the patch series below. That series was lots of changes sent to lots of maintainers, this series is just for the tty/serial/8250 subsystem. [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ drivers/tty/serial/8250/8250_pci.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index ecb4e9acc70d..a59b9b8eaa68 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -4940,13 +4940,6 @@ static const struct pci_device_id serial_pci_tbl[] = { PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_b2_1_115200 }, - /* - * Brainboxes UC-257 - */ - { PCI_VENDOR_ID_INTASHIELD, 0x0861, - PCI_ANY_ID, PCI_ANY_ID, - 0, 0, - pbn_b2_2_115200 }, /* * Brainboxes UC-260/271/701/756 */ @@ -5026,7 +5019,7 @@ static const struct pci_device_id serial_pci_tbl[] = { 0, 0, pbn_b2_4_115200 }, /* - * Brainboxes UC-420/431 + * Brainboxes UC-420 */ { PCI_VENDOR_ID_INTASHIELD, 0x0921, PCI_ANY_ID, PCI_ANY_ID, -- 2.42.0