mbox series

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

Message ID 20210419154659.44096-1-ilya.lipnitskiy@gmail.com (mailing list archive)
Headers show
Series net: ethernet: mediatek: support custom GMAC label | expand

Message

Ilya Lipnitskiy April 19, 2021, 3:46 p.m. UTC
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(-)