mpc52xx_psc.h
Grant Likely
grant.likely at secretlab.ca
Thu Jun 12 11:35:59 EST 2008
On Wed, Jun 11, 2008 at 3:05 PM, Jon Smirl <jonsmirl at gmail.com> wrote:
> Why was the fifo struct separated from the psc struct for the 5200?
>
> I see comments like this now:
> /* On the 5200, fifo regs are immediately adjacent to the psc regs */
> mps->fifo = ((void __iomem *)mps->psc) + sizeof(struct mpc52xx_psc);
>
> Couldn't the fifo struct be a member at the end of the psc struct?
The mpc5121 uses the same PSC register structure, but the fifo regs
are no longer adjacent.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev
mailing list