Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp472112lqo; Wed, 8 May 2024 05:47:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWg8WkEDJA6fMNpjsB4wKJBKAiUrjepkHDC4twKTOO0JN9s10CbvfOpacaIxmRQLLCGEEdIQnfPT+Vtxm+cQpqhcr1zMYf1hLQGdno4Mg== X-Google-Smtp-Source: AGHT+IHWsUznYqc++zrF6z/RLbtyc++wEaBALYbLIPPtI2BKWgGefnBCm5Q/WHs0zb1AlRXVuULM X-Received: by 2002:a17:906:d297:b0:a59:cb67:ceb9 with SMTP id a640c23a62f3a-a59fb96b7ecmr160011466b.35.1715172473291; Wed, 08 May 2024 05:47:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715172473; cv=pass; d=google.com; s=arc-20160816; b=Mjlz2dkC2ExWMdOYyg2q1Wld5OwVi8v/4BTU814z4jbjbZBYn6d6Lt+0ZF026ElUah 2rDovOyDvjV2dQQDuwEytfRyLie2w5p3OCc0lhBrDzuYJDp10xznbAyfM2ohWIE17TUO SQPoY93cU9/8+GcIqIvk6OoHpVmL1hwXPoUx6/Y+hc0kldYOsDsxS1tsGceXG8sgayYM G1U8RG67rWPozdO4YCV1UYC0azbK/wQ0q535XCIRWnCpYXO+UW69rkpyIZdSEmcID11c cn3oohJdiks1q0IEldefiPkxFK+NoBOq31JIWCDw8AZwav8EgPuMtoAtMiO+sXzQf4nc L6jA== 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=dvR/tTWg2OfrU+TdVNug7ZowrURi76OJYRbHXzqKj5w=; b=Cy9a8aD+Y+yTVdpfuMBXFGZaioQ+iVUcsHfpv4r2KZ21o5BWryyiivrH2ypAjizK4g k0myCF+pnwHb0hOHA+g+woMQq/287YRSDCMFcskKYE/Nnu0khxh3b2vCJmZzwyoF5bn9 gNrmNGhFAevQBV0XYvd72omReHpkswXkdir1yK+K7PjA1E1sQ5m0UsxBzfpabneslhBh +CtWvphb4K3/CrgXmZtVwLrRkF/nOTmmH3ntpy3eFr6TYz0GL4uJzA+9LPH8LKOFtw5M MBzlGWkwvzaMg3+Bnu/FfqxvjrolywAGJh4jUmUw++oQQHdT7Lgj7YcAVyD1PwxJSA6x PfSQ==; 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-173250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173250-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 jr4-20020a170906a98400b00a59c29111edsi4280378ejb.292.2024.05.08.05.47.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 05:47:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173250-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-173250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173250-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 0C2CD1F220E2 for ; Wed, 8 May 2024 12:47:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C93BD56470; Wed, 8 May 2024 12:47:43 +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 0EB0350A7E; Wed, 8 May 2024 12:47:41 +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=1715172463; cv=none; b=r+AbZTPh0oGhV3efuX3i+7+No1Pkbb2tsE0pZbG557YS680YKPpQLuhfi2pplhS5UQYukKTGj8LRCehdBsWCEZGo3an623nxnzyQDnjThTg3U/CaJ7NRrCSPVTYXr2aQilUNX/LLbjrotzt4ycrqokxSe8ehlt5KwtN4sDmx528= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715172463; c=relaxed/simple; bh=lL6XwdZJ4/NSnyTZr5wjeCiLPkV47JPaGNNKpbRUVio=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dJv1Yv2A+p84IJWCaz2rfOnmSr7EzKeJGlTYlcA1Sv/PqfkMVhsHabLhXhzuEqvQndmF20za/cHsBtt2uHLBxY4YCzx6xYOzvxMuc9be26KyUcprj8lRdwYbCiWCUSpCn02URm1u8Sb/ke27n1uvQnP9WBjwtbjFpZlg1/O7i7Q= 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 448ClMYx9469496, 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 448ClMYx9469496 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 May 2024 20:47:22 +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.35; Wed, 8 May 2024 20:47:23 +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; Wed, 8 May 2024 20:47:20 +0800 From: Justin Lai To: CC: , , , , , , , , , , Justin Lai Subject: [PATCH net-next v18 12/13] realtek: Update the Makefile and Kconfig in the realtek folder Date: Wed, 8 May 2024 20:39:44 +0800 Message-ID: <20240508123945.201524-13-justinlai0215@realtek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240508123945.201524-1-justinlai0215@realtek.com> References: <20240508123945.201524-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 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