Re: [U-Boot] [PATCH 3/5] net: fec: set dev->seq to priv->dev_id

2018-03-19 Thread Joe Hershberger
On Fri, Mar 9, 2018 at 7:19 PM, Peng Fan wrote: > 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

[U-Boot] [PATCH 3/5] net: fec: set dev->seq to priv->dev_id

2018-03-09 Thread Peng Fan
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