Received: by 10.213.65.68 with SMTP id h4csp686116imn; Fri, 6 Apr 2018 07:18:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx4905CgruRyW3cHZ7fGT/rF/BZq3++7QMsnmdGn97BbESzUwaI1rC297Mp87z0YbSEU9TJoe X-Received: by 2002:a17:902:7785:: with SMTP id o5-v6mr25738257pll.356.1523024284492; Fri, 06 Apr 2018 07:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523024284; cv=none; d=google.com; s=arc-20160816; b=KZQ8tyH9y/cSUwqRPbYH9nOdyaW2oz7T/1b+XDBKJELm7zl/KwDqsDwnGq168J/QAK PK3vzDfeR2r7FF6W220iy88URVYjTQ6Qh8PJhfvF++ji3bhd3vLxou2/L3tB/lrmms0B 380l8sbCEO14ASC35FEZ2ue8+v3BezyWrSG52/h3X/gYaG2VfySQygSghhD6Qq1Oh27+ UxHxsaImJzgfHf7l1CvakvtGDxmZHDEbAypGx2pd6hFZ/AIxGUD8wPLOa0dReq/F/2uf WoYDS+Nb1Cmh2sa/WY0o/cNHTpXGSDeFlhB/yj26sr0FifkZGxda8kyt2dhdTAw4DqkA 0DBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=upQfXN34d1/dAQoCOZBFqoqGl2cjLGogh0JJxAYaznM=; b=pTBUz6D4kKySaZ/JIyE6yD6FxLsm+Wvn1PXI16H0ML0N4B1Cu7S35iqQVFvEtkFYYy QIYoVDFeaFjSaEgvgyrFwQ2/S/2G/jA0s36+SgX1QrJabgqJMXuZp2pHGBeV1ap3UPdY uwCT/a9HE4uo9JK0min+wVPAJvOY1UrTYoQtvYGgAssCS3e6d68l5yKR2VgM3Ye7ruAk B25F/XMM/2nBWtM5++t48y8HiJLzh8JnTp96zYzETzi6g6vqjAUzFA4pnGAL9uBHMNnF 8acHWdThSx5n+0RGrtqNHQ13MYPWcFrQyO3gfsAX7RPHb4t0Pnd/3TvQ085d6QWM6yK4 y6IA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si7202000pgc.400.2018.04.06.07.17.50; Fri, 06 Apr 2018 07:18:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756340AbeDFOQn (ORCPT + 99 others); Fri, 6 Apr 2018 10:16:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34228 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932559AbeDFNjK (ORCPT ); Fri, 6 Apr 2018 09:39:10 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C4BAED60; Fri, 6 Apr 2018 13:39:09 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexander Gerasiov Subject: [PATCH 4.14 45/67] parport_pc: Add support for WCH CH382L PCI-E single parallel port card. Date: Fri, 6 Apr 2018 15:24:15 +0200 Message-Id: <20180406084347.305379910@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084341.225558262@linuxfoundation.org> References: <20180406084341.225558262@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alexander Gerasiov commit 823f7923833c6cc2b16e601546d607dcfb368004 upstream. WCH CH382L is a PCI-E adapter with 1 parallel port. It is similair to CH382 but serial ports are not soldered on board. Detected as Serial controller: Device 1c00:3050 (rev 10) (prog-if 05 [16850]) Signed-off-by: Alexander Gerasiov Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/parport/parport_pc.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c @@ -2646,6 +2646,7 @@ enum parport_pc_pci_cards { netmos_9901, netmos_9865, quatech_sppxp100, + wch_ch382l, }; @@ -2708,6 +2709,7 @@ static struct parport_pc_pci { /* netmos_9901 */ { 1, { { 0, -1 }, } }, /* netmos_9865 */ { 1, { { 0, -1 }, } }, /* quatech_sppxp100 */ { 1, { { 0, 1 }, } }, + /* wch_ch382l */ { 1, { { 2, -1 }, } }, }; static const struct pci_device_id parport_pc_pci_tbl[] = { @@ -2797,6 +2799,8 @@ static const struct pci_device_id parpor /* Quatech SPPXP-100 Parallel port PCI ExpressCard */ { PCI_VENDOR_ID_QUATECH, PCI_DEVICE_ID_QUATECH_SPPXP_100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, quatech_sppxp100 }, + /* WCH CH382L PCI-E single parallel port card */ + { 0x1c00, 0x3050, 0x1c00, 0x3050, 0, 0, wch_ch382l }, { 0, } /* terminate list */ }; MODULE_DEVICE_TABLE(pci, parport_pc_pci_tbl);