require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&IN_MSGLEN)) {
    eval 'sub IN_MSGLEN () {8;}' unless defined(&IN_MSGLEN);
}
unless(defined(&_LP64)) {
    if(defined( &__alpha__) || defined( &__sparcv9cpu) || defined( &__sparc_v9__) || defined( &__ia64__)) {
	eval 'sub _LP64 () {1;}' unless defined(&_LP64);
    }
}
unless(defined(&_TMD_PAD_LEN)) {
    if(defined(&_LP64)) {
	eval 'sub _TMD_PAD_LEN () {12;}' unless defined(&_TMD_PAD_LEN);
    } else {
	eval 'sub _TMD_PAD_LEN () {24;}' unless defined(&_TMD_PAD_LEN);
    }
}
unless(defined(&ATIO_CDBLEN)) {
    eval 'sub ATIO_CDBLEN () {26;}' unless defined(&ATIO_CDBLEN);
}
unless(defined(&QLTM_SENSELEN)) {
    eval 'sub QLTM_SENSELEN () {18;}' unless defined(&QLTM_SENSELEN);
}
unless(defined(&CDFL_SNSVALID)) {
    sub CDFL_SNSVALID () {	0x1;}
}
unless(defined(&CDFL_NODISC)) {
    sub CDFL_NODISC () {	0x2;}
}
unless(defined(&CDFL_SENTSENSE)) {
    sub CDFL_SENTSENSE () {	0x4;}
}
unless(defined(&CDFL_SENTSTATUS)) {
    sub CDFL_SENTSTATUS () {	0x8;}
}
unless(defined(&CDFL_ERROR)) {
    sub CDFL_ERROR () {	0x10;}
}
unless(defined(&CDFL_BUSY)) {
    sub CDFL_BUSY () {	0x40;}
}
unless(defined(&CDFL_PRIVATE_0)) {
    sub CDFL_PRIVATE_0 () {	0x80;}
}
unless(defined(&CDFH_SNSVALID)) {
    sub CDFH_SNSVALID () {	0x1;}
}
unless(defined(&CDFH_STSVALID)) {
    sub CDFH_STSVALID () {	0x2;}
}
unless(defined(&CDFH_NODATA)) {
    sub CDFH_NODATA () {	0x;}
}
unless(defined(&CDFH_DATA_IN)) {
    sub CDFH_DATA_IN () {	0x4;}
}
unless(defined(&CDFH_DATA_OUT)) {
    sub CDFH_DATA_OUT () {	0x8;}
}
unless(defined(&CDFH_DATA_MASK)) {
    sub CDFH_DATA_MASK () {	0xc;}
}
unless(defined(&CDFH_PRIVATE_0)) {
    sub CDFH_PRIVATE_0 () {	0x80;}
}
eval("sub QOUT_HBA_REG () { 0; }") unless defined(&QOUT_HBA_REG);
eval("sub QOUT_TMD_START () { 1; }") unless defined(&QOUT_TMD_START);
eval("sub QOUT_TMD_DONE () { 2; }") unless defined(&QOUT_TMD_DONE);
eval("sub QOUT_TEVENT () { 3; }") unless defined(&QOUT_TEVENT);
eval("sub QOUT_TMSG () { 4; }") unless defined(&QOUT_TMSG);
eval("sub QOUT_HBA_UNREG () { 5; }") unless defined(&QOUT_HBA_UNREG);
eval("sub QIN_HBA_REG () { 6; }") unless defined(&QIN_HBA_REG);
eval("sub QIN_ENABLE () { 7; }") unless defined(&QIN_ENABLE);
eval("sub QIN_DISABLE () { 8; }") unless defined(&QIN_DISABLE);
eval("sub QIN_TMD_CONT () { 9; }") unless defined(&QIN_TMD_CONT);
eval("sub QIN_TMD_FIN () { 10; }") unless defined(&QIN_TMD_FIN);
eval("sub QIN_HBA_UNREG () { 11; }") unless defined(&QIN_HBA_UNREG);
1;
