require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_I2O_IOPRBSVAR_H_)) {
    eval 'sub _I2O_IOPRBSVAR_H_ () {1;}' unless defined(&_I2O_IOPRBSVAR_H_);
    if(0) {
    }
    eval 'sub IOPRBS_ICF_WATCHDOG () {0x1;}' unless defined(&IOPRBS_ICF_WATCHDOG);
    eval 'sub IOPRBS_ICF_COMPLETED () {0x2;}' unless defined(&IOPRBS_ICF_COMPLETED);
    eval 'sub IOPRBS_MAX_CCBS () {256;}' unless defined(&IOPRBS_MAX_CCBS);
    eval 'sub IOPRBS_CLAIMED () {0x1;}' unless defined(&IOPRBS_CLAIMED);
    eval 'sub IOPRBS_NEW_EVTMASK () {0x2;}' unless defined(&IOPRBS_NEW_EVTMASK);
    eval 'sub IOPRBS_ENABLED () {0x4;}' unless defined(&IOPRBS_ENABLED);
    eval 'sub IOPRBS_TIMEOUT () {(30* 1000);}' unless defined(&IOPRBS_TIMEOUT);
    eval 'sub IOPRBS_BLOCK_SIZE () {512;}' unless defined(&IOPRBS_BLOCK_SIZE);
    eval 'sub IOPRBS_WATCH_TIMEOUT () {10000;}' unless defined(&IOPRBS_WATCH_TIMEOUT);
    eval 'sub IOPRBS_LOCK {
        my($sc) = @_;
	    eval q( &splbio());
    }' unless defined(&IOPRBS_LOCK);
    eval 'sub IOPRBS_UNLOCK {
        my($sc, $lock) = @_;
	    eval q( &splx($lock));
    }' unless defined(&IOPRBS_UNLOCK);
}
1;
