From: Michael Hennerich Date: Sun, 27 Jul 2008 14:45:05 +0000 (+0800) Subject: Blackfin EMAC Driver: Functional power management support X-Git-Tag: v2.6.27-rc2~102^2~21^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee02fee8f698aee72f43b3ee5fd818393b110402;p=linux-2.6 Blackfin EMAC Driver: Functional power management support Reprogram MAC address after resume from Suspend Mem (Blackfin Hibernate looses all CORE and SYSTEM register content) Signed-off-by: Michael Hennerich Signed-off-by: Bryan Wu Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index ab728006cf..70c465db17 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers/net/bfin_mac.c @@ -971,6 +971,7 @@ static int bfin_mac_open(struct net_device *dev) phy_start(lp->phydev); phy_write(lp->phydev, MII_BMCR, BMCR_RESET); setup_system_regs(dev); + setup_mac_addr(dev->dev_addr); bfin_mac_disable(); bfin_mac_enable(); pr_debug("hardware init finished\n");