mv643xx_eth: add PHY-less mode
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 2 Jun 2008 00:13:03 +0000 (02:13 +0200)
committerLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Jun 2008 06:40:39 +0000 (08:40 +0200)
On some boards, the mv643xx_eth MAC isn't connected to a PHY but
directly (via the MII/GMII/RGMII interface) to another MAC-layer
device.  This patch allows specifying ->phy_addr = -1 to skip all
PHY-related initialisation and run-time poking in that case.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>

No differences found