mdio_bus_match (9) - Linux Man Pages

mdio_bus_match: determine if given MDIO driver supports the given MDIO device

NAME

mdio_bus_match - determine if given MDIO driver supports the given MDIO device

SYNOPSIS

int mdio_bus_match(struct device dev, struct device_driver drv);

ARGUMENTS

dev

target MDIO device

drv

given MDIO driver

DESCRIPTION

Given a MDIO device, and a MDIO driver, return 1 if the driver supports the device. Otherwise, return 0. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria.

COPYRIGHT