HW_ID_MAX
for (ii = 0; ii < HW_ID_MAX; ii++) {
static const char *hw_id_names[HW_ID_MAX] = {
if (hw_id >= HW_ID_MAX) {