Skip to content
Commit 553737aa authored by Manuel Lauss's avatar Manuel Lauss Committed by Ralf Baechle
Browse files

NET: au1000_eth: Pass MACDMA address through platform resource info.



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: default avatarManuel Lauss <manuel.lauss@googlemail.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2674/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 08fa624f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment