]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commitbedfe3248efd070acd97d44d8c58cf82d7ebe7c4
tree4c5733c282c9c4b57719307cf4d3b298b980339a
parent12e4ab79cd828563dc090d2117dc8626b344bc8f
mv643xx_eth: add PHY-less mode

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>
drivers/net/mv643xx_eth.c