Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp781649lqo; Fri, 17 May 2024 01:00:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhVkrtB8nzageLijrEslcFH+onI+tWa6DTFTAgtqhLdLxZ+cR8q6REZNgYT5Xh+SNarPbjb19P8nYThD2nS3cCYjorsr03MMr/RUfWMg== X-Google-Smtp-Source: AGHT+IE8WRL3MaxNRlge2qkMGNi+cP351o3clpw/dgjTwnKTAt3uqkPH0sWrGjLyscN17T6IhpYl X-Received: by 2002:ac2:4e14:0:b0:522:4062:6e79 with SMTP id 2adb3069b0e04-52240626f95mr13750006e87.31.1715932848520; Fri, 17 May 2024 01:00:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715932848; cv=pass; d=google.com; s=arc-20160816; b=h77VlkkvJgl1h9MJyQElZ/lchq/8SCgFqxCEDSltmK3L8wGZiBXhlVWZcnzO4voZxM n7ze/ZvQDrVnH5rb7XOaN+DpV766LkdSP1abgHuseOwb2h8HHozdQed7pMpQIc3DdOi7 DB0KZzirhsEkMFzj3o1GHy+6dTaq2u/Szja5h9QvIYI/ajzn6QLJ+C4QPjLD/dNFw14J 9W9qjHjLC+x+vjFOiAJG6NZ9fu7xSvawYpYUq/xtYvmIDXPTgNiQQe7Qo+SH3Tu5o8ks yG2v0zysU2jJfessAPLOpjB4g9vgESXOWXbRwjsbDujwm2puWB15eoC5eh/xRKQH4N9I lPSg== ARC-Message-Signature: i=2; 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=+8n0+PnV1ZDuI3ItEBYRm8kBdnxjyBCyGqq6yOiu6Ko=; fh=HTx+hWhxW7A9pmX86MXapJNyGhFtaRFzfw4H4nFStD4=; b=KDvuzXUnXwOURdVGVYtrffWcH0a+PrSiVjzNe8dctk1yaMTEZ8xTcBKdn0XyiCxlVO v9tlqHGA6lZKoyEYOR27exwy2yTeIu8rgl+H9EW2+Dq85Gjpj+sooisNumOadCFLWLZu Eov4i2oDsCDUUMsE0hGROdgK//0KZUWFIbvStrpzvEv5C67Q5d4Wba5dw8dfqPfCXwJN 6eoxVEUAkX9xyksbQTFo7pLaPquoBz1jjTSa9+1eQ9nPx4gnn+mQ+LiLdjB76UpgaFhq Pkq36I1UzMEGxhayhZuSTYyOZKo3NQkMjYnDBK7tlr1mxHARLO88tk20HP34i7Cx7qX1 e4ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-kernel+bounces-181836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181836-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 a640c23a62f3a-a5a17be688fsi954362766b.787.2024.05.17.01.00.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 01:00:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181836-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; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-kernel+bounces-181836-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181836-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 3C16F1F218FA for ; Fri, 17 May 2024 08:00:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1C3B210E9; Fri, 17 May 2024 07:59:49 +0000 (UTC) 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 1AA3718EAF; Fri, 17 May 2024 07:59:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715932789; cv=none; b=JK9dLgB1H75T30TjBq3CbmJDCC3m0FrpI1TguSuIjTbIyjKqWvukAzN/IzhxbkWE9R5cfqZupTLBls/GqSEK/s/xjNMjABTrhukvfiEGaVWVgKhmbK7VgP8hPe/r/xT2KZPs6eA5NYII0nz86MLiwz3S6XbmQXuIRnGbLpG//AU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715932789; c=relaxed/simple; bh=lL6XwdZJ4/NSnyTZr5wjeCiLPkV47JPaGNNKpbRUVio=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pX1AJR8i8ShpUFXMgMxfvr2BfOAzHQ/UtqTU26o5CeKO11yMLkUvS+/I9qV52U+/RF/z8OjbXPJoO7GoVrGt0a4FFWhDBoYwKknPdek0aXBHe6mEFYudGsTvPVp6zq9e8ZUxxZo93A20B00nJ4JN8SqLi34XT6+B9WxTuJJLueI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 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 44H7xRj952161543, 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 44H7xRj952161543 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 May 2024 15:59:28 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 17 May 2024 15:59:27 +0800 Received: from RTDOMAIN (172.21.210.160) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 17 May 2024 15:59:26 +0800 From: Justin Lai To: CC: , , , , , , , , , , , Justin Lai Subject: [PATCH net-next v19 12/13] realtek: Update the Makefile and Kconfig in the realtek folder Date: Fri, 17 May 2024 15:53:01 +0800 Message-ID: <20240517075302.7653-13-justinlai0215@realtek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240517075302.7653-1-justinlai0215@realtek.com> References: <20240517075302.7653-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: RTEXH36506.realtek.com.tw (172.21.6.27) To RTEXMBS04.realtek.com.tw (172.21.6.97) 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 | 19 +++++++++++++++++++ drivers/net/ethernet/realtek/Makefile | 1 + 2 files changed, 20 insertions(+) diff --git a/drivers/net/ethernet/realtek/Kconfig b/drivers/net/ethernet/realtek/Kconfig index 03015b665f4e..8a8ea51c639e 100644 --- a/drivers/net/ethernet/realtek/Kconfig +++ b/drivers/net/ethernet/realtek/Kconfig @@ -120,4 +120,23 @@ config R8169_LEDS Optional support for controlling the NIC LED's with the netdev LED trigger. +config RTASE + tristate "Realtek Automotive Switch 9054/9068/9072/9075/9068/9071 PCIe Interface support" + depends on PCI + select CRC32 + select PAGE_POOL + help + Say Y here and it will be compiled and linked with the kernel + 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 635491d8826e..046adf503ff4 100644 --- a/drivers/net/ethernet/realtek/Makefile +++ b/drivers/net/ethernet/realtek/Makefile @@ -9,3 +9,4 @@ obj-$(CONFIG_ATP) += atp.o r8169-y += r8169_main.o r8169_firmware.o r8169_phy_config.o r8169-$(CONFIG_R8169_LEDS) += r8169_leds.o obj-$(CONFIG_R8169) += r8169.o +obj-$(CONFIG_RTASE) += rtase/ -- 2.34.1