From patchwork Sun Oct 15 17:10:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 733991 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 80DFBCDB47E for ; Sun, 15 Oct 2023 17:12:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230173AbjJORMU (ORCPT ); Sun, 15 Oct 2023 13:12:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229603AbjJORMT (ORCPT ); Sun, 15 Oct 2023 13:12:19 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01olkn2063.outbound.protection.outlook.com [40.92.65.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7B7FDA; Sun, 15 Oct 2023 10:12:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RDoMC0mpEhCPoRjnIku6NKkwMrO9xVu0kdL86AzR81ehsTLXwNZtthZRpA513YyMAslBI/En3G2aYdXZ9C7Vux7+YVZ6oIKLZwMXkWFl9Q6J+TEDeYXGQ5yIHikhmgcXj3P3kmaIK4GyxqNK62tN2Ch6bbX/a9lrhJbtyACUHtEI/yfQWbrdkrBb3YLEZYHVOVNx4eZtBlQdQ5aNMKfnoZGRVB4sdJFH9QJP2PDPjltQ+t2QOAqFu5+qynzUfwIG+6jX23bxqbj2cIJPfpqULIvMwSqomgWxLVaUVW6YzKCIIRRlqOi9HvzwgA+fO62q7X4vFl/MMXTo9JPIKKueOQ== 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=vY2ZuoVYYvlArdnUHOrBZdjeRIMRBRGJtZRFJ5X2iOw=; b=MFX8lIzXyN2tmiMcSc4znadev8iF5bO7/iX7vHlzIoyOxvZKZPz1h/7PQqISXFP9EnXlN6PSqh5KLnQWghJ+qbhYfckiZ/HEA3UtqfGcH9tx8jBWZwoMirW7JUpmrNaBF/TtP9MDbNoWDhR7F5zdJcMrbDPhmNg9y/r9MJcJYx3qSa0nQiilQHMjRHd+00/8GTdNXuEyagn6d7W6aSAaOSpyGXS/7Ab1wJZv2eOIrOKSotCm1Dc/3wakkh7q39zX+377GRPT+zv5mFbSYgQ1YLI7HKykHu4/ARjQq2HSPywDNPbXeIyBw9Bjrprlrt3rDuQg2FoQfwyjZu7FagNJJQ== 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 VI1PR02MB6093.eurprd02.prod.outlook.com (2603:10a6:800:18b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Sun, 15 Oct 2023 17:12:14 +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; Sun, 15 Oct 2023 17:12:15 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams Subject: [PATCH v3 1/7] tty: 8250: Fix IS-200 PCI ID comment Date: Sun, 15 Oct 2023 18:10:16 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231015171141.3309-1-cang1@live.co.uk> References: <20231015171141.3309-1-cang1@live.co.uk> X-TMN: [zcD/yFljFcBVqCAL9yQgX/KtAoCL7vB+] X-ClientProxiedBy: LO4P123CA0066.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:153::17) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231015171141.3309-2-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|VI1PR02MB6093:EE_ X-MS-Office365-Filtering-Correlation-Id: 60f64404-0537-4d5b-1111-08dbcda1e0f5 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AnbRPfJ6cahFM7Y5FfeJ5H4WGlZRu3nWT4oFWV2AbpoLS2aDUK6BKTdX57P2Lg9oxFy/RyJKb2wTO9KZ3tlO4hzqU2mTYmp0+IFlF5ApOa8n+z9tnbuMxblDljVNplmW4eR+xidv8gKId5kf4grvi+NHEI+ebwUe2cPZnHUet1pfAkCGaVGov2zR7hqu9jo9WoqIk7DsQIMrO5aGP171OqIiGyCTXsMjriDWRllDMCDvIy4kX4WzBfjZX0BQcsgVzb5QqsaIKbV78etY3XytFeIKAOnDcVosZDKvbbxQrhMWogl42UZia4Gd4gLJ9zMApy8bK50Od7I1NsUfCOJ4z96VMGF0Ast7ZpMj50+jb5nBA2vv0gNzqp3qp2mlTKxh6ocaU+Z32jw37WKFdfdlOMYIETd9WFUzVh2YORbOdXrtFyX821H/AFmgBnhxOcSndB13/fL7qhvcBQx/zs4P6vnudb16djtINMR6RapNlS+L4zbS6GrYg0pV3cTeA8zUx4pY/jsPjGnmnV7Wj4H/2y9vkzSbocZoYI6WUHCRqc6x3t4VW6/JKL4yZtoyL/S+d7lPdEP82T0Jk8sl0vtsot+ovht/SqP9RSlBUSQp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FOxQnNwhsUmGSVYns8j2P9Hjx+3PswbZ6ZHec1EN3VGR9HOooOuCymQiXGXcN1+2poZdtZlm3HzS9fnTkY9HNBpIX08JjGhpBefzhdF7qCK0c2PeOZqmWWe6X8ga4HEraFS1fDCB2zMHw9oe5aArob4vbKpAviYUSm/PLDawK9jV1Vze+QObIw7daWMM1CcJhq2b2rSWEi5Jvkyt6KhUTbq8yMT8Zz6Sd+7LiGdOYa6ev/RKX0sbRiL4tiPwdYg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 60f64404-0537-4d5b-1111-08dbcda1e0f5 X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2023 17:12:15.3206 (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: VI1PR02MB6093 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fix the PCI comment for the IS-200 card. The PCI ID for the IS-200 is 0x0d80, and the definition used (PCI_DEVICE_ID_INTASHIELD_IS200) is indeed 0x0d80, clarify that by fixing the comment as its neighbouring cards are all at 0x0020 offsets. Signed-off-by: Cameron Williams --- v2 - v3: Clarify commit message with better explanation of the change. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 62a9bd30b4db..ecb4e9acc70d 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -4917,7 +4917,7 @@ static const struct pci_device_id serial_pci_tbl[] = { * IntaShield IS-200 */ { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS200, - PCI_ANY_ID, PCI_ANY_ID, 0, 0, /* 135a.0811 */ + PCI_ANY_ID, PCI_ANY_ID, 0, 0, /* 135a.0d80 */ pbn_b2_2_115200 }, /* * IntaShield IS-400 From patchwork Sun Oct 15 17:10:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 733990 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 D52C4CDB482 for ; Sun, 15 Oct 2023 17:12:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230472AbjJORMf (ORCPT ); Sun, 15 Oct 2023 13:12:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230378AbjJORMd (ORCPT ); Sun, 15 Oct 2023 13:12:33 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01olkn2063.outbound.protection.outlook.com [40.92.65.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F772F7; Sun, 15 Oct 2023 10:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SeI8FkqzdaqRFzKyuks6Lqxw0LcEeRiwjjI8/uNwQZroEHbWc6kVk0Vmsx5m6uqnTkdan11+ExipBXAH9oC9uXbrGZvSPOkRYQrdjNV+F6LE7ReExtkJ34Va7lUY9u8/M/5EtUoCsXpaAZN24r38blMTFqtLX1ZKISLCd+cwvzqx83BwUtBLjPR8a8v4y0sO7JgWY9BM2t6OE1XpSTwiLTrZw716xncl0pXHo61yHLxXvHYD0f1D/vHG/P23gobJ5vTGhPyHOowrcNrK8aaWZQ352Mqw7YKTSZCpglm/rppW2BTZ1EqFAU978Nsh48dryzKzbhJQJbeGt3gUIjNgMg== 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=+xblWtWH/XkjWp4VPeS8SuxbkgjI2nUKdwgPbtT6snk=; b=V2TBMzY9DT/dsbHQP49+kQSwAfOx/+lv3G7MeHgRwA7GCRcNPo8VKkiWiD1JiLa6TJb7/jyWLbAoBt/g9q7z/t3pcwAs0uoEUGFmvbSG78CYFC2fSqEaCduSJt7F0KiK8rHa3f/09dCX9cMQdY9vYKCTgcbT7ZozQkLBRZB5ZERNGFocq6UmCNYpJE1HDMUj94W3M4xBxBVF2g11B+/ewI1AUiPzph2TgCPY+tytKEumrbx2g9MGRc7QV7/GXQF8UZm6QKcZoSvAhHiJ+mwoiP1t8pMJDd42Xy85fToB3fNHtMJ2W6Z8YZd4cGRABsG7PzCGM4ojrhdZKATTkDp2Aw== 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 VI1PR02MB6093.eurprd02.prod.outlook.com (2603:10a6:800:18b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Sun, 15 Oct 2023 17:12:21 +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; Sun, 15 Oct 2023 17:12:22 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams Subject: [PATCH v3 5/7] tty: 8250: Add support for and fix up additional Brainboxes PX cards Date: Sun, 15 Oct 2023 18:10:20 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231015171141.3309-1-cang1@live.co.uk> References: <20231015171141.3309-1-cang1@live.co.uk> X-TMN: [GLUziu5618hvnf6jVzVHRzIIhP98hX7j] X-ClientProxiedBy: LO4P123CA0066.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:153::17) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231015171141.3309-6-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|VI1PR02MB6093:EE_ X-MS-Office365-Filtering-Correlation-Id: d4809435-6542-42bb-490c-08dbcda1e524 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VFgUiJGr4Lwnu49BxiA/kxiiwkauOIPRlJ2v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Ds1763++Qm1cyNW4TdjIZVTVZHqL6QSM9hcOCcwuFaEMbxer8fTyhBBClwelucJnwvYWbwtLvPtX126M6mPQVPCP2s1+oAHVQZZRED9T3/XrT4sAQzcz1JnaSOd0AB3t9onuEs0O1Jf8a/rbyrKenI8JgBDhFHi3+vGlt/O3/LPwOHlV2ehdnbLObjyNDL3jEIT4yKNTLBpavpDEUP0xaU9eJOp1Itt1GdPU0wpjf9+JNIsl7j/Q9iI3gSZlWpe9ZdZVEu6eoYP/rdbfqHlA78BPGfXQ4Yobk5rLoXjyYBTkCircDA8cZL5PzSrbNzQx7JbNKcBDELCrUzwVcDob9Wsfho3MzWg2PkQEcaqZ99Ks2MpPZUBOplxUO3A73EkoblAT5mfqqOQeWBw4HYdJLuHrS9qT8s2ezUzQR+fqTK6ys8gllu1PVJBLGxpWQREg52Nv5mW+XcwnwFHK5LY7JwBKfs+H7xRYDZKif2WGaZDD5CgYD6nBMmrn15hUgkoUn09XRZmjR9tqzELxSQMhmTQCHVlyGyDhD9HnJ4aOkDH4oQN9Sc0YKhlhCaM1a96Y41vOVZUw/vTyEls2HWIEwsIlmCsuxfteOa0C0BWddYAs9da+XWjbctc9R/FlsbaMx2eIkvCTGSaZznJncVm2cTp3/Pp7aF87xysvgBrDGFwo1M3T5bPzkfoMAaBd3MeCBTWWz0Vy1fkorQ8wx5ICrTBsQ/brQf1IwBxjKvs5gRJtHhyimPJGDxP/YkzKNyP+EztJMc5ZN7nN4ms/h6tvbJSVKM9fH7298pKnYSEfMdUI2STJYc4+MUfsQnpVz6zHR7kyiycLg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: d4809435-6542-42bb-490c-08dbcda1e524 X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2023 17:12:22.3684 (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: VI1PR02MB6093 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Fix up some issues with the PX range of cards and add missing IDs. Fix: PX-257 Revision 3 has 2 ports, not 4. Added: PX-275/279, PX-475 serial port (LPT is in parport_pc), PX-820 cards Added/Fix: PX-857 is a variant of PX-803, add note. Add additional card revision and fix port counts to 2. Fix: PX-835 is a variant of PX-846, add note Signed-off-by: Cameron Williams --- v2 - v3: Alter commit message a little to make the additions/fixes cleaner 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 | 38 ++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index b0a632415d8e..b0e7354ba119 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -5180,7 +5180,7 @@ static const struct pci_device_id serial_pci_tbl[] = { { PCI_VENDOR_ID_INTASHIELD, 0x4015, PCI_ANY_ID, PCI_ANY_ID, 0, 0, - pbn_oxsemi_4_15625000 }, + pbn_oxsemi_2_15625000 }, /* * Brainboxes PX-260/PX-701 */ @@ -5188,6 +5188,13 @@ static const struct pci_device_id serial_pci_tbl[] = { PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_oxsemi_4_15625000 }, + /* + * Brainboxes PX-275/279 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0E41, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_8_115200 }, /* * Brainboxes PX-310 */ @@ -5235,18 +5242,39 @@ static const struct pci_device_id serial_pci_tbl[] = { 0, 0, pbn_oxsemi_4_15625000 }, /* - * Brainboxes PX-803 + * Brainboxes PX-475 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x401D, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_1_15625000 }, + /* + * Brainboxes PX-803/PX-857 */ { PCI_VENDOR_ID_INTASHIELD, 0x4009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, - pbn_b0_1_115200 }, + pbn_b0_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x4018, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_2_15625000 }, { PCI_VENDOR_ID_INTASHIELD, 0x401E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, - pbn_oxsemi_1_15625000 }, + pbn_oxsemi_2_15625000 }, + /* + * Brainboxes PX-820 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x4002, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b0_4_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x4013, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, + pbn_oxsemi_4_15625000 }, /* - * Brainboxes PX-846 + * Brainboxes PX-835/PX-846 */ { PCI_VENDOR_ID_INTASHIELD, 0x4008, PCI_ANY_ID, PCI_ANY_ID, From patchwork Sun Oct 15 17:10:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 733989 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 3EA23CDB47E for ; Sun, 15 Oct 2023 17:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbjJORMj (ORCPT ); Sun, 15 Oct 2023 13:12:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230403AbjJORMd (ORCPT ); Sun, 15 Oct 2023 13:12:33 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01olkn2063.outbound.protection.outlook.com [40.92.65.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10C7BFB; Sun, 15 Oct 2023 10:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UyVcUKi2H2vSORWrBJ/FHzMwKQd8HJdt7tZL+v/blcXdOL0fEDfGf8Z9O7TaqNLQvtj+Cp4ktosAuIvWcByn24DweH8c6G/pVNNyg6Wh6x9lEtxb152wQewl7ID63q32SG2fszb24QmWhRQHCaVvRTRrUA7xndvrxlYFJiGq6c645fZenrYo7V7+Xhl62EqxADvjTW2+4exhO/jHiibu9gvA4NVyCljaIIK/XzY1PXJYgf/5oDuA3UdAENq9wy1+6LPoqDEUUziHNRxYoo/VKLeZVxgDYdJVH0P0ISB1hxYDrhvI+C8KaIDM3kEpYPHgdm+arFrzj+4ubXqyIOMdFA== 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=aWZLinOOwBiF2GG7FP0fGV2YbIsnn1IGy2vG0LGdA6g=; b=TkC0Y+Ff+M2LZEVfdcNuxy8caLmmNyXrKFtK7BgcL2cWndlqulRZjmR2ljONqU2ZxTV71KaMpP71ZvsJEQqPozxWgCzmR+XRytojJWPW3R64aQy2Z6ZCHPp+cs6BS9K/y8WG/2O7iupdqjIx8KeoCMheIQ2qe6e2YYZuQRU7zSw4IZ6vXlxIbzSj9BYTzO7LKvz3rS9aw4OjiQs2Fd5XSLvYPWGQylKdJGM8onceUnr3mGP8yxTL4bxzR9Rmo4ZVzSga8syORRRce+VtvgOrOLmTZSxSUNvm+K24HxRPsc8ZROsZqvkYsVabvQMuzOoQQX5Wo9CZg+8eRYUtjj/b7A== 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 VI1PR02MB6093.eurprd02.prod.outlook.com (2603:10a6:800:18b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Sun, 15 Oct 2023 17:12:23 +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; Sun, 15 Oct 2023 17:12:23 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams Subject: [PATCH v3 6/7] tty: 8250: Add support for Intashield IX cards Date: Sun, 15 Oct 2023 18:10:21 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231015171141.3309-1-cang1@live.co.uk> References: <20231015171141.3309-1-cang1@live.co.uk> X-TMN: [sIjDftBljvFUsCa0RGss5BxVxge/xJq8] X-ClientProxiedBy: LO4P123CA0066.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:153::17) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231015171141.3309-7-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|VI1PR02MB6093:EE_ X-MS-Office365-Filtering-Correlation-Id: 081cfe98-e2c1-4d7a-f396-08dbcda1e606 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IwjweRQd/k4ByNXhY2uOHllzmVMnOw8sSwB0V22o1VB6NXMu6Jgw7HplHxGjCs2+w5oI+Pt5P0hl9oKRcBOEWOQ/HAojgfiz4vxagXHRQBt88vO1nmPJ3vHJzWxMfVp1CCht3YTVlLmBbstDDjHFnPJYfI/vCC7WfXPB1ntppJRQwXFPsUFdaTomXVYGHdHHa5rK3bC9cy0IPB7y85UTu+UZACbQnp/Hu93A3hq7ajR6mvea52P8iG/AULXT+Hpb9ezl0E5c/24LYaqa5caeHWjwWyvbPohsbgNzN9yYoO9JhUg3qgLScG3MzLTmaVbXbTBm14Lt/+W+RcnZSJvxdkGNJRRYO/M9qYPnqLg3yDNmky73ThtKc78GviDzgmFHLXgxfuV09/Di/Ug0Oaaj1sqOAo85S6+LWg8+NWZGZPVMFFYT5kfZD5fuboBJX9MGUkhyn/81P+GswpexYmIRlLmZ8zB4lUZRJ4hoI6jP3iEVVTQJzFGU5x2MMlawfqa+IWebGYbJGsBil9ajgU4ACXoD4KErxcwD3Ln0KHfJxuQe74SFuaS0qAI9Q58YBccW/YhLXqDypyeKNfkDlA3/2Qsqdn62IFDBD4YjIgjmDXczprWD7C6nHYNa5w3doOTTcFX+yuOt/cQ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XcY1aRNlQLvcYgh3qdo3dPjxDa0nDG5VGsGWZvguX+WwYN+S5TAF0rX62SwhjP3pIXaafuRDXsUvwL91ZtGScYMZdpWMWfbtuZ62N0OMpJjaLZA1AGG01wO4qBsvj4ThxJ5OBTPs8TvaNE9oquijQ+uHeoNNJOuT/oceCG8aOOpa6MXLWUexprmU8C4zLLeJKdZPeeCzLYTnB2uPkPGJKRaqd1tteNLf1JJcg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 081cfe98-e2c1-4d7a-f396-08dbcda1e606 X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2023 17:12:23.8263 (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: VI1PR02MB6093 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add support for the IX-100, IX-200 and IX-400 serial cards. Signed-off-by: Cameron Williams --- 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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index b0e7354ba119..82b445ddedb4 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -4931,6 +4931,27 @@ static const struct pci_device_id serial_pci_tbl[] = { { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS400, PCI_ANY_ID, PCI_ANY_ID, 0, 0, /* 135a.0dc0 */ pbn_b2_4_115200 }, + /* + * IntaShield IX-100 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x4027, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_1_15625000 }, + /* + * IntaShield IX-200 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x4028, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_2_15625000 }, + /* + * IntaShield IX-400 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x4029, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_4_15625000 }, /* Brainboxes Devices */ /* * Brainboxes UC-101 From patchwork Sun Oct 15 17:10:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 733988 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 15EF8CDB47E for ; Sun, 15 Oct 2023 17:13:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231314AbjJORND (ORCPT ); Sun, 15 Oct 2023 13:13:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230464AbjJORMf (ORCPT ); Sun, 15 Oct 2023 13:12:35 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01olkn2014.outbound.protection.outlook.com [40.92.65.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39664116; Sun, 15 Oct 2023 10:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QyBnjNiC1CZO/QOjCg7VmAOpuTuyVGtbs8mKzm1UyTdS8lEBh5rzr1svKqNU6q+zaHIR17QNU4k1gFL1SEkM5KVKsuy+eLnbIBXZM18bSRmFE1qswNBrSg0z9sbsns0oxfDi1xiWN8ebewjNbFNMKO5hX/dj9IuNl5tsJx+eYfkQ7GErfQXeQVniu4CWYST9qPr+6Pt8FSNexpGOhRdQWEORBM6iRfqYJtkGIALzwYHJ/dEhsVBJciyvP1wh7SeVuiFy/1qWV9Igm8n7BFRN6mEg5t/MM26H3Z0L1HeZO3dvotctlRABHNnq7KGaBPhXMbazUhU0TWT7QeKjXFxYOQ== 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=6Jv045tXMbphD4fy29eGMMI0gvuPje4eD7NGbIYhyBA=; b=dYh2Q5D2hmEkcW7O3emUFsDW70GyfLZjaEwjQ8DWoG96lwvtLD9PJBQ/FyalUBIboCRjsNIRzw5Def56b9AYZXYTznEaXPQJIzUGFKWXLlfcFphljWRpVWFfHjbEyHv6ZQfLx77YRcUE55h72VzpCT73u6aodiBSp0uQp3FZKu1yiGYRaqspOgfJIOjWZwdbuwg+NN6Yz7QYAuH2roTharXE2CqF76wd2d3GRIeqJQuwbe6UNuoIOafwNgzpZv0dOqYfjje7/leVrO0T1d/K7QS8DpMb6qtVcVwvfhAfmxCDmcLRmhvRO5RgpIexGHzbTGO7uXIQjSuvERaLDlEtFA== 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 VI1PR02MB6093.eurprd02.prod.outlook.com (2603:10a6:800:18b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Sun, 15 Oct 2023 17:12:26 +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; Sun, 15 Oct 2023 17:12:26 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams Subject: [PATCH v3 7/7] tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks Date: Sun, 15 Oct 2023 18:10:22 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231015171141.3309-1-cang1@live.co.uk> References: <20231015171141.3309-1-cang1@live.co.uk> X-TMN: [NUy5mmo+IygKYg1HKy8FMUKL891YccSB] X-ClientProxiedBy: LO4P123CA0066.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:153::17) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231015171141.3309-8-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|VI1PR02MB6093:EE_ X-MS-Office365-Filtering-Correlation-Id: 758b9260-c6fe-49fc-d3d7-08dbcda1e7aa X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0vvKqtioe42vtuA2uMg0Vh0A/LelNScSw3YlcwWwsk54NZOdDmlmyazMoTFMnyP2kI5uJIj6Uf50DidYu/boTxGr3s6h6LQbTqDg1QQiMQZ91HHyDK4XCEeFXooGtNmicq9cUvT7C9jl9Mv0FJfI8w8rmFQ7/EBYnpVPuhyDAX9DWVu59bZKN5xc2/pd//QkZE4p4/FfpPkA18ndsuwYYRqmqrCH0cuuS1fx0v7J+nh+R8TY4UiCplPM587+/Cu9vvTOdABWI8H0LXmThHU8ZbJcvLbmiHssbGYUaMgCGqN+pP51llVN6srP2yklcxGMfWHliJ9l9JynyjXbHwEDRHKgtf2MdUkq0z7QYDSinX7nrQ7B4mPHdCoutSsj03lK/f/YOWV7FJOMExe2sTa8MU97iJ9r2XgdZ/wFOcMgd2VdO25J79uF/BVEXek4AGHKpcEMKQ3RQTjAlpjrQt6s8MRUuNnLh4igYoKWqzvyb7sKvGBRWAJGMV7VcJv7iNGkj/T+ZXh1kTcMEte0547VhLV01uuuj2Bo70eKoRt9jjFHubB0sVLiGQc9xoUBW61T9oELZ2EwZ1d1Ko4fxBtoxa1FYOYs7RlJvBY1nr+TTctCX2gB0mMPEN1lNTcq2h55vr//gBapGuyOgNQI+FIDuw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: du6uhUED2Jy81OlL6ToiLp1XzRGAPfBoXe0RsnXNidubzVaqy/S9TqHRsj/GOBT3f/LkJpZ3RCftX8UPAmHDnyuQIW7IB65ZB7UX4qLKFJrCLGfVthWZqwu2ncZ+ZJYwkVFN4W4ad/Zsy7YBRortM1Dwh14zhtKEIulNjr8FvaRJb51F0GJVqTP5iDgS9Nx2phpuv2I9vinlO/0QDEz161XHfQXf1FX3QtlfX1UeK6vvzSjm/T5mCkM/G1t95ldS+cY/yyeqjjsso80iL+pUkIK2znYGOtVPlepfHhHUU/saUF9UllqerppGRSh4dJOB6M7/GfE1NrK5VaKEIUD31eSYfP9pC3fzvD7944s3l++uvxsTyqpnTUOl3FZuX+E5ao59mK9ww0U430ItZaoGrOgYEPSVMDgpeH42Zs08EI3NTfA/wkt28OZSxnMvfdVUlagtXAKuZQDmkRqeaskIty359PHtTv/PXb8mr+2EVcZBT8qYHNQxG09d1/PkLN6te5j5pEwD5SBllrkYXs0g9ZWikcjzdOLW6VDJ0Nufqtqnm/EiopTgEsK4A5np7VJZtg+1rSTVByhe1n0QSzf8ZPuqNgENgkoihJ81hUcm9CnSTw/GRhug98Xk8uH0FOSGaSMGwyQg59kMnnPGphWRDcR4o7jPlqQ17RdsKyJGx94T7PBOa89UVE4nNq5LPFFZddbNIC6ZxrbOPssWvFgZRB6K/KGPnjXJh16M4hqi5ISnCCfXNvaRsJLJZ8VLNSQVddFsLxt+r02dWY1vImDE+VwL7kS9wHPAYzH8Sw1xemYgCkFzLTp4WW9Q3Wanwv5SIk5PDhyDyyfAgYl6j5BhrKktriZL1GOUCq7uwZdeR6kw2I/Fyz+A0tz6OSizDpicnj70aI6/wWoNnpgC/BGdVksiJ6tUpTFvJg5W7KH+2uZVLKVkdxwPxOypIHg5anpMaQX7W/NyqAnyfG4+VCabF0+1iVLU7YZJo2VJ7MkiCy0LgZaynHX6VBuJyxQ5SVjtvkQrPDHiD6W962pkL52Q7CRJt/0b9w628ednmEPjgbBSHbMhRn8ECX5FfOOnWEwSUbCaowsR552w4OSnI3tj5fEJuEjvRJnCXAC8P1v+OvWS4rrlbX/0LuRAZozr/qVfQslxqy312bcLV46Vr5IHkA4ntE5kG/Yhu85mHSudH8P0SQa2cgbopJOnlxBsXzmdkBtq8tZa1AlHu7GNjmiV4g== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 758b9260-c6fe-49fc-d3d7-08dbcda1e7aa X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2023 17:12:26.5855 (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: VI1PR02MB6093 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Some of the later revisions of the Brainboxes PX cards are based on the Oxford Semiconductor chipset. Due to the chip's unique setup these cards need to be initialised. Previously these were tested against a reference card with the same broken baudrate on another PC, cancelling out the effect. With this patch they work and can transfer/receive find against an FTDI-based device. Add all of the cards which require this setup to the quirks table. Thanks to Maciej W. Rozycki for clarification on this chip. Signed-off-by: Cameron Williams --- 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 | 147 +++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 82b445ddedb4..8242918970f6 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -2429,6 +2429,153 @@ static struct pci_serial_quirk pci_serial_quirks[] = { .init = pci_oxsemi_tornado_init, .setup = pci_oxsemi_tornado_setup, }, + /* + * Brainboxes devices - all Oxsemi based + */ + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4027, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4028, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4029, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4019, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4016, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4015, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400A, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400E, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400C, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400B, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400F, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4010, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4011, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x401D, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x401E, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4013, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4017, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4018, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, { .vendor = PCI_VENDOR_ID_INTEL, .device = 0x8811,