of_ioapic_type
static struct of_ioapic_type of_ioapic_type[] =
struct of_ioapic_type *it;
if (type_index >= ARRAY_SIZE(of_ioapic_type))
it = &of_ioapic_type[type_index];