Hi Robert

I think you can split this into three patches, in order to make it
easier to review:

IO accessors
skb in the control block
MDIO changes.

>  static inline u32 axienet_ior(struct axienet_local *lp, off_t offset)
>  {
> -     return in_be32(lp->regs + offset);
> +#ifdef CONFIG_MICROBLAZE
> +     return __raw_readl(lp->regs + offset);
> +#else
> +     return ioread32(lp->regs + offset);
> +#endif
>  }

Please dig deeper into the available accessor functions. There should
be a set which works without this #defery. 

   Andrew

Reply via email to