summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-03-28 20:54:13 +0800
committerJoe Hershberger <joe.hershberger@ni.com>2018-04-13 15:47:38 -0500
commit8b203863560465f4dde981ecaa876e256e211017 (patch)
tree68220bbcba388db706edf3a0ee28fd1c6b05d81b /common
parent1bcabd79215ece91ee8f79e768c4886efae182ba (diff)
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: Peng Fan <peng.fan@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions