net/designware: Fix to restore hw mac address
authorVipin KUMAR <vipin.kumar@st.com>
Mon, 26 Mar 2012 00:09:52 +0000 (00:09 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Apr 2012 15:46:39 +0000 (10:46 -0500)
commitc7f6dbe736f3f57436ba162f986691f7e862eb4d
treedc27cdd5e73f30f91f8ba4e24d3e82840c558a4c
parent3ceecef14e2258157c846b3aaa26d7cdcd833b05
net/designware: Fix to restore hw mac address

The network controller mac resets hardware address stored in MAC_HI and MAC_LO
registers if mac is resetted. So, hw mac address needs to be restored in case
mac is explicitly resetted from driver.

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
drivers/net/designware.c