MLK-14772 net: fec: set the device->seq id to priv->dev_id
authorFugang Duan <fugang.duan@nxp.com>
Fri, 12 May 2017 07:58:56 +0000 (15:58 +0800)
committerFugang Duan <fugang.duan@nxp.com>
Fri, 12 May 2017 08:09:00 +0000 (16:09 +0800)
commit530a9418ddbd1a4a3ca664fe911e630026e32dfb
treef850694e90bf65430713b20fa1491bbb64352da2
parent3635582cf81fd59f71b714c37a50abce56973ef2
MLK-14772 net: fec: set the device->seq id to priv->dev_id

i.MX6UL/ULL evk board net get the wrong MAC address from fuse, exp,
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: Fugang Duan <fugang.duan@nxp.com>
drivers/net/fec_mxc.c