Messages in this thread | | | Date | Thu, 26 Feb 2015 11:47:34 +0100 | From | Michal Simek <> | Subject | Re: [PATCH] net: macb: Add big endian CPU support |
| |
Hi Arun,
On 02/26/2015 11:44 AM, Arun Chandran wrote: > This patch converts all __raw_readl and __raw_writel function calls > to their corresponding readl_relaxed and writel_relaxed variants. > > It also tells the driver to set ahb_endian_swp_mgmt_en bit in dma_cfg > when the CPU is configured in big endian mode. > > Signed-off-by: Arun Chandran <achandran@mvista.com> > --- > This patch is tested on xilinx ZC702 evaluation board with > CONFIG_CPU_BIG_ENDIAN=y and booting NFS rootfs > Added on the fly IP endianness detection according to > comments from Michal Simek. > Corrected GEM_* macros as per comments from Nicolas Ferre > --- > --- > drivers/net/ethernet/cadence/macb.c | 32 ++++++++++++++++++++++++++------ > drivers/net/ethernet/cadence/macb.h | 18 ++++++++++-------- > 2 files changed, 36 insertions(+), 14 deletions(-) >
Can you please send regular v3 and list all changes you have done?
Thanks, Michal
-- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
[unhandled content-type:application/pgp-signature] | |