sfc: Fix post-reset MAC selection
authorSteve Hodgson <shodgson@solarflare.com>
Thu, 29 Jan 2009 17:49:59 +0000 (17:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 22:06:30 +0000 (14:06 -0800)
commit0cc128387969753ae037401eb49e4bbb474186ea
treead4a6839c1089c7692090e057dfa5de58283cce2
parent2f08575389ac37ece5922094777442d8fdd8c00a
sfc: Fix post-reset MAC selection

Modify falcon_switch_mac() to always set NIC_STAT_REG, even if the the
MAC is the same as it was before.  This ensures that the value is
correct after an online reset.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon.c