net/macb: clear unused address register
authorJoachim Eastwood <manabian@gmail.com>
Sun, 11 Nov 2012 13:56:28 +0000 (13:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2012 23:51:03 +0000 (18:51 -0500)
commit3629a6cebcdcfe16f3dbbffcaab25583285a7125
tree3b9a312a6c9919e5f1fd0305a0f09aec1a9d8108
parent2dbfdbb912c4b53f022649a7affb0691da1e9bc4
net/macb: clear unused address register

Only the first register set is used for matching but
we support getting the initial hw addr from any of
the registers.

To prevent stale entries and false matches clear unused
register sets. This most important for the at91_ether
driver where u-boot always uses the 2nd register set.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h