Searched refs:hwver (Results 1 – 1 of 1) sorted by relevance
144 uint8_t hwver; in cnx_check_hwver_img() local156 hwver = (uint8_t)handle->hwrev; in cnx_check_hwver_img()160 logmsg(MSG_INFO, "local_hwver: %x, hwver: %x\n", local_hwver, hwver); in cnx_check_hwver_img()162 if ((hwver == 0xA0 || hwver == 0x00 || 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()175 return ((uint16_t)(local_hwver << 8) | hwver); in cnx_check_hwver_img()