void iTCO_vendor_pre_start(unsigned long acpibase, unsigned int heartbeat) { if (vendorsupport == SUPERMICRO_OLD_BOARD) supermicro_old_pre_start(acpibase); else if (vendorsupport == SUPERMICRO_NEW_BOARD) supermicro_new_pre_start(heartbeat); }
void iTCO_vendor_pre_start(unsigned long acpibase, unsigned int heartbeat) { switch (vendorsupport) { case SUPERMICRO_OLD_BOARD: supermicro_old_pre_start(acpibase); break; case SUPERMICRO_NEW_BOARD: supermicro_new_pre_start(heartbeat); break; case BROKEN_BIOS: broken_bios_start(acpibase); break; } }