* t4_get_tp_version - read the TP microcode version * @adapter: the adapter * @vers: where to place the version * * Reads the TP microcode version from flash. */
| 2686 | * Reads the TP microcode version from flash. |
| 2687 | */ |
| 2688 | static int t4_get_tp_version(struct adapter *adapter, u32 *vers) |
| 2689 | { |
| 2690 | return t4_read_flash(adapter, FLASH_FW_START + |
| 2691 | offsetof(struct fw_hdr, tp_microcode_ver), |
| 2692 | 1, vers, 0); |
| 2693 | } |
| 2694 | |
| 2695 | /** |
| 2696 | * t4_get_version_info - extract various chip/firmware version information |
no test coverage detected