linux-mips
[Top] [All Lists]

Re: [PATCH 02/15] net: au1000_eth: pass MACDMA address through platform

To: Manuel Lauss <manuel.lauss@googlemail.com>
Subject: Re: [PATCH 02/15] net: au1000_eth: pass MACDMA address through platform resource info.
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 2 Aug 2011 20:23:03 +0100
Cc: Linux-MIPS <linux-mips@linux-mips.org>
In-reply-to: <1312307470-6841-3-git-send-email-manuel.lauss@googlemail.com>
References: <1312307470-6841-1-git-send-email-manuel.lauss@googlemail.com> <1312307470-6841-3-git-send-email-manuel.lauss@googlemail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Aug 02, 2011 at 07:50:57PM +0200, Manuel Lauss wrote:

> This patch removes the last hardcoded base address from the au1000_eth
> driver.  The base address of the MACDMA unit was derived from the
> platform device id; if someone registered the MACs in inverse order
> both would not work.
> So instead pass the base address of the DMA unit to the driver with
> the other platform resource information.
> 
> Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
> Acked-by: David S. Miller <davem@davemloft.net>

Thanks, queued for 3.2.

  Ralf

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