[Top] [All Lists]

Re: [PATCH 2/2] MIPS: add readl/write_be

To: Florian Fainelli <>
Subject: Re: [PATCH 2/2] MIPS: add readl/write_be
From: Sergei Shtylyov <>
Date: Tue, 15 Dec 2009 15:03:21 +0300
Cc: Geert Uytterhoeven <>, Thomas Bogendoerfer <>,, Maxime Bizon <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Thunderbird (Windows/20090812)

Florian Fainelli wrote:

From: Florian Fainelli <>
Subject: [PATCH v3] MIPS: add readl/write_be accessors

MIPS currently lacks the readl_be and writel_be accessors
which are required by BCM63xx for OHCI and EHCI support.
Let's define them globally for MIPS. This also fixes the
compilation of the bcm63xx defconfig against USB.

Changes from v2:
- fixed the be/cpu endianness inversion

Changes from v1:
- make it work on little-endian machines
- protect macros arguments with parenthesis

You should have put the description of changes under --- tearline, not in the patch description itself.

Signed-off-by: Florian Fainelli <>

WBR, Sergei

<Prev in Thread] Current Thread [Next in Thread>