commit | 17b8bb3e209d3681e9c94786de845f0d5118eebb | [log] [tgz] |
---|---|---|
author | Joachim Eastwood <manabian@gmail.com> | Wed Nov 07 08:14:50 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 07 17:44:37 2012 -0500 |
tree | 87c3272b9d08070e975213ab7ba8eb342d10a32d | |
parent | 01cbc1a717fe1c041c70a702d1a1a397104d51fa [diff] |
net/macb: check all address registers sets The macb driver in u-boot uses the first register set while the at91_ether driver in u-boot uses the second register set. By checking all register set, like at91_ether does, this code can be shared between the drivers. This only changes behavior on macb if no vaild address is found in the first register set. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>