Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp898133lqt; Fri, 7 Jun 2024 01:52:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHO4+hLocHYqHAQQMnMpxK3kf+JIWRk5XTgXgBw4vEnrIozkmCzQdOKVFrlhSGPL57OcvwO8gHHt2m9O0OeS3QNgL0tsB3NQWr5xAoUw== X-Google-Smtp-Source: AGHT+IHh85NWMW9lqmvqF95YBUzi9CBK9zGog1wKgXEIHfzYgXGbwikjICyV3H5rFNzG+VxfVfcU X-Received: by 2002:a05:6358:4327:b0:186:5c1:1dd1 with SMTP id e5c5f4694b2df-19f1feb7303mr278746455d.19.1717750345585; Fri, 07 Jun 2024 01:52:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717750345; cv=pass; d=google.com; s=arc-20160816; b=JkDte04dF+Fz9BgohC30J0642a6oWZ51PV6uavZvXDyB407kJvQvmZ/d4vwFpP/2Oy gWTqRaQaBWFZ0fCZG0PHW7hXGBnk756M7qRL7lVYX1k2tZK9n2v+M+a+A2ywMTH7/IPU EkXUWTIK/D7+ru5KcKvssIJEtTkuKPo0CMTpfieKX+5dqALb4AEy3aI43HlWgh5sjuG5 l+lU9F7dwRTgCpByJDcR+5gzz1/c9lxaUW1RHRn23wIRBKdUNyuMRNXRfdR5fpxQdu55 ofqhlHi3XHqFSttFeo3yaygZOyx72MSpgJzlY8/kLPNQyPFY9bsDP5rtpPmtBERZSEjW fybQ== 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=PN6k/8CeB702Sd/LAfLKxz1dqk6pqq8TkfHKaFIHpHqCFzZB3EwDHHkkNzmn5Yn0a9 IF1mwQMdjAWr/dXHnY9m4PIiejeA6JeY+jYbWtXo6qVtkdJ2syL3g0YlppGb3sp2URY5 6MDRdEFyFCXh6aqJDXgbG8BK6YBLxmzG+gjJukSsCohrlToniTxikfkyNvYKIo5eJd5Z yTKJqMkqAlMPUZwhjWj89gr+FmYiw41//sBJO0XNFVC5+6Gimm4yYVJ7CaaeQ6A0UsiD 9UYen4uxx2QOK1KqBYdIsoHVngZmwH7zf1Tfza/WycY4KaBRcfFGfoWe3WwSth9xbSNn v2Zg==; 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-205647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205647-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e38c390a1asi534404a12.225.2024.06.07.01.52.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 01:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-kernel+bounces-205647-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205647-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 59BA6286619 for ; Fri, 7 Jun 2024 08:52:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9FE9E15B145; Fri, 7 Jun 2024 08:51:41 +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 C581747A6B; Fri, 7 Jun 2024 08:51:39 +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=1717750301; cv=none; b=B00aijXjjzNWz+HzQxB27Fayf4rPwpmHwFpumluINkR+17hDQjxdKhfSs4HYqW4If0Tw+az03/JQZnKIAWEuo2LcOva9yjAL0ohaWXGF+EVHQnd4vRodsZClWrf72XUTsAOFcInvxSKYZWrszeF+m+bEeFKkqakc/9LCUjdZ0Po= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717750301; c=relaxed/simple; bh=lL6XwdZJ4/NSnyTZr5wjeCiLPkV47JPaGNNKpbRUVio=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ScMDR/QCPhoxT8zEScA+4vfrwkFGJOlg//aUdXde9krGyc5ZDX1cowULjkm6pwY4ObuIx8vFipLPLznKm95VmjsGm1l13HqXky9zUgDL0FwyOwyba56n32eKgCWbvO/bQFVtwoyabVt4doZoBAXrQ3xY014yCoZ+Q2qjg9hheYw= 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 4578pInyD3819922, 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 4578pInyD3819922 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 7 Jun 2024 16:51:18 +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, 7 Jun 2024 16:51:18 +0800 Received: from RTDOMAIN (172.21.210.98) 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, 7 Jun 2024 16:51:18 +0800 From: Justin Lai To: CC: , , , , , , , , , , , Justin Lai Subject: [PATCH net-next v20 12/13] realtek: Update the Makefile and Kconfig in the realtek folder Date: Fri, 7 Jun 2024 16:43:20 +0800 Message-ID: <20240607084321.7254-13-justinlai0215@realtek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240607084321.7254-1-justinlai0215@realtek.com> References: <20240607084321.7254-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