Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp83727rdb; Fri, 5 Jan 2024 03:39:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHYgYCADPBjNdNZtFlMv9KlPkK5ZVu8L0FP/YD+lxuLqpnIiDSUOd8GSgfQv+v/AaHcW7+ X-Received: by 2002:a05:6512:3d1b:b0:50e:7e1c:9049 with SMTP id d27-20020a0565123d1b00b0050e7e1c9049mr901667lfv.70.1704454748387; Fri, 05 Jan 2024 03:39:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704454748; cv=none; d=google.com; s=arc-20160816; b=Yl+EjjOtKQOBkIpCKI+MzQm0RdjfgTGsErDwpC35NOlvKj67OoMIyg4Zc9PDDMlKXn FCLn4uUuA5WjUXv5a2RlpbBCzA/zsxtP+oZoP9zGvHktXITQbylI8b9j47IG5eg7YeGz 2Cbbsoy9Nl9VYgCJApILigTDlLbVRhfFDnxclzElPqQKmE+gpIKRirhyZOARP70M2PlI gKaMJx+16m8YQwg59R+2df8Xr0xnU2PFiWZC0Azo63cDw6Tlucp5WRTS4+9rJ9x0HQwB o4a/YXI3N6mMRSm9ZnMPRpVRBK8ZofJNoYhFaZezrVSZt3LHTfihv9nTjgys6tzYCb7k dnnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=f/cA5O/5AuiUKHvP5fpfzucd6hnahhoqm/3ppdj9HGQ=; fh=J4St9tMjBInT3r1VVHSF1O7f2qS3KxSaZBHCVggmRHk=; b=uDY9lJeZWgouzVgDjt77GL3IySmo4spDHY/dOjZhwfdP+NUZlLTQSu8p2z97bcC1kH 1ELOjXZSK5Pvih3PVKLJPa9C0zxM+rUw5Ffy4NRBB9KmiKBYJ1V+EmzW4yQ2uu6wB+Uj XM5HHWVJ6CFx3RIb//nF3JmPcHXRDmEGbIrLnIo/4p4NkrKcOx3IssVgWXFQygGgE07d HDVTv5oaJsn8k6QI8SkLgxYvoapXNdIEUCULkC3t9C7f1aPWp/e2hGQia3zNgUsYhuei OZDyazholke/HiTEBpijYnLpB7k5opw1J112ENHASeG0nRaeflWaJZ1bSkCoy+EWdjx+ QNvQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17810-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a94-20020a509ee7000000b00550db8e77a1si548014edf.408.2024.01.05.03.39.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 03:39:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-17810-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17810-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E13561F239B6 for ; Fri, 5 Jan 2024 11:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E9372C868; Fri, 5 Jan 2024 11:38:56 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 976392D02A; Fri, 5 Jan 2024 11:38:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 405BcbQwB2342118, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 405BcbQwB2342118 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 5 Jan 2024 19:38:37 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Fri, 5 Jan 2024 19:38:38 +0800 Received: from RTDOMAIN (172.21.210.160) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 5 Jan 2024 19:38:37 +0800 From: Justin Lai To: CC: , , , , , , , , Justin Lai Subject: [PATCH net-next v16 12/13] realtek: Update the Makefile and Kconfig in the realtek folder Date: Fri, 5 Jan 2024 19:32:56 +0800 Message-ID: <20240105113257.381090-8-justinlai0215@realtek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240105113257.381090-1-justinlai0215@realtek.com> References: <20240105112811.380952-1-justinlai0215@realtek.com> <20240105113257.381090-1-justinlai0215@realtek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: RTEXH36505.realtek.com.tw (172.21.6.25) To RTEXDAG02.realtek.com.tw (172.21.6.101) X-KSE-ServerInfo: RTEXDAG02.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback 1. Add the RTASE entry in the Kconfig. 2. Add the CONFIG_RTASE entry in the Makefile. Signed-off-by: Justin Lai --- drivers/net/ethernet/realtek/Kconfig | 17 +++++++++++++++++ drivers/net/ethernet/realtek/Makefile | 1 + 2 files changed, 18 insertions(+) diff --git a/drivers/net/ethernet/realtek/Kconfig b/drivers/net/ethernet/realtek/Kconfig index 93d9df55b361..57ef924deebd 100644 --- a/drivers/net/ethernet/realtek/Kconfig +++ b/drivers/net/ethernet/realtek/Kconfig @@ -113,4 +113,21 @@ config R8169 To compile this driver as a module, choose M here: the module will be called r8169. This is recommended. +config RTASE + tristate "Realtek Automotive Switch 9054/9068/9072/9075/9068/9071 PCIe Interface support" + depends on PCI + select CRC32 + help + Say Y here if you have a Realtek Ethernet adapter belonging to + the following families: + RTL9054 5GBit Ethernet + RTL9068 5GBit Ethernet + RTL9072 5GBit Ethernet + RTL9075 5GBit Ethernet + RTL9068 5GBit Ethernet + RTL9071 5GBit Ethernet + + To compile this driver as a module, choose M here: the module + will be called rtase. This is recommended. + endif # NET_VENDOR_REALTEK diff --git a/drivers/net/ethernet/realtek/Makefile b/drivers/net/ethernet/realtek/Makefile index 2e1d78b106b0..0c1c16f63e9a 100644 --- a/drivers/net/ethernet/realtek/Makefile +++ b/drivers/net/ethernet/realtek/Makefile @@ -8,3 +8,4 @@ obj-$(CONFIG_8139TOO) += 8139too.o obj-$(CONFIG_ATP) += atp.o r8169-objs += r8169_main.o r8169_firmware.o r8169_phy_config.o obj-$(CONFIG_R8169) += r8169.o +obj-$(CONFIG_RTASE) += rtase/ -- 2.34.1