---
name: "mdio_bus_match"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/mdio_bus_match"
---

# mdio\_bus\_match(9)

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
