phy_find_setting(9)

phy_find_setting9

Find a phy settings array entry that matches speed & duplex

Usage

unsigned int phy_find_setting(int speed, int duplex);

Arguments

speed

speed to match

duplex

duplex to match

Overview

Searches the settings array for the setting which matches the desired speed and duplex, and returns the index of that setting. Returns the index of the last setting if none of the others match.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.