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

struct device * dev

target MDIO device

struct device_driver * 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.