]> git.karo-electronics.de Git - linux-beck.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)
commit32f160d96514a15cc52b708d8a8b9742bc3acd5d
tree69dd57a9b0da0751d1fbece1e844b21225868416
parenta9a8de214c91eecf596b3e79c7986b74ef17f4ec
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