]> git.baikalelectronics.ru Git - kernel.git/commit
KSZ8851-SNL: Fix MAC address change problem
authorTristram Ha <Tristram.Ha@micrel.com>
Mon, 21 Nov 2011 08:57:59 +0000 (08:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 19:59:39 +0000 (14:59 -0500)
commit8efa6037529c53362c82297a2f0aa8a3c3ba4312
tree69dd57a9b0da0751d1fbece1e844b21225868416
parent8b1d9f8221bc4fd44fd1622b765b4dfe29e78141
KSZ8851-SNL: Fix MAC address change problem

When device is off it is under power saving mode. Changing the MAC address
in that situation will result in the device not communicating as the first
write to the MAC address register is not executed.

Signed-off-by: Tristram Ha <Tristram.Ha@micrel.com>
[ben@simtec.co.uk: cleaned up header]
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851.c
drivers/net/ethernet/micrel/ks8851.h