| mdio_bus_match(9) - phpMan
MDIO_BUS_MATCH(9) Network device support MDIO_BUS_MATCH(9)
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
Kernel Hackers Manual 4.8. January 2017 MDIO_BUS_MATCH(9)
|