Scroll to navigation

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

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.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12