From: Mike Frysinger Date: Wed, 31 Aug 2011 15:26:27 -0400 Subject: [U-Boot] [PATCH v2] net: ll_temac: Add LL TEMAC driver to u-boot In-Reply-To: <1314705919-4237-1-git-send-email-monstr@monstr.eu> References: <1314705919-4237-1-git-send-email-monstr@monstr.eu> Message-ID: <201108311526.27959.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 Tuesday, August 30, 2011 08:05:18 Michal Simek wrote: > + volatile struct temac_reg *regs = priv->regs; > + > + regs->lsw = (phy_addr << 5) | reg_addr; > + regs->ctl = MIIMAI | (emac << 10); you should still be going through read/write i/o helper funcs rather than relying on the volatile markings the rest looks sane -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 : http://lists.denx.de/pipermail/u-boot/attachments/20110831/8aa274b5/attachment.pgp