* ice_print_rollback_msg - print FW rollback message * @hw: pointer to the hardware structure */
| 990 | * @hw: pointer to the hardware structure |
| 991 | */ |
| 992 | void ice_print_rollback_msg(struct ice_hw *hw) |
| 993 | { |
| 994 | char nvm_str[ICE_NVM_VER_LEN] = { 0 }; |
| 995 | struct ice_orom_info *orom; |
| 996 | struct ice_nvm_info *nvm; |
| 997 | |
| 998 | orom = &hw->flash.orom; |
| 999 | nvm = &hw->flash.nvm; |
| 1000 | |
| 1001 | SNPRINTF(nvm_str, sizeof(nvm_str), "%x.%02x 0x%x %d.%d.%d", |
| 1002 | nvm->major, nvm->minor, nvm->eetrack, orom->major, |
| 1003 | orom->build, orom->patch); |
| 1004 | ice_warn(hw, |
| 1005 | "Firmware rollback mode detected. Current version is NVM: %s, FW: %d.%d. Device may exhibit limited functionality. Refer to the Intel(R) Ethernet Adapters and Devices User Guide for details on firmware rollback mode\n", |
| 1006 | nvm_str, hw->fw_maj_ver, hw->fw_min_ver); |
| 1007 | } |
| 1008 | |
| 1009 | /** |
| 1010 | * ice_set_umac_shared |