NET: au1000-eth: Convert to platform_driver model
authorFlorian Fainelli <florian@openwrt.org>
Tue, 10 Nov 2009 00:13:38 +0000 (01:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:02 +0000 (12:53 +0100)
commitbd2302c220566cffd0756e1ac5f65705f9e3d8e7
tree1dbd2ff317b57fb5a918516df1952561ccdd6547
parent66f75ccb856304c190fde9c26e651c2b754e3e72
NET: au1000-eth: Convert to platform_driver model

This patch converts the au1000-eth driver to become a full platform-driver
as it ought to be. We now pass PHY-speficic configurations through
platform_data but for compatibility the driver still assumes the default
settings (search for PHY1 on MAC0) when no platform_data is passed. Tested
on my MTX-1 board.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: netdev@vger.kernel.org
Acked-by: David S. Miller <davem@davemloft.net>
Patchwork: http://patchwork.linux-mips.org/patch/619/
Patchwork: http://patchwork.linux-mips.org/patch/963/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/net/au1000_eth.c
drivers/net/au1000_eth.h