---
name: "phy_connect_direct"
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/phy_connect_direct"
---

# phy\_connect\_direct(9)

connect an ethernet device to a specific phy\_device

## NAME

phy\_connect\_direct - connect an ethernet device to a specific phy\_device

## SYNOPSIS

**int phy\_connect\_direct(struct net\_device \*** *dev***, struct phy\_device \*** *phydev***, void (\****handler***) (struct net\_device \*), phy\_interface\_t** *interface***);**

## ARGUMENTS

*dev*

the network device to connect

*phydev*

the pointer to the phy device

*handler*

callback function for state change notifications

*interface*

PHY device's interface

## COPYRIGHT
