[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190531211043.GD3154@lunn.ch>
Date: Fri, 31 May 2019 23:10:43 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Robert Hancock <hancock@...systems.ca>
Cc: netdev@...r.kernel.org, anirudh@...inx.com, John.Linn@...inx.com
Subject: Re: [PATCH net-next 01/13] net: axienet: Fixed 64-bit compile,
enable build on X86 and ARM
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
Powered by blists - more mailing lists