[U-Boot] [PATCH v2] net: ll_temac: Add LL TEMAC driver to u-boot
Mike Frysinger
vapier at gentoo.org
Wed Aug 31 21:26:27 CEST 2011
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
More information about the U-Boot
mailing list