]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] phy address mask support for generic phy layer
authorMatt Porter <mporter@kernel.crashing.org>
Wed, 2 Nov 2005 23:13:06 +0000 (16:13 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 5 Nov 2005 19:40:55 +0000 (14:40 -0500)
commitf896424cbc61225e8f029fe23e5aae3e32103229
treeabfc35832b8bbd3a66b38db6dfc5d6705103436f
parent4371dc6c60705815dcfe0c2979f68a26d0b27bd4
[PATCH] phy address mask support for generic phy layer

Adds a phy_mask field to struct mii_bus and uses it.  This field
indicates each phy address to be ignored when probing the mdio bus.

This support is needed for the fs_enet and ibm_emac drivers to be
converted to the generic phy layer among other drivers. Many systems
lock up on probing certain phy addresses or probing doesn't return
0xffff when nothing is found at the address. A new driver I'm
working on also makes use of this mask.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/phy/mdio_bus.c
include/linux/phy.h