]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
phylib: allow incremental scanning of an mii bus
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 26 Aug 2008 11:08:46 +0000 (13:08 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Fri, 19 Sep 2008 03:13:54 +0000 (05:13 +0200)
commit4fd5f812c23c7deee6425f4a318e85c317cd1d6c
treec554d67d67921e66516d978afc58878286b02966
parent4ff3495a51c7226376d8013c5742d1d5e54876a7
phylib: allow incremental scanning of an mii bus

This patch splits the bus scanning code in mdiobus_register() off
into a separate function, and makes this function available for
calling from external code.  This allows incrementally scanning an
mii bus, e.g. as information about which addresses are 'safe' to
scan becomes available.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Andy Fleming <afleming@freescale.com>
drivers/net/phy/mdio_bus.c
include/linux/phy.h