Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp866545pxb; Tue, 1 Feb 2022 12:03:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6e8oEPACnqsrtSGMHNNXpfHismJTCN1kB5AU0sTfF0Z81OFeZ3vDhxgN7SJtxQezKN7P4 X-Received: by 2002:a17:907:9725:: with SMTP id jg37mr22277695ejc.396.1643745834757; Tue, 01 Feb 2022 12:03:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643745834; cv=none; d=google.com; s=arc-20160816; b=QLkvEyp302K2jkx+Vl69V99cGRTLKBQ3cTyTh2tG1L3pcxAgXX41Ee77pk9Ul4Cokw yd8jg0HbtXkIDaF7If4a7U1ATjHhkGbk30NHx7+Rcf8E8Hppho1lS61YciyQo2ypz7ar rXPfzd97P+vuBiyvrlIqOFaM4bEkH4p1+JLT7Q5fW10X4LmOQvorBVJNqhZ8oZpxoScf HoZFJDj6AiOgho+akCvhWIfClaXH8pVwwERSGc2P9sU0V2/VfOV3oOqsO7t9xdVIg/ye LtjqG2JQhWFIuyLgjc275cWcsRtS/zLVMNNqHjZ9+tRo4KZKwhfqwxXik2PPQqYiSvFS HtOg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NhHIRRPhT0oyAZq/1ubXlJ8vxFzS2JGJnXlP1BUFuxs=; b=IlPZmHjLh07Xns7BpnW1V1n00IR47bFdPx04SFnmed+aWosKgXS9QWIfyWpOsL26aY WkzHVZ0U6RHH7ZSF9pNWsVss9DDdy6rSqTX1xIjFAaQ1xcpcrSd1rFfwUUXGCc/Gt1P1 SB4r/3+sUqiXYmmlRnAVfmmdt6yBTeNlflVYOMqt/6QwtJRT+eRFvoIEt6h9yG3CyQSE o8EVzA9k51R/RI4wBhbruI62gg3lD8YXv+L+hPW1eeJsd1u6/nS3sIPjO8FEeQiYfbUJ u0i69xKnoGI2Z39DRZDgV07og2EsiVDyzdVoY9kuxpdXFfWi6XkYjcx3q7Q7/eqlXMU5 lpsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=M7b6RiIt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do13si3811506ejc.806.2022.02.01.12.03.23; Tue, 01 Feb 2022 12:03:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=M7b6RiIt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376732AbiAaLP7 (ORCPT + 99 others); Mon, 31 Jan 2022 06:15:59 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:57066 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376742AbiAaLJB (ORCPT ); Mon, 31 Jan 2022 06:09:01 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 510CAB82A5D; Mon, 31 Jan 2022 11:08:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92596C340E8; Mon, 31 Jan 2022 11:08:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643627338; bh=jPF/fUbyfqlawty7GnMDSu298XYR9WBd2Y1mpG4amjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M7b6RiItdRc7qDsGoHZLAS1LhV3XLRm1Is0q5bGzVgji7X664Ib5gsNLYo8yKTrBr cvsKFXr+x8Or/gS11jr+2VaLxCFP31LXppr+hrndn7alGv4+suvpV8xB4CkQBS9QHX nGNf5dz3zlFl4LuQ3VFw87qSvxXxy005AElyUUFI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Cameron Williams Subject: [PATCH 5.15 051/171] tty: Add support for Brainboxes UC cards. Date: Mon, 31 Jan 2022 11:55:16 +0100 Message-Id: <20220131105231.760548492@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220131105229.959216821@linuxfoundation.org> References: <20220131105229.959216821@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Cameron Williams commit 152d1afa834c84530828ee031cf07a00e0fc0b8c upstream. This commit adds support for the some of the Brainboxes PCI range of cards, including the UC-101, UC-235/246, UC-257, UC-268, UC-275/279, UC-302, UC-310, UC-313, UC-320/324, UC-346, UC-357, UC-368 and UC-420/431. Signed-off-by: Cameron Williams Cc: stable Link: https://lore.kernel.org/r/AM5PR0202MB2564688493F7DD9B9C610827C45E9@AM5PR0202MB2564.eurprd02.prod.outlook.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/8250/8250_pci.c | 100 ++++++++++++++++++++++++++++++++++++- 1 file changed, 98 insertions(+), 2 deletions(-) --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -5203,8 +5203,30 @@ static const struct pci_device_id serial { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS400, PCI_ANY_ID, PCI_ANY_ID, 0, 0, /* 135a.0dc0 */ pbn_b2_4_115200 }, + /* Brainboxes Devices */ /* - * BrainBoxes UC-260 + * Brainboxes UC-101 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0BA1, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + /* + * Brainboxes UC-235/246 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0AA1, + 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 */ { PCI_VENDOR_ID_INTASHIELD, 0x0D21, PCI_ANY_ID, PCI_ANY_ID, @@ -5212,7 +5234,81 @@ static const struct pci_device_id serial pbn_b2_4_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x0E34, PCI_ANY_ID, PCI_ANY_ID, - PCI_CLASS_COMMUNICATION_MULTISERIAL << 8, 0xffff00, + PCI_CLASS_COMMUNICATION_MULTISERIAL << 8, 0xffff00, + pbn_b2_4_115200 }, + /* + * Brainboxes UC-268 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0841, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_4_115200 }, + /* + * Brainboxes UC-275/279 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0881, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_8_115200 }, + /* + * Brainboxes UC-302 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x08E1, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + /* + * Brainboxes UC-310 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x08C1, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + /* + * Brainboxes UC-313 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x08A3, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + /* + * Brainboxes UC-320/324 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0A61, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_1_115200 }, + /* + * Brainboxes UC-346 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0B02, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_4_115200 }, + /* + * Brainboxes UC-357 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0A81, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0A83, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_2_115200 }, + /* + * Brainboxes UC-368 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0C41, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_b2_4_115200 }, + /* + * Brainboxes UC-420/431 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0921, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, pbn_b2_4_115200 }, /* * Perle PCI-RAS cards