linux-mips
[Top] [All Lists]

Re: [PATCH v2] MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSE

To: Florian Fainelli <florian@openwrt.org>
Subject: Re: [PATCH v2] MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 16 Mar 2010 15:03:28 +0100
Cc: linux-mips@linux-mips.org, peter fuerst <post@pfrst.de>
In-reply-to: <201003100951.10028.florian@openwrt.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <201003100951.10028.florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
On Wed, Mar 10, 2010 at 09:51:09AM +0100, Florian Fainelli wrote:

> On AR7, we already redefine PHYS_OFFSET to match the system specifities, it is
> however not sufficient when unsing dma_{map,unmap}_single, specifically in the
> Ethernet driver, we must also adjust CAC_ADDR and UNCAC_ADDR for DMA to work
> correctly. This patch fixes the following issue, seen in cpmac_open:

Thanks, applied.

  Ralf

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