diff options
author | Robert Hancock <robert.hancock@calian.com> | 2022-01-25 17:54:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 14:28:20 +0100 |
commit | 3265f421887847db9ae2c01a00645e33608556d8 (patch) | |
tree | 867c9480ce1baf627cf2d49682f7f1b42bc02251 /drivers/ptp | |
parent | net: phy: at803x: move page selection fix to config_init (diff) | |
download | linux-3265f421887847db9ae2c01a00645e33608556d8.tar.xz linux-3265f421887847db9ae2c01a00645e33608556d8.zip |
net: phy: at803x: add fiber support
Previously this driver always forced the copper page to be selected,
however for AR8031 in 100Base-FX or 1000Base-X modes, the fiber page
needs to be selected. Set the appropriate mode based on the hardware
mode_cfg strap selection.
Enable the appropriate interrupt bits to detect fiber-side link up
or down events.
Update config_aneg and read_status methods to use the appropriate
Clause 37 calls when fiber mode is in use.
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions