[PATCH net-next v2 0/2] net: ethernet: mediatek: support custom GMAC label

From: Ilya Lipnitskiy
Date: Mon Apr 19 2021 - 11:47:10 EST


Add support for specifying GMAC label via DTS. Useful when it is desired
to use a master DSA interface name that is different from the "eth%d"
pattern.

v2:
- Use alloc_netdev instead of alloc_etherdev followed by rename

Ilya Lipnitskiy (2):
dt-bindings: net: mediatek: add optional GMAC labels
net: ethernet: mediatek: support custom GMAC label

Documentation/devicetree/bindings/net/mediatek-net.txt | 6 ++++++
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 6 ++++--
2 files changed, 10 insertions(+), 2 deletions(-)

--
2.31.1