OSDN Git Service

net: dsa: move NET_DSA_TAG_RTL4_A to right place in Kconfig/Makefile
authorAlvin Šipraga <alsi@bang-olufsen.dk>
Mon, 18 Oct 2021 09:37:58 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Oct 2021 13:02:55 +0000 (14:02 +0100)
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 <andrew@lunn.ch>
Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/Kconfig
net/dsa/Makefile

index d8ee15f..3a09784 100644 (file)
@@ -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"
        select PACKING
@@ -126,6 +119,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
index 67ea009..f78d537 100644 (file)
@@ -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