* e1000_read_mac_addr - Reads MAC address * @hw: pointer to the HW structure * * Reads the MAC address out of the adapter and stores it in the HW structure. * Currently no func pointer exists and all implementations are handled in the * generic version of this function. **/
| 1170 | * generic version of this function. |
| 1171 | **/ |
| 1172 | s32 e1000_read_mac_addr(struct e1000_hw *hw) |
| 1173 | { |
| 1174 | if (hw->mac.ops.read_mac_addr) |
| 1175 | return hw->mac.ops.read_mac_addr(hw); |
| 1176 | |
| 1177 | return e1000_read_mac_addr_generic(hw); |
| 1178 | } |
| 1179 | |
| 1180 | /** |
| 1181 | * e1000_read_pba_string - Read device part number string |
no test coverage detected