Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp225039rdh; Sat, 23 Sep 2023 07:58:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGiRwRiCbK2VLBLoRbID7KRdEzTXuMfv71G8Kp3pTyrcGPsBpmsOZl0vpBzwED26hFc6SNS X-Received: by 2002:a17:90b:1d01:b0:269:439d:8c3f with SMTP id on1-20020a17090b1d0100b00269439d8c3fmr2117229pjb.22.1695481104510; Sat, 23 Sep 2023 07:58:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695481104; cv=pass; d=google.com; s=arc-20160816; b=qdconuA8MsG83II2KE0qf8hYV8GxOMBcbSVV7sMWka4b1n37cHTgh9uMt9WRy7UIGN 9EepgLJdhaluvtTon03g49uv9bA29zZJgtETt1l6AdzSVvHe3szzdIIr2108xYkw5N3u fj8yS1NikfTrPUydwps2UebBRDLG/DRUtD0SFSo/QNuGdm/UinZLyoWUlwcjQ6u+ceBi O/w9u49g8p3zoDOUok96O14JjJftjngnTVaQgU9S27qNnblsnuoE5MGcHZ34yNc1iBDr JbEMsiBAKuiezx86qwCBn8sX9YiGZUOqF0xIwuH+GW7oOELNzl0r5waojdXRfLflYP+j iAzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date; bh=3Xzg2qlYRX48ZIXFZoFf3yVEOI78awMUJg0ddSCu2MA=; fh=NmTTpNVpvQZakzV11rU1cOH+kMrEJghuuykOXdVUDtI=; b=JZXvth6qYQneCCfndP4AoudeElCNG6qeBgNeakgNhQxNzbbxruZfFnypry6spfLQQB Q0ybvgRbipgL2YYbjB6lyjdLblJiWoVx5P9mVQI0SKHM1TQA54E8QEsOigtZpxdRWw// GgTyjGjGwE7gKyciLjuUuT6f6uP7kUKMIhJ4Sa457699m1q62HPlce+9JB88m3tYzyq8 JSb64yoTmX6FRX8lAUTIDVREpdncc9FvVPS5UMrZbujS1T1o6Nev9eovzcBEqN0jjBxt LREpa71eRj4LRwQ1JSIHjUfM0IdXCNtyiuZgtZqSuDktO/yVIA+pNwQPGs3fFQEJ1wb0 Z9nQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=live.co.uk Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id k5-20020a17090a9d8500b0026376acd6fesi1129675pjp.22.2023.09.23.07.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 07:58:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id B08D283797FF; Sat, 23 Sep 2023 07:58:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbjIWO6G (ORCPT + 99 others); Sat, 23 Sep 2023 10:58:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231603AbjIWO6F (ORCPT ); Sat, 23 Sep 2023 10:58:05 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04olkn2081.outbound.protection.outlook.com [40.92.75.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EFEB180 for ; Sat, 23 Sep 2023 07:57:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMuciOf56/gw1tEnCtyUJw3ubc0bfYDh861Ujz19X1jsefRINOexsHbT5yvIHrqOeg8ZnAZRm3dUA1yHr2nt+6meA0BM7gIJlNsbi4f817CiebHpXUTqsiI98D2uP6TgxjV4QckzjuT81FUI9fJxxpwVmZw3oWovjmiFBq8toFc2qibaIKtT6peOZnAsl5Bt1CzscvaMfzGDKXzU5o0CE5NZm8H7uL2mWLJxzRzEzQ8syj9r0sCjVSwFPaKWWxYF3iJsw7qLbAfzCOiJ9k55I84nzeB20BvLVcA9fF+EGXqeuWluu64oELUU3SuEPzI88lcY18S0P/Mw4Pwl4sGv4g== 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=3Xzg2qlYRX48ZIXFZoFf3yVEOI78awMUJg0ddSCu2MA=; b=JL09TMMVRfxVRQfWrq1dFf5UZXVVkIETPxMzozYmutPBeAMfxt3pQOSadbDeQiGyIxsPyKWM3FSdB+XB/Ac5opX5+SBR0XkXSy3GQgDDcZSMqrZArrMLezVJshuKOQch94uaveevaJMHv7IJmdag+Mf3Dn+aojVTcEhokdxtT7LnwiY6bZVjSPykIQ5vLaoimrqC2F0AkbvBBAgtsDg1YemlmrcDU/2Afb7rWTqBqRYAM/3rW9KUSnNkVzKQvuRut05Iv3dPUewnr+ycHX03VHDcT4UlZR+XJ+7H7soeJqGVoQsJv8lnVZjtRk5zII/tmgVzBhLWeeNe6LcblPLkVg== 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 DU0PR02MB9821.eurprd02.prod.outlook.com (2603:10a6:10:44e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20; Sat, 23 Sep 2023 14:57:57 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%6]) with mapi id 15.20.6792.026; Sat, 23 Sep 2023 14:57:57 +0000 Date: Sat, 23 Sep 2023 15:57:54 +0100 From: Cameron Williams To: sudipm.mukherjee@gmail.com Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] parport: parport_serial: Add more support for Brainboxes cards Message-ID: References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TMN: [SN2pOL8+pGp1/bOzRx87AZMQ56rBU7nj] X-ClientProxiedBy: DU2PR04CA0025.eurprd04.prod.outlook.com (2603:10a6:10:3b::30) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|DU0PR02MB9821:EE_ X-MS-Office365-Filtering-Correlation-Id: a45ec8cd-20d2-4aa8-bb58-08dbbc4578bb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3RCtQb7x1cmpW5c9FSAnUJUfrcM+LTv9KlW/LEcsN7We6NMN/r+rNrEK+9QkASEky6XY/wOAFGmhbQdlXHhsXE8iPfRHqpPHvW7+UMQvxyra1qfcj7yGSnD7F8gKlukwpDziuGAp7Ro3YetGUIMQfCUdfuJ6f3xEmn9brzNNJikA0AZT2ELxaCpUQ5tRK7d0cQcRUlEcd7jhyYIo9dbr7qVSwOi0YUMsPs/ZrZAeDmqV8lLx7D6qT1wiUWEYAAdHIStplWIlSXNrXGvh64qDqbRnrH3T/KsFSJ30lJsShNbIcyf8DZ/h8/zeaBoFmE72ZDrdpuFNPdL/JOIUU5aaR/QMyOHL7H8Nz+F1yv1+BQw8P0wPBLHOlc4VAFoLw4kyfQ8BI56eqkVKb1BGGzkt1kakvTwzfBnbc9ox0jmtBgwyV9eMCwosqCgl7ClG2zur+ceY95aS06DYBKR2a+MUrdy2MeqK6KNfZPysfFmvy9qvPim7fypnrZxGLmCDhRMuadCqFBUksf5grTUzM/6SuBCoBiqIEBqgMurgNHW+KDlSVUo9irnmPzChWTuWzyXJ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5+cKp9G96x/3a6UGukLdh40QKwWwLSVJ5WQCEOnElg7vSR4w1JYmtZaQoneN?= =?us-ascii?Q?cqLeLT4R0X2Ir/DqNqkP16wc1cb3sWkwhE8elyymj/T6WIlw7nsk2N/xZWGz?= =?us-ascii?Q?taGf4jMmw1ZdZJf3eQjz7//8F0hxSNHMu2h4+CcUoLXo+gqu/k6nviaTZa81?= =?us-ascii?Q?HibZHWt++IpHgbgaGw450D/59oHDYPKaqIKo6ysV9xcCx9W0pUqQe9O6RqCi?= =?us-ascii?Q?6L+1smlzTtGF2Tia42f5/yCMB1XKQtgO7zwOCEVhysk5ZZ7x0X8zN6PQdlQF?= =?us-ascii?Q?7iszyS0gAS7olDsqwKLVADREVyM+17J9jNos2ea6cngOfq4/KUwlmqymQEPm?= =?us-ascii?Q?PVMRI27POfJcAVslGEHfrMBA86dQmntnRQPjeLfXcPSL6A4UE7DEqbtovXWo?= =?us-ascii?Q?OpXHuePhSks2HR5kVu9UGtOdzLCsaJJXsobyvJQe62yhjAhXCY06sgJ09YVj?= =?us-ascii?Q?y3g45S93t0rZYJSWYaQ2Imgd39L9AYdbPnNhYfplHeneMY+KmFh2p2hvv4N8?= =?us-ascii?Q?78IY8dGe592w9wJZoiOFPc9XbVHZ70p6sNwYN7/P7WVKzq6LHqoPeH9vjzgR?= =?us-ascii?Q?efVE9gf8DT8cW05D95bvsw3DObxu0WbfnVxmEvFVZbBe3484lLFZfCnHKAgp?= =?us-ascii?Q?lJeccx0SjFOIJoIIGXyHSnvereyyFx71K+v+g1tplPUL1njIY16wEdshNYYS?= =?us-ascii?Q?/bPN7aUQwJqlYDL9KdrdK9apEXPNIWmuBSRYbux2uc8QFPc1IWq49ZZu5O/F?= =?us-ascii?Q?71lcjNdkAPBTJXbIp2gMuBg6NbscQzD00gUixb+9m0gKaTeRxkt4pxeyzP+M?= =?us-ascii?Q?NOLsVgfFKlNAXsA0PawSSUMExIl9f8TfTRZ8OyQcGnic2TM9rjBklFOFMlmH?= =?us-ascii?Q?k/4WA0+x2JPYwC0oan3Pv7lTj+PVhBB0Yqqn++gA3IfSawKRr/W3LRzYRMq+?= =?us-ascii?Q?PDv7WqF9NKAwAwPCpkrA6mOMFdY/Gf9zBMhyE4gXScsL/GTTxI1BBt9fAwPK?= =?us-ascii?Q?dEzZd4IhxmElSBBmcu/Q7fysEBfAcLgR1Rty3jXlR5GBKb8DiIDu7+xtwfmf?= =?us-ascii?Q?nSCNPQBz8f246GuUQH3P6f70L8xkVRemRjXwmpfYYXrAhREN/uXLXlrinNtX?= =?us-ascii?Q?pKbx44hS3/zhqM3t349p8YNHLcPNP0VvtGIsCcVMh8E9HmaedShiAwEq/TsX?= =?us-ascii?Q?iy8dc8OSYyZJeKPqrThPBT/NbK3x+ICBnEihAw=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: a45ec8cd-20d2-4aa8-bb58-08dbbc4578bb X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Sep 2023 14:57:56.9935 (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: DU0PR02MB9821 X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Sat, 23 Sep 2023 07:58:06 -0700 (PDT) X-Spam-Level: ** Please disregard this patch. It will be re-sent using raw hexadecimal IDs for the device IDs. On Thu, Sep 21, 2023 at 10:11:29PM +0100, Cameron Williams wrote: > Add support for the Intashield IS-300/IS-500, Brainboxes UC-203, UC-257, > UC-414, UC-475 and PX-263/295 parallel/serial cards. > > Signed-off-by: Cameron Williams > --- > drivers/parport/parport_serial.c | 64 ++++++++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parport_serial.c > index 9f5d784cd95d..c6fbee528493 100644 > --- a/drivers/parport/parport_serial.c > +++ b/drivers/parport/parport_serial.c > @@ -65,6 +65,10 @@ enum parport_pc_pci_cards { > sunix_5069a, > sunix_5079a, > sunix_5099a, > + brainboxes_uc257, > + brainboxes_is300, > + brainboxes_uc414, > + brainboxes_px263, > }; > > /* each element directly indexed from enum list, above */ > @@ -158,6 +162,10 @@ static struct parport_pc_pci cards[] = { > /* sunix_5069a */ { 1, { { 1, 2 }, } }, > /* sunix_5079a */ { 1, { { 1, 2 }, } }, > /* sunix_5099a */ { 1, { { 1, 2 }, } }, > + /* brainboxes_uc257 */ { 1, { { 3, -1 }, } }, > + /* brainboxes_is300 */ { 1, { { 3, -1 }, } }, > + /* brainboxes_uc414 */ { 1, { { 3, -1 }, } }, > + /* brainboxes_px263 */ { 1, { { 3, -1 }, } }, > }; > > static struct pci_device_id parport_serial_pci_tbl[] = { > @@ -276,6 +284,38 @@ static struct pci_device_id parport_serial_pci_tbl[] = { > 0x0102, 0, 0, sunix_5079a }, > { PCI_VENDOR_ID_SUNIX, PCI_DEVICE_ID_SUNIX_1999, PCI_VENDOR_ID_SUNIX, > 0x0104, 0, 0, sunix_5099a }, > + > + /* Brainboxes UC-203 */ > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC203, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC203R3, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, > + > + /* Brainboxes UC-257 */ > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC257, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC257R3, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC257R4, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, > + > + /* Brainboxes UC-414 */ > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC414, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc414 }, > + > + /* Brainboxes UC-475 */ > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC475, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_UC475R3, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, > + > + /* Brainboxes IS-300/IS-500 */ > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS300, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_is300 }, > + > + /* Brainboxes PX-263/PX-295 */ > + { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_PX263, > + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_px263 }, > > { 0, } /* terminate list */ > }; > @@ -542,6 +582,30 @@ static struct pciserial_board pci_parport_serial_boards[] = { > .base_baud = 921600, > .uart_offset = 0x8, > }, > + [brainboxes_uc257] = { > + .flags = FL_BASE2, > + .num_ports = 2, > + .base_baud = 115200, > + .uart_offset = 8, > + }, > + [brainboxes_is300] = { > + .flags = FL_BASE2, > + .num_ports = 1, > + .base_baud = 115200, > + .uart_offset = 8, > + }, > + [brainboxes_uc414] = { > + .flags = FL_BASE2, > + .num_ports = 4, > + .base_baud = 115200, > + .uart_offset = 8, > + }, > + [brainboxes_px263] = { > + .flags = FL_BASE2, > + .num_ports = 4, > + .base_baud = 921600, > + .uart_offset = 8, > + }, > }; > > struct parport_serial_private { > -- > 2.42.0 >