
31 Aug
2011
31 Aug
'11
9:26 p.m.
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