Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp307356pxb; Wed, 20 Oct 2021 23:12:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlcXuDUqWiyyYWuQjiRjHZx6aS3iT4pxYxtjye3cR6e2qBuhKe84EVdftm3VfTshB+4J+a X-Received: by 2002:a50:e0c9:: with SMTP id j9mr5050196edl.336.1634796726918; Wed, 20 Oct 2021 23:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634796726; cv=none; d=google.com; s=arc-20160816; b=SjMyc3R3M+IN7DLelb9B/LEGuec3a+Dyikfvkc6l2fNfBC7E8dexnhvTXSRSrRClRq aS+dbvATBHb7cJ5phxq4oV66p2nxKGUPBADY+a96VPqLld1lnkX9hbFaiqTfsLprsT0i Wb42w6ArRta3y/3EMPHA3LXpbRtocHNQ/n5gO2lOWjC2ZT9P8sD4GcEDjWgEAlAwqqJ0 9/QtuVFWPISKaNs0zvjW8C2zcrsRxKI2UVztOOWO5L/en2EXXK+ARVedSPp9wZjA3/6E UJwEqAVDBmJw+vqZJUPJkpBVL/waaHHSWzmudCmOq/xkM4/eD/5V0IE6hz5y+vFKDjDA z4ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:authenticated-by; bh=5Zl/uNTXHlXhqJqOwyYalIgynbxo1FysHWGll1MCf7c=; b=Ad2taRGAj/c0rMzAcPbArmdKDjMnpA1veF812gARY1LhQWtIsto9jk1KqnPltX/oZW 1DowlwSJCLewAkBo44mhJC6xz7mlPkYq7kKjku00ewYqKogB3v2iOvaKnvFXySezJduO H4etcPtehIWTbUxmB3eapDbNcb/z1jNrC7Yz/uBU+GARcggOFOOtVr80R/51Vc6OIg4u VY3QVAs7C5KRLEbQwoKiKPNFl4IPEJlv+6hVzP9PfAhzq9+qyMchF/3Id0MDS74SOPqi zc2nuvpKemImjNapI86HTO8UA7ai3GoH9jcGk3rNs9w9WpWvvJFwkBgpBTU6KTTBcQCi ZFbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si6078453edt.71.2021.10.20.23.11.49; Wed, 20 Oct 2021 23:12:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230000AbhJUGKk convert rfc822-to-8bit (ORCPT + 63 others); Thu, 21 Oct 2021 02:10:40 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:51993 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbhJUGKi (ORCPT ); Thu, 21 Oct 2021 02:10:38 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 19L68LHR0003189, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36503.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 19L68LHR0003189 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 21 Oct 2021 14:08:21 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36503.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Thu, 21 Oct 2021 14:08:20 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Thu, 21 Oct 2021 14:08:20 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::dc53:1026:298b:c584]) by RTEXMBS04.realtek.com.tw ([fe80::dc53:1026:298b:c584%5]) with mapi id 15.01.2308.015; Thu, 21 Oct 2021 14:08:20 +0800 From: Pkshih To: Kevin Lo , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH wireless-drivers-next] rtw89: remove duplicate register definitions Thread-Topic: [PATCH wireless-drivers-next] rtw89: remove duplicate register definitions Thread-Index: AQHXxj6wIjMkyAVetE2SoE0Gg3EjSqvc93yg Date: Thu, 21 Oct 2021 06:08:20 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS06.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?us-ascii?Q?Clean,_bases:_2021/10/21_=3F=3F_03:10:00?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36503.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 10/21/2021 05:53:23 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 166865 [Oct 20 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: pkshih@realtek.com X-KSE-AntiSpam-Info: LuaCore: 463 463 5854868460de3f0d8e8c0a4df98aeb05fb764a09 X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;realtek.com:7.1.1 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 10/21/2021 05:55:00 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: Kevin Lo > Sent: Thursday, October 21, 2021 1:44 PM > To: linux-wireless@vger.kernel.org > Cc: Pkshih > Subject: [PATCH wireless-drivers-next] rtw89: remove duplicate register definitions > > Remove duplicate register definitions. > > Signed-off-by: Kevin Lo Acked-by: Ping-Ke Shih > --- > diff --git a/drivers/net/wireless/realtek/rtw89/pci.h b/drivers/net/wireless/realtek/rtw89/pci.h > index 34333c441aea..20e6767ea5c4 100644 > --- a/drivers/net/wireless/realtek/rtw89/pci.h > +++ b/drivers/net/wireless/realtek/rtw89/pci.h > @@ -276,11 +276,6 @@ > #define B_AX_CH10_BUSY BIT(0) > > /* Configure */ > -#define R_AX_PCIE_INIT_CFG1 0x1000 > -#define B_AX_PCIE_RXRST_KEEP_REG BIT(23) > -#define B_AX_PCIE_TXRST_KEEP_REG BIT(22) > -#define B_AX_DIS_RXDMA_PRE BIT(2) > - > #define R_AX_PCIE_INIT_CFG2 0x1004 > #define B_AX_WD_ITVL_IDLE GENMASK(27, 24) > #define B_AX_WD_ITVL_ACT GENMASK(19, 16) > ------Please consider the environment before printing this e-mail.