1PHY_FIND_SETTING(9)         Network device support         PHY_FIND_SETTING(9)
2
3
4

NAME

6       phy_find_setting - find a PHY settings array entry that matches speed &
7       duplex
8

SYNOPSIS

10       int phy_find_setting(int speed, int duplex);
11

ARGUMENTS

13       speed
14           speed to match
15
16       duplex
17           duplex to match
18

DESCRIPTION

20       Searches the settings array for the setting which matches the desired
21       speed and duplex, and returns the index of that setting. Returns the
22       index of the last setting if none of the others match.
23
25Kernel Hackers Manual 2.6.         June 2019               PHY_FIND_SETTING(9)
Impressum