linux-mips
[Top] [All Lists]

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

To: Florian Fainelli <ffainelli@freebox.fr>
Subject: Re: [PATCH 2/2] MIPS: add readl/write_be
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Tue, 15 Dec 2009 15:03:21 +0300
Cc: Geert Uytterhoeven <geert@linux-m68k.org>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, linux-mips@linux-mips.org, Maxime Bizon <mbizon@freebox.fr>, ralf@linux-mips.org
In-reply-to: <200912150144.04051.ffainelli@freebox.fr>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200912121757.56365.ffainelli@freebox.fr> <200912141802.13171.ffainelli@freebox.fr> <10f740e80912141105kcccb4e9y68cf47b35bb7a648@mail.gmail.com> <200912150144.04051.ffainelli@freebox.fr>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Hello.

Florian Fainelli wrote:

From: Florian Fainelli <ffainelli@freebox.fr>
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 <ffainelli@freebox.fr>
---

WBR, Sergei



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