linux-mips
[Top] [All Lists]

Re: [PATCH] net: au1000_eth: add MACDMA to platform resource info.

To: manuel.lauss@googlemail.com
Subject: Re: [PATCH] net: au1000_eth: add MACDMA to platform resource info.
From: David Miller <davem@davemloft.net>
Date: Fri, 20 May 2011 14:56:04 -0400 (EDT)
Cc: ralf@linux-mips.org, netdev@vger.kernel.org, linux-mips@linux-mips.org
In-reply-to: <1305916865-14038-1-git-send-email-manuel.lauss@googlemail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1305916865-14038-1-git-send-email-manuel.lauss@googlemail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Fri, 20 May 2011 20:41:05 +0200

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

Acked-by: David S. Miller <davem@davemloft.net>

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