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

# genphy\_setup\_forced(9)

configures/forces speed/duplex from phydev

## NAME

genphy\_setup\_forced - configures/forces speed/duplex from *phydev*

## SYNOPSIS

**int genphy\_setup\_forced(struct phy\_device \*** *phydev***);**

## ARGUMENTS

*phydev*

target phy\_device struct

## DESCRIPTION

Configures MII\_BMCR to force speed/duplex to the values in phydev. Assumes that the values are valid. Please see **phy\_sanitize\_settings**.

## COPYRIGHT
