[U-Boot] [PATCH 7/9][v2] net: tsec: Use portable types and accessors for BDs

Timur Tabi
2013-10-05T14:31:40Z

On Fri, Oct 4, 2013 at 11:25 AM, Claudiu Manoil
<claudiu.manoil@freescale.com> wrote:

> [v3] declaring the BDs as __iomem to avoid casting submitted:
> http://patchwork.ozlabs.org/patch/280664/

+ out_be32(&regs->tbase, (u32)&txbd[0]);
+ out_be32(&regs->rbase, (u32)&rxbd[0]);

&rxbd[0] is a virtual address.

Doesn't rbase require a physical address? You're assuming that virt == phys.