Skip to content

Commit 4c82d7e

Browse files
committed
drivers: dsa_nxp_imx_netc: add tag protocol support
Added tag protocol support. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
1 parent 8fbb6c2 commit 4c82d7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ethernet/dsa/dsa_nxp_imx_netc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ static struct dsa_api dsa_netc_api = {
128128
.port_idx = DT_REG_ADDR(port), \
129129
.phy_dev = DEVICE_DT_GET_OR_NULL(DT_PHANDLE(port, phy_handle)), \
130130
.phy_mode = DT_PROP_OR(port, phy_connection_type, ""), \
131+
.tag_proto = DSA_TAG_PROTO_BY_DT(port), \
131132
.ethernet_connection = DEVICE_DT_GET_OR_NULL(DT_PHANDLE(port, ethernet)), \
132133
.prv_config = &dsa_netc_##n##_##port##_config, \
133134
}; \

0 commit comments

Comments
 (0)