Home
last modified time | relevance | path

Searched refs:local_hwver (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/fwflash/plugins/vendor/
H A Dhermon-MELLANOX.c145 uint8_t local_hwver; in cnx_check_hwver_img() local
157 local_hwver = (ntohl(verifier->fwimage[CNX_HWVER_OFFSET / 4]) & in cnx_check_hwver_img()
160 logmsg(MSG_INFO, "local_hwver: %x, hwver: %x\n", local_hwver, hwver); in cnx_check_hwver_img()
163 (local_hwver == 0x00 || local_hwver == 0xA0 || in cnx_check_hwver_img()
164 local_hwver == 0x20)) { in cnx_check_hwver_img()
166 } else if (hwver == 0xA1 && local_hwver == 0xA1) { in cnx_check_hwver_img()
168 } else if (hwver == 0xA2 && local_hwver == 0xA2) { in cnx_check_hwver_img()
170 } else if (hwver == 0xA3 && local_hwver == 0xA3) { in cnx_check_hwver_img()
172 } else if (hwver == 0xB0 && local_hwver == 0xB0) { in cnx_check_hwver_img()
174 } else if (hwver != local_hwver) { in cnx_check_hwver_img()
[all …]