From patchwork Fri Sep 29 17:39:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Howell X-Patchwork-Id: 728478 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 7C65BE728CC for ; Fri, 29 Sep 2023 17:39:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233149AbjI2Rj4 (ORCPT ); Fri, 29 Sep 2023 13:39:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232923AbjI2Rjz (ORCPT ); Fri, 29 Sep 2023 13:39:55 -0400 Received: from MW2PR02CU001.outbound.protection.outlook.com (mail-westus2azon11012006.outbound.protection.outlook.com [52.101.48.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7FF1195 for ; Fri, 29 Sep 2023 10:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VNmqWMu4xhk+FWmArMmF3oBuR1qRsexD60A9adOJLvixfla3gOwye+u6uF3fpIKLifoOwZ7dnnTdRHPgD1Zii5KSXvFM/A79KchaIyUkrsnUz6e8z14pks7VA3iP6f9S5QK2qfc9aNGcXRDWmpT2LJOP46nNHA0DRpzKZDHn9QYVuXmEupQcHqXdvNPnD3tw/FKTYckDC9D8GvIzob/9wi7VZFEZHa3dyAn8E96cRafWpeFA9xgwiGbUQ7sjtZRxjFdkKVesjQwCCBkN4glyidRmDHoKAX9ceTrY7fJWWkiAAm1o7A2vlfvCz7tIiTpRZogyHUPKAmofk9b/KYOVNQ== 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=vhUKqvU+rLaFcahzUbCVTm/p0D9+6Is9WjzR4yVEmuE=; b=ULwLLKhYU7mN0maAPdHhDo4AdMWGcf4fPwCxyhQEkDujdHr6UG0rGPfg1g9xYfG5pVu/p4BYmd1hhxDNwWjDXS1I38MRxZmoUrQIHqtA3zUXTzMuK4f5/qWS6OUxTfoXFizzJtZ0JdkClS0IAKC0cIn4ptDNOXYy6JB3OE1byJPtfil5YWwP/X5JSVTBz6mZBHIxh/rETJXRhmJ81bayUEkq720JeTtu6v4IIBi3h9n/frepckUNSxnjXbYb7KDyN/S6OYxjuSME1J8DEikdls+5PNQV3OHcc0YUcu7Pw6t7xj/0fg1Iit+1Mlu8yUCT1SKIT7b78x3IA8wlR+GHeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sealevel.com; dmarc=pass action=none header.from=sealevel.com; dkim=pass header.d=sealevel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sealevel.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vhUKqvU+rLaFcahzUbCVTm/p0D9+6Is9WjzR4yVEmuE=; b=jYpog43XE4WWIhrsJWnoH0AiYIIebpZuiZSy7sOra4wdZzAt1xiIDwd1MATsFO6Dxy8Q/G12n20AC+bQZbrM3FzUCaJntJODYHOnbPPRX6e9r7fP1VPRDcM9F5L79Kx7HjxcCRcpiAEP6NaASbR6N3BpNPZmAfELcHZDWgGYBN9Vye86Q9QUc1MRrjhUZx7DDqBWlBkTjbuoJwdo51frpf6qrNW/eo0GJA5CTVB6bo4vOegZBKj858HgQJQ9ndGHO3wNlWdToPExHx8j/72rHZKNUvixCoN094iPfBzxGNS9Avij8XaohPgNld4ZTXNZIUZglEcT68pvaET/Q8l20Q== Received: from BY3PR05MB8419.namprd05.prod.outlook.com (2603:10b6:a03:3c6::10) by PH8PR05MB9362.namprd05.prod.outlook.com (2603:10b6:510:1c1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.24; Fri, 29 Sep 2023 17:39:49 +0000 Received: from BY3PR05MB8419.namprd05.prod.outlook.com ([fe80::f4e4:1bc5:23f6:c9d4]) by BY3PR05MB8419.namprd05.prod.outlook.com ([fe80::f4e4:1bc5:23f6:c9d4%3]) with mapi id 15.20.6838.024; Fri, 29 Sep 2023 17:39:49 +0000 From: Matthew Howell To: "gregkh@linuxfoundation.org" CC: Darren Beeson , "andriy.shevchenko@intel.com" , "ilpo.jarvinen@linux.intel.com" , "eff.baldwin@sealevel.com" , "linux-serial@vger.kernel.org" , Ryan Wenglarz , Matthew Howell , James Olson Subject: [PATCH V9 1/2] serial: exar: Revert "serial: exar: Add support for Sealevel 7xxxC serial cards" Thread-Topic: [PATCH V9 1/2] serial: exar: Revert "serial: exar: Add support for Sealevel 7xxxC serial cards" Thread-Index: AQHZ8vvyagtiwAEjxEmBxrU0jY0e3A== Date: Fri, 29 Sep 2023 17:39:49 +0000 Message-ID: <8ffa2f583ff142c3b0eb6cf51a7c9cef5dbfd320.camel@sealevel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.44.4-0ubuntu2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=sealevel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY3PR05MB8419:EE_|PH8PR05MB9362:EE_ x-ms-office365-filtering-correlation-id: 5b9501d8-2eec-460b-7009-08dbc11314a3 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fR0oCUvMGxep4af0yRK/wf32emtg8nP9fsRf4ZQvOiNe3QDb820wv/TQKJuKn7Rda8dhE7xI0gng4Y9p6E7OO0cymPgKrXNDh09Buivn57naQaAQThPktH87tZ1JjOagRIcgTuvQzztzNC4G1+Xx8EIF1wsfQVSFY4XbZcxw5np1Chjd+VUX6pbBM+Ujlm39LvUbqojYfojNTvZY2VQy/J0qOEkjJLELN2bTJE9q3GL/nLcUM0cmLCm8dywlwy4XyI9zhbqj5mIOzFL9KRtzBJNoLm2KABrB2QoY6C2TniSaaBSObW9R1WuzgMG4nqO0ZH1FGqGCxzV3UZeB+4cICvvjzLMP8GHIsRxBSh9JXw3O6IOecuuWf3SqxGphs/sEq+a1HIA7o194a7oJYFZ3w4HSOowfjqKNwKwBFuEPvijLppRgx2u1C6VZU4DHSmUrKOhamvU/HeAtE0yLulhVv6VIWM4sPRaBXAKRG/P4EYlYY8hI+Y8wOaZcetQhA6+yqfmezJloD2NYJt0Hmf3X4AqaCb3dJULgOA8m1rVQX6aq5HwmpbI52FRi1CHgz8OnZcTD2RwsKjzvxWaednzCjQmqlGRa8b8ZN6DWObRYZj5IhgpVWpkereEn9eVdP9Op0zA8nBlut7zi7T30ryAsLWz84YzkJ1yEypL+fuQB248= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR05MB8419.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(366004)(136003)(376002)(396003)(39840400004)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(478600001)(71200400001)(38100700002)(38070700005)(2616005)(107886003)(6512007)(6486002)(36756003)(122000001)(6506007)(26005)(64756008)(66946007)(66556008)(66476007)(91956017)(76116006)(41300700001)(316002)(6916009)(54906003)(66446008)(8676002)(4326008)(5660300002)(44832011)(8936002)(86362001)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?PIpfz3EVDle75H6Gy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LwE/VhXBJ9qt?= =?utf-8?q?qNkd3IVtDT2NT3oeSIcYN9h72RsByEvq+7mG2/sOzKHdO4o1/CIZiwnOFJerPletj?= =?utf-8?q?UhJa63iUHsGOmpUtz2VjhxNJrVl8lfDnomWS2kInxX7ecshhG0qMJZ9lH6eC2TS4X?= =?utf-8?q?kXd9Io2gXt+HvqvC81yyG5pn/VTNsAD2xrTtb4x5tsiHHsFKbQSbrNpPLjE2k7pFv?= =?utf-8?q?bzYjM/3geJ2modBWz+/S3vwn6DvUXzbnoTtHSrDh3m6YBQo10dbzUzydkeV1O/Nhl?= =?utf-8?q?VYHKs1IrOGDDMv6P1GaPctjIHjR6y32TaJtAglQ7i16LRTSXCM245fgGxThyfQ10Y?= =?utf-8?q?ylLTiXKy+D/PosGWcW/FUQ9BUvYydnT4mUJYHbSUkCIWW3jrg1VRmUYRCAkRvsj4Q?= =?utf-8?q?TDdOznwvCJ7hA5hfIoR+ZXdpniyCE9Z6BOFIRz06noZn93Thh//b5sSgWURMURqiE?= =?utf-8?q?bEBNevYJuGeOiDG+x4wzCIuHG5FXEq4JFsLmYAoqHSubBR0UDtBBCDXZTMFVFJIdl?= =?utf-8?q?Ad69iycwrKOBQeo0vsp6N16VQqtErC8n/Aye1qs+b9vPE/MY4OmKihAfF7UazNSzj?= =?utf-8?q?kLkMSJhvtYZpxnd2cccd6ZFTI0H33Hq+BZCTmPQsh8vBiFAJDehMI0cP6eF/fKl1G?= =?utf-8?q?FpRpMuQdOwxyAn6teavLW/4EEKjbpEW31g=3D=3D?= Content-ID: <7ABB2C330DB32544B8466C96F24577CA@namprd05.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: sealevel.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY3PR05MB8419.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b9501d8-2eec-460b-7009-08dbc11314a3 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2023 17:39:49.7610 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e34c5615-b4e3-481c-abc8-602581f2e735 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mnM6X2L0cQF9+LL9Cd2DkKnJuedzcdYVd+nPhc5OM7QQJ24/jJE9rYp/fXglErqtvWY/YUzg/QLeRhZuugpPmMOxAVpOUReVY4So7PYGuOI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR05MB9362 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org From: Matthew Howell Hardware ID of Sealevel 7xxxC cards changed prior to release. This has rendered 14ee78d5932a redundant. This reverts commit 14ee78d5932afeb710c8305196a676a715bfdea8. Fixes: 14ee78d5932a ("Add support for Sealevel 7xxxC serial cards") Signed-off-by: Matthew Howell Reviewed-by: Andy Shevchenko diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c index 077c3ba3539e..3886f78ecbbf 100644 --- a/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c @@ -47,12 +47,6 @@ #define PCI_SUBDEVICE_ID_USR_2980 0x0128 #define PCI_SUBDEVICE_ID_USR_2981 0x0129 -#define PCI_DEVICE_ID_SEALEVEL_710xC 0x1001 -#define PCI_DEVICE_ID_SEALEVEL_720xC 0x1002 -#define PCI_DEVICE_ID_SEALEVEL_740xC 0x1004 -#define PCI_DEVICE_ID_SEALEVEL_780xC 0x1008 -#define PCI_DEVICE_ID_SEALEVEL_716xC 0x1010 - #define UART_EXAR_INT0 0x80 #define UART_EXAR_8XMODE 0x88 /* 8X sampling rate select */ #define UART_EXAR_SLEEP 0x8b /* Sleep mode */ @@ -652,8 +646,6 @@ exar_pci_probe(struct pci_dev *pcidev, const struct pci_device_id *ent) nr_ports = BIT(((pcidev->device & 0x38) >> 3) - 1); else if (board->num_ports) nr_ports = board->num_ports; - else if (pcidev->vendor == PCI_VENDOR_ID_SEALEVEL) - nr_ports = pcidev->device & 0xff; else nr_ports = pcidev->device & 0x0f; @@ -893,12 +885,6 @@ static const struct pci_device_id exar_pci_tbl[] = { EXAR_DEVICE(COMMTECH, 4224PCI335, pbn_fastcom335_4), EXAR_DEVICE(COMMTECH, 2324PCI335, pbn_fastcom335_4), EXAR_DEVICE(COMMTECH, 2328PCI335, pbn_fastcom335_8), - - EXAR_DEVICE(SEALEVEL, 710xC, pbn_exar_XR17V35x), - EXAR_DEVICE(SEALEVEL, 720xC, pbn_exar_XR17V35x), - EXAR_DEVICE(SEALEVEL, 740xC, pbn_exar_XR17V35x), - EXAR_DEVICE(SEALEVEL, 780xC, pbn_exar_XR17V35x), - EXAR_DEVICE(SEALEVEL, 716xC, pbn_exar_XR17V35x), { 0, } }; MODULE_DEVICE_TABLE(pci, exar_pci_tbl);