require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_IPMIVAR_H_)) {
    eval 'sub _IPMIVAR_H_ () {1;}' unless defined(&_IPMIVAR_H_);
    require 'sys/timeout.ph';
    require 'sys/rwlock.ph';
    require 'sys/sensors.ph';
    eval 'sub IPMI_IF_KCS () {1;}' unless defined(&IPMI_IF_KCS);
    eval 'sub IPMI_IF_SMIC () {2;}' unless defined(&IPMI_IF_SMIC);
    eval 'sub IPMI_IF_BT () {3;}' unless defined(&IPMI_IF_BT);
    eval 'sub IPMI_IF_KCS_NREGS () {2;}' unless defined(&IPMI_IF_KCS_NREGS);
    eval 'sub IPMI_IF_SMIC_NREGS () {3;}' unless defined(&IPMI_IF_SMIC_NREGS);
    eval 'sub IPMI_IF_BT_NREGS () {3;}' unless defined(&IPMI_IF_BT_NREGS);
    eval 'sub IPMI_WDOG_MASK () {0x3;}' unless defined(&IPMI_WDOG_MASK);
    eval 'sub IPMI_WDOG_DISABLED () {0x;}' unless defined(&IPMI_WDOG_DISABLED);
    eval 'sub IPMI_WDOG_REBOOT () {0x1;}' unless defined(&IPMI_WDOG_REBOOT);
    eval 'sub IPMI_WDOG_PWROFF () {0x2;}' unless defined(&IPMI_WDOG_PWROFF);
    eval 'sub IPMI_WDOG_PWRCYCLE () {0x3;}' unless defined(&IPMI_WDOG_PWRCYCLE);
    eval 'sub IPMI_WDOG_PRE_DISABLED () {0x;}' unless defined(&IPMI_WDOG_PRE_DISABLED);
    eval 'sub IPMI_WDOG_PRE_SMI () {0x1;}' unless defined(&IPMI_WDOG_PRE_SMI);
    eval 'sub IPMI_WDOG_PRE_NMI () {0x2;}' unless defined(&IPMI_WDOG_PRE_NMI);
    eval 'sub IPMI_WDOG_PRE_INTERRUPT () {0x3;}' unless defined(&IPMI_WDOG_PRE_INTERRUPT);
    eval 'sub APP_NETFN () {0x6;}' unless defined(&APP_NETFN);
    eval 'sub APP_GET_DEVICE_ID () {0x1;}' unless defined(&APP_GET_DEVICE_ID);
    eval 'sub APP_RESET_WATCHDOG () {0x22;}' unless defined(&APP_RESET_WATCHDOG);
    eval 'sub APP_SET_WATCHDOG_TIMER () {0x24;}' unless defined(&APP_SET_WATCHDOG_TIMER);
    eval 'sub APP_GET_WATCHDOG_TIMER () {0x25;}' unless defined(&APP_GET_WATCHDOG_TIMER);
    eval 'sub TRANSPORT_NETFN () {0xc;}' unless defined(&TRANSPORT_NETFN);
    eval 'sub BRIDGE_NETFN () {0x2;}' unless defined(&BRIDGE_NETFN);
    eval 'sub STORAGE_NETFN () {0xa;}' unless defined(&STORAGE_NETFN);
    eval 'sub STORAGE_GET_FRU_INV_AREA () {0x10;}' unless defined(&STORAGE_GET_FRU_INV_AREA);
    eval 'sub STORAGE_READ_FRU_DATA () {0x11;}' unless defined(&STORAGE_READ_FRU_DATA);
    eval 'sub STORAGE_RESERVE_SDR () {0x22;}' unless defined(&STORAGE_RESERVE_SDR);
    eval 'sub STORAGE_GET_SDR () {0x23;}' unless defined(&STORAGE_GET_SDR);
    eval 'sub STORAGE_ADD_SDR () {0x24;}' unless defined(&STORAGE_ADD_SDR);
    eval 'sub STORAGE_ADD_PARTIAL_SDR () {0x25;}' unless defined(&STORAGE_ADD_PARTIAL_SDR);
    eval 'sub STORAGE_DELETE_SDR () {0x26;}' unless defined(&STORAGE_DELETE_SDR);
    eval 'sub STORAGE_RESERVE_SEL () {0x42;}' unless defined(&STORAGE_RESERVE_SEL);
    eval 'sub STORAGE_GET_SEL () {0x43;}' unless defined(&STORAGE_GET_SEL);
    eval 'sub STORAGE_ADD_SEL () {0x44;}' unless defined(&STORAGE_ADD_SEL);
    eval 'sub STORAGE_ADD_PARTIAL_SEL () {0x45;}' unless defined(&STORAGE_ADD_PARTIAL_SEL);
    eval 'sub STORAGE_DELETE_SEL () {0x46;}' unless defined(&STORAGE_DELETE_SEL);
    eval 'sub SE_NETFN () {0x4;}' unless defined(&SE_NETFN);
    eval 'sub SE_GET_SDR_INFO () {0x20;}' unless defined(&SE_GET_SDR_INFO);
    eval 'sub SE_GET_SDR () {0x21;}' unless defined(&SE_GET_SDR);
    eval 'sub SE_RESERVE_SDR () {0x22;}' unless defined(&SE_RESERVE_SDR);
    eval 'sub SE_GET_SENSOR_FACTOR () {0x23;}' unless defined(&SE_GET_SENSOR_FACTOR);
    eval 'sub SE_SET_SENSOR_HYSTERESIS () {0x24;}' unless defined(&SE_SET_SENSOR_HYSTERESIS);
    eval 'sub SE_GET_SENSOR_HYSTERESIS () {0x25;}' unless defined(&SE_GET_SENSOR_HYSTERESIS);
    eval 'sub SE_SET_SENSOR_THRESHOLD () {0x26;}' unless defined(&SE_SET_SENSOR_THRESHOLD);
    eval 'sub SE_GET_SENSOR_THRESHOLD () {0x27;}' unless defined(&SE_GET_SENSOR_THRESHOLD);
    eval 'sub SE_SET_SENSOR_EVENT_ENABLE () {0x28;}' unless defined(&SE_SET_SENSOR_EVENT_ENABLE);
    eval 'sub SE_GET_SENSOR_EVENT_ENABLE () {0x29;}' unless defined(&SE_GET_SENSOR_EVENT_ENABLE);
    eval 'sub SE_REARM_SENSOR_EVENTS () {0x2a;}' unless defined(&SE_REARM_SENSOR_EVENTS);
    eval 'sub SE_GET_SENSOR_EVENT_STATUS () {0x2b;}' unless defined(&SE_GET_SENSOR_EVENT_STATUS);
    eval 'sub SE_GET_SENSOR_READING () {0x2d;}' unless defined(&SE_GET_SENSOR_READING);
    eval 'sub SE_SET_SENSOR_TYPE () {0x2e;}' unless defined(&SE_SET_SENSOR_TYPE);
    eval 'sub SE_GET_SENSOR_TYPE () {0x2f;}' unless defined(&SE_GET_SENSOR_TYPE);
}
1;
