From: Mike Frysinger Date: Wed, 29 Feb 2012 14:09:30 -0500 Subject: [U-Boot] [PATCH 1/7] net/designware: Fix to restore hw mac address In-Reply-To: <1330511846-1243-2-git-send-email-amit.virdi@st.com> References: <1330511846-1243-1-git-send-email-amit.virdi@st.com> <1330511846-1243-2-git-send-email-amit.virdi@st.com> Message-ID: <201202291409.33186.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 29 February 2012 05:37:20 Amit Virdi wrote: > 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. OK, but ... > --- a/drivers/net/designware.c > +++ b/drivers/net/designware.c > > + dw_write_hwaddr(dev); ... please add a comment above this line explaining why you must explicitly make this call -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: