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

Andrew Lunn andrew at lunn.ch
Tue Apr 20 02:22:13 BST 2021


On Mon, Apr 19, 2021 at 08:46:59AM -0700, Ilya Lipnitskiy wrote:
> The MAC device name can now be set within DTS file instead of always
> being "ethX". This is helpful for DSA to clearly label the DSA master
> device and distinguish it from DSA slave ports.
> 
> For example, some devices, such as the Ubiquiti EdgeRouter X, may have
> ports labeled ethX. Labeling the master GMAC with a different prefix
> than DSA ports helps with clarity.
> 
> Suggested-by: René van Dorst <opensource at vdorst.com>
> Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy at gmail.com>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the Linux-mediatek mailing list