From patchwork Tue Mar 7 22:45:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ondrej Zary X-Patchwork-Id: 6274 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp9217wrd; Tue, 7 Mar 2023 15:01:43 -0800 (PST) X-Google-Smtp-Source: AK7set85RI432i7z8Wwo+5Q8Bs1cr0NhYxz/qQbzGmM0IvvK34nZT7/6KsVuEy0y0T6gHVrTL2kM X-Received: by 2002:a17:906:db05:b0:882:cdd4:14d9 with SMTP id xj5-20020a170906db0500b00882cdd414d9mr19985668ejb.46.1678230103820; Tue, 07 Mar 2023 15:01:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678230103; cv=none; d=google.com; s=arc-20160816; b=L14Q/Y8QPNRqk3NyjJk0iX5NBE9PhMtzwZU5keDHrhjjNTkpoNd8vipCsS/WwkmoKa vP3ADcSa0q5nc9mI/c4rDTPmdszeTgSaYeomHBqO9wvs3duOIF0RZjXqYbQ6iSHXJztM G7emOzdjHhlam4mx8veekd+oMkVA9Nr7mGicrWFindEhP09SjZf5sGRaeGGFoc1PxRIS 43QefKt2kIKioyKVj2hvFiHBBqRY1LCcACJVWiuFqSrktJQukwHMGzOhevBTTiq3gIGx d5mrcsj50WPlb7xguYKE6Srs49eO3vmM8fpDdPnKgezQMeZ33vE475gWS/iiKQO69KTr 69Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=heXIjIoitZg+FHz3I29ESjMMkvrJOQvJFQrS8Xbh+ks=; b=vNY71/IuT85etQushtHJ2u+DsqklpUwILWHZL2iXNm2ZlN65iJJdsY3szhl9wwkt2i olf3JkH3IadX8nZEGIATh+0Xn2qouWsJ7/tEr9L5lvIJKR3KbSMASKXXfPcU04bP7WJu Y5MEPY7+ix+14z3R8Kjok6UYQo2Rat5u0Jq+SwhdU2PWRiHeTQC0dGeqty210UrJkk+I NFpcFa3pUQ9wjCvrW032wZUb8PsmMVefUNKah+qXewsyxxci+BZORz2YZaO+PCePXXp1 14KdkhSG5OkNA2H3UvqoF5Chi8Mz7O2Kbmj+QCrgqpfeoA6nCMXcOxLqnOYFXqgvtLGo ifKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wv14-20020a170907080e00b008c215db35a7si19284021ejb.37.2023.03.07.15.01.11; Tue, 07 Mar 2023 15:01:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231327AbjCGWrR (ORCPT + 99 others); Tue, 7 Mar 2023 17:47:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbjCGWrB (ORCPT ); Tue, 7 Mar 2023 17:47:01 -0500 Received: from hosting.gsystem.sk (hosting.gsystem.sk [212.5.213.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E87D76A1; Tue, 7 Mar 2023 14:46:49 -0800 (PST) Received: from gsql.ggedos.sk (off-20.infotel.telecom.sk [212.5.213.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id AFBBE7A02A6; Tue, 7 Mar 2023 23:46:47 +0100 (CET) From: Ondrej Zary To: Damien Le Moal , Sudip Mukherjee Cc: Christoph Hellwig , Sergey Shtylyov , Jens Axboe , Tim Waugh , linux-block@vger.kernel.org, linux-parport@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/32] pata_parport-bpck6: rework bpck6 protocol driver Date: Tue, 7 Mar 2023 23:45:55 +0100 Message-Id: <20230307224627.28011-1-linux@zary.sk> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759751809133478695?= X-GMAIL-MSGID: =?utf-8?q?1759751809133478695?= This patch series simplifies bpck6 code, removing ppc6lnx.c file to match the simplicity of other protocol drivers. It also converts the direct port I/O access to paraport access functions. This conversion revealed that there's no 8-bit and 16-bit EPP support in parport_pc so patch 11 implements that. Tested with Backpack CD-RW 222011 and CD-RW 19350. Signed-off-by: Ondrej Zary --- drivers/ata/pata_parport/bpck6.c | 452 +++++++++++++++++++++++++++-------- drivers/ata/pata_parport/ppc6lnx.c | 726 --------------------------------------------------------- drivers/parport/parport_pc.c | 20 +- include/uapi/linux/parport.h | 3 + 4 files changed, 370 insertions(+), 831 deletions(-)