]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd04fa331369c43228b622a0c07f2a7c50891a6a0
treead4a6839c1089c7692090e057dfa5de58283cce2
parentd3670e689b8f703cd78f548fe560c3bb5683f7ba
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