developer | 69bcd59 | 2024-03-25 14:26:39 +0800 | [diff] [blame^] | 1 | Index: linux-5.4.238/net/dsa/Makefile |
| 2 | =================================================================== |
| 3 | --- linux-5.4.238.orig/net/dsa/Makefile 2023-12-09 09:43:04.335694000 +0800 |
| 4 | +++ linux-5.4.238/net/dsa/Makefile 2023-12-09 10:24:27.672514000 +0800 |
| 5 | @@ -16,3 +16,4 @@ |
| 6 | obj-$(CONFIG_NET_DSA_TAG_QCA) += tag_qca.o |
| 7 | obj-$(CONFIG_NET_DSA_TAG_SJA1105) += tag_sja1105.o |
| 8 | obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o |
| 9 | +obj-$(CONFIG_NET_DSA_TAG_AIROHA) += tag_arht.o |
| 10 | Index: linux-5.4.238/net/dsa/Kconfig |
| 11 | =================================================================== |
| 12 | --- linux-5.4.238.orig/net/dsa/Kconfig 2023-12-09 09:43:04.332694000 +0800 |
| 13 | +++ linux-5.4.238/net/dsa/Kconfig 2023-12-09 10:26:13.596504000 +0800 |
| 14 | @@ -74,6 +74,12 @@ |
| 15 | Say Y or M if you want to enable support for tagging frames for |
| 16 | Mediatek switches. |
| 17 | |
| 18 | +config NET_DSA_TAG_AIROHA |
| 19 | + tristate "Tag driver for Airoha switches" |
| 20 | + help |
| 21 | + Say Y or M if you want to enable support for tagging frames for |
| 22 | + Airoha switches. |
| 23 | + |
| 24 | config NET_DSA_TAG_KSZ |
| 25 | tristate "Tag driver for Microchip 8795/9477/9893 families of switches" |
| 26 | help |
| 27 | Index: linux-5.4.238/include/net/dsa.h |
| 28 | =================================================================== |
| 29 | --- linux-5.4.238.orig/include/net/dsa.h 2023-12-09 09:43:17.940694000 +0800 |
| 30 | +++ linux-5.4.238/include/net/dsa.h 2023-12-09 10:30:06.432504000 +0800 |
| 31 | @@ -43,6 +43,7 @@ |
| 32 | #define DSA_TAG_PROTO_SJA1105_VALUE 13 |
| 33 | #define DSA_TAG_PROTO_KSZ8795_VALUE 14 |
| 34 | #define DSA_TAG_PROTO_RTL4_A_VALUE 17 |
| 35 | +#define DSA_TAG_PROTO_ARHT_VALUE 28 |
| 36 | |
| 37 | enum dsa_tag_protocol { |
| 38 | DSA_TAG_PROTO_NONE = DSA_TAG_PROTO_NONE_VALUE, |
| 39 | @@ -61,6 +62,7 @@ |
| 40 | DSA_TAG_PROTO_SJA1105 = DSA_TAG_PROTO_SJA1105_VALUE, |
| 41 | DSA_TAG_PROTO_KSZ8795 = DSA_TAG_PROTO_KSZ8795_VALUE, |
| 42 | DSA_TAG_PROTO_RTL4_A = DSA_TAG_PROTO_RTL4_A_VALUE, |
| 43 | + DSA_TAG_PROTO_ARHT = DSA_TAG_PROTO_ARHT_VALUE, |
| 44 | }; |
| 45 | |
| 46 | struct packet_type; |