* 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. **/
| 1080 | * point called by drivers. |
| 1081 | **/ |
| 1082 | s32 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 |