MCPcopy Create free account
hub / github.com/F-Stack/f-stack / e1000_get_phy_info

Function e1000_get_phy_info

dpdk/drivers/net/e1000/base/e1000_api.c:1082–1088  ·  view source on GitHub ↗

* e1000_get_phy_info - Retrieves PHY information from registers * @hw: pointer to the HW structure * * This function gets some information from various PHY registers and * populates hw->phy values with it. This is a function pointer entry * point called by drivers. **/

Source from the content-addressed store, hash-verified

1080 * point called by drivers.
1081 **/
1082s32 e1000_get_phy_info(struct e1000_hw *hw)
1083{
1084 if (hw->phy.ops.get_info)
1085 return hw->phy.ops.get_info(hw);
1086
1087 return E1000_SUCCESS;
1088}
1089
1090/**
1091 * e1000_phy_hw_reset - Hard PHY reset

Callers 1

igb_hardware_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected