From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AD6CC433EF for ; Tue, 12 Oct 2021 12:37:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2717060E74 for ; Tue, 12 Oct 2021 12:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236581AbhJLMjW (ORCPT ); Tue, 12 Oct 2021 08:39:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236485AbhJLMjK (ORCPT ); Tue, 12 Oct 2021 08:39:10 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8628CC061745 for ; Tue, 12 Oct 2021 05:37:08 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id i20so64030276edj.10 for ; Tue, 12 Oct 2021 05:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqrs.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p3lLzL0zqi6ZB5S4b/OIa/wFpOGvBCkD/ZfHBofiA8k=; b=LbkszwksaNpF82Q1xU5/HsCYEhQ13RRCJX3dQFLd8Sz5uWBTUhXNfXyLaKksTS926q H+VG8+Pa/hZJR+9+DfQqEh6nMm2KYzB0L6rxb70f+E6XHgsisYfmL1zbUGthgrGTgjt4 PG8LI2MGO/J+xmi8Q72o+SoCz49LipGYApkdw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p3lLzL0zqi6ZB5S4b/OIa/wFpOGvBCkD/ZfHBofiA8k=; b=VRLz51bKSCGgEl9G9RtXK+Dw4Blyq9XWYzISIP23fnJDbC+rdH5yWvuflECRNvPX9J bqJctZFwBiwihbVkGJfeHuBwMZEVJkX/P6ccl80oZ15h8JhJQfE+e4cWsOruNCUNzglL SHZOMyOavA1h1NgW5lNldo2X6a1qIK9abYVvpfOCzhYeLVfTXwX9do/zm5bCks1Qw0Bg 8AznRRq1HpboL4q1oDvIbyMYST/wK4SlvjY83oVKF0lmw6u/6j6xCCLBJl/PJ1XPPSa4 HaSlKBJifCoa86IUqwlE7eAVvWo7wIudSIVzYjB26hyQrFuTwmA/IzwgVanLPyVh880c avCQ== X-Gm-Message-State: AOAM533fjIKa7rNYl3xpr7UtALXFEsdQWsamnSM0+SDz4IudUYZG+t/v cEIyl/0o4WgkiO0UbZastvhvmw== X-Google-Smtp-Source: ABdhPJwBHd8wJ8UXxcJZ3TPmsZvxGvIxwCSCIyE209v0DNcA0MbXDfReG9g6XRgIh+aR/czDDt4Whw== X-Received: by 2002:a05:6402:3512:: with SMTP id b18mr39742155edd.15.1634042226811; Tue, 12 Oct 2021 05:37:06 -0700 (PDT) Received: from capella.. (27-reverse.bang-olufsen.dk. [193.89.194.27]) by smtp.gmail.com with ESMTPSA id b5sm5763629edu.13.2021.10.12.05.37.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 05:37:06 -0700 (PDT) From: =?UTF-8?q?Alvin=20=C5=A0ipraga?= To: Linus Walleij , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Heiner Kallweit , Russell King Cc: =?UTF-8?q?Alvin=20=C5=A0ipraga?= , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 2/6] net: dsa: move NET_DSA_TAG_RTL4_A to right place in Kconfig/Makefile Date: Tue, 12 Oct 2021 14:35:51 +0200 Message-Id: <20211012123557.3547280-3-alvin@pqrs.dk> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211012123557.3547280-1-alvin@pqrs.dk> References: <20211012123557.3547280-1-alvin@pqrs.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alvin Šipraga Move things around a little so that this tag driver is alphabetically ordered. The Kconfig file is sorted based on the tristate text. Suggested-by: Andrew Lunn Signed-off-by: Alvin Šipraga --- RFC -> v1: this patch is new net/dsa/Kconfig | 14 +++++++------- net/dsa/Makefile | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig index bca1b5d66df2..6c7f79e45886 100644 --- a/net/dsa/Kconfig +++ b/net/dsa/Kconfig @@ -92,13 +92,6 @@ config NET_DSA_TAG_KSZ Say Y if you want to enable support for tagging frames for the Microchip 8795/9477/9893 families of switches. -config NET_DSA_TAG_RTL4_A - tristate "Tag driver for Realtek 4 byte protocol A tags" - help - Say Y or M if you want to enable support for tagging frames for the - Realtek switches with 4 byte protocol A tags, sich as found in - the Realtek RTL8366RB. - config NET_DSA_TAG_OCELOT tristate "Tag driver for Ocelot family of switches, using NPI port" depends on MSCC_OCELOT_SWITCH_LIB || \ @@ -130,6 +123,13 @@ config NET_DSA_TAG_QCA Say Y or M if you want to enable support for tagging frames for the Qualcomm Atheros QCA8K switches. +config NET_DSA_TAG_RTL4_A + tristate "Tag driver for Realtek 4 byte protocol A tags" + help + Say Y or M if you want to enable support for tagging frames for the + Realtek switches with 4 byte protocol A tags, sich as found in + the Realtek RTL8366RB. + config NET_DSA_TAG_LAN9303 tristate "Tag driver for SMSC/Microchip LAN9303 family of switches" help diff --git a/net/dsa/Makefile b/net/dsa/Makefile index 67ea009f242c..f78d537044db 100644 --- a/net/dsa/Makefile +++ b/net/dsa/Makefile @@ -10,12 +10,12 @@ obj-$(CONFIG_NET_DSA_TAG_DSA_COMMON) += tag_dsa.o obj-$(CONFIG_NET_DSA_TAG_GSWIP) += tag_gswip.o obj-$(CONFIG_NET_DSA_TAG_HELLCREEK) += tag_hellcreek.o obj-$(CONFIG_NET_DSA_TAG_KSZ) += tag_ksz.o -obj-$(CONFIG_NET_DSA_TAG_RTL4_A) += tag_rtl4_a.o obj-$(CONFIG_NET_DSA_TAG_LAN9303) += tag_lan9303.o obj-$(CONFIG_NET_DSA_TAG_MTK) += tag_mtk.o obj-$(CONFIG_NET_DSA_TAG_OCELOT) += tag_ocelot.o obj-$(CONFIG_NET_DSA_TAG_OCELOT_8021Q) += tag_ocelot_8021q.o obj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o +obj-$(CONFIG_NET_DSA_TAG_RTL4_A) += tag_rtl4_a.o obj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja1105.o obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o obj-$(CONFIG_NET_DSA_TAG_XRS700X) += tag_xrs700x.o -- 2.32.0