Skip to content
Commit 8b203863 authored by Peng Fan's avatar Peng Fan Committed by Joe Hershberger
Browse files

net: fec: set dev->seq to priv->dev_id



To platforms has two enet interface, using dev->seq could
avoid conflict.

i.MX6UL/ULL evk board net get the wrong MAC address from fuse,
eth1 get MAC0 address, eth0 get MAC1 address from fuse. Set the
priv->dev_id to device->seq as the real net interface alias id then
.fec_get_hwaddr() read the related MAC address from fuse.

Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 1bcabd79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment