require '_h2ph_pre.ph';

unless(defined(&_SCSI_SCSI_ALL_H)) {
    eval 'sub _SCSI_SCSI_ALL_H () {1;}' unless defined(&_SCSI_SCSI_ALL_H);
    eval 'sub SCSI_CTL_LINK () {0x01;}' unless defined(&SCSI_CTL_LINK);
    eval 'sub SCSI_CTL_FLAG () {0x02;}' unless defined(&SCSI_CTL_FLAG);
    eval 'sub SCSI_CTL_VENDOR () {0xc0;}' unless defined(&SCSI_CTL_VENDOR);
    eval 'sub SCSI_CMD_LUN_MASK () {0xe0;}' unless defined(&SCSI_CMD_LUN_MASK);
    eval 'sub SCSI_CMD_LUN_SHIFT () {5;}' unless defined(&SCSI_CMD_LUN_SHIFT);
    eval 'sub SSD_UOL () {0x01;}' unless defined(&SSD_UOL);
    eval 'sub SSD_DOL () {0x02;}' unless defined(&SSD_DOL);
    eval 'sub SSD_SELFTEST () {0x04;}' unless defined(&SSD_SELFTEST);
    eval 'sub SSD_PF () {0x10;}' unless defined(&SSD_PF);
    eval 'sub SMS_DBD () {0x08;}' unless defined(&SMS_DBD);
    eval 'sub SMS_PAGE_CODE () {0x3f;}' unless defined(&SMS_PAGE_CODE);
    eval 'sub SMS_PAGE_CTRL () {0xc0;}' unless defined(&SMS_PAGE_CTRL);
    eval 'sub SMS_PAGE_CTRL_CURRENT () {0x00;}' unless defined(&SMS_PAGE_CTRL_CURRENT);
    eval 'sub SMS_PAGE_CTRL_CHANGEABLE () {0x40;}' unless defined(&SMS_PAGE_CTRL_CHANGEABLE);
    eval 'sub SMS_PAGE_CTRL_DEFAULT () {0x80;}' unless defined(&SMS_PAGE_CTRL_DEFAULT);
    eval 'sub SMS_PAGE_CTRL_SAVED () {0xc0;}' unless defined(&SMS_PAGE_CTRL_SAVED);
    eval 'sub SMS_SP () {0x01;}' unless defined(&SMS_SP);
    eval 'sub SMS_PF () {0x10;}' unless defined(&SMS_PF);
    eval 'sub PR_PREVENT () {0x01;}' unless defined(&PR_PREVENT);
    eval 'sub PR_ALLOW () {0x00;}' unless defined(&PR_ALLOW);
    eval 'sub SC_SCSI_1 () {0x01;}' unless defined(&SC_SCSI_1);
    eval 'sub SC_SCSI_2 () {0x03;}' unless defined(&SC_SCSI_2);
    eval 'sub TEST_UNIT_READY () {0x00;}' unless defined(&TEST_UNIT_READY);
    eval 'sub REQUEST_SENSE () {0x03;}' unless defined(&REQUEST_SENSE);
    eval 'sub INQUIRY () {0x12;}' unless defined(&INQUIRY);
    eval 'sub MODE_SELECT () {0x15;}' unless defined(&MODE_SELECT);
    eval 'sub MODE_SENSE () {0x1a;}' unless defined(&MODE_SENSE);
    eval 'sub START_STOP () {0x1b;}' unless defined(&START_STOP);
    eval 'sub RESERVE () {0x16;}' unless defined(&RESERVE);
    eval 'sub RELEASE () {0x17;}' unless defined(&RELEASE);
    eval 'sub PREVENT_ALLOW () {0x1e;}' unless defined(&PREVENT_ALLOW);
    eval 'sub POSITION_TO_ELEMENT () {0x2b;}' unless defined(&POSITION_TO_ELEMENT);
    eval 'sub CHANGE_DEFINITION () {0x40;}' unless defined(&CHANGE_DEFINITION);
    eval 'sub MODE_SENSE_BIG () {0x54;}' unless defined(&MODE_SENSE_BIG);
    eval 'sub MODE_SELECT_BIG () {0x55;}' unless defined(&MODE_SELECT_BIG);
    eval 'sub GENRETRY () {1;}' unless defined(&GENRETRY);
    eval 'sub T_DIRECT () {0;}' unless defined(&T_DIRECT);
    eval 'sub T_SEQUENTIAL () {1;}' unless defined(&T_SEQUENTIAL);
    eval 'sub T_PRINTER () {2;}' unless defined(&T_PRINTER);
    eval 'sub T_PROCESSOR () {3;}' unless defined(&T_PROCESSOR);
    eval 'sub T_WORM () {4;}' unless defined(&T_WORM);
    eval 'sub T_CDROM () {5;}' unless defined(&T_CDROM);
    eval 'sub T_SCANNER () {6;}' unless defined(&T_SCANNER);
    eval 'sub T_OPTICAL () {7;}' unless defined(&T_OPTICAL);
    eval 'sub T_NODEVICE () {0x1f;}' unless defined(&T_NODEVICE);
    eval 'sub T_CHANGER () {8;}' unless defined(&T_CHANGER);
    eval 'sub T_COMM () {9;}' unless defined(&T_COMM);
    eval 'sub T_ENCLOSURE () {13;}' unless defined(&T_ENCLOSURE);
    eval 'sub T_REMOV () {1;}' unless defined(&T_REMOV);
    eval 'sub T_FIXED () {0;}' unless defined(&T_FIXED);
    eval 'sub SID_TYPE () {0x1f;}' unless defined(&SID_TYPE);
    eval 'sub SID_QUAL () {0xe0;}' unless defined(&SID_QUAL);
    eval 'sub SID_QUAL_LU_OK () {0x00;}' unless defined(&SID_QUAL_LU_OK);
    eval 'sub SID_QUAL_LU_OFFLINE () {0x20;}' unless defined(&SID_QUAL_LU_OFFLINE);
    eval 'sub SID_QUAL_RSVD () {0x40;}' unless defined(&SID_QUAL_RSVD);
    eval 'sub SID_QUAL_BAD_LU () {0x60;}' unless defined(&SID_QUAL_BAD_LU);
    eval 'sub SID_QUAL2 () {0x7f;}' unless defined(&SID_QUAL2);
    eval 'sub SID_REMOVABLE () {0x80;}' unless defined(&SID_REMOVABLE);
    eval 'sub SID_ANSII () {0x07;}' unless defined(&SID_ANSII);
    eval 'sub SID_ECMA () {0x38;}' unless defined(&SID_ECMA);
    eval 'sub SID_ISO () {0xc0;}' unless defined(&SID_ISO);
    eval 'sub SID_SftRe () {0x01;}' unless defined(&SID_SftRe);
    eval 'sub SID_CmdQue () {0x02;}' unless defined(&SID_CmdQue);
    eval 'sub SID_Linked () {0x08;}' unless defined(&SID_Linked);
    eval 'sub SID_Sync () {0x10;}' unless defined(&SID_Sync);
    eval 'sub SID_WBus16 () {0x20;}' unless defined(&SID_WBus16);
    eval 'sub SID_WBus32 () {0x40;}' unless defined(&SID_WBus32);
    eval 'sub SID_RelAdr () {0x80;}' unless defined(&SID_RelAdr);
    eval 'sub SSD_ERRCODE () {0x7f;}' unless defined(&SSD_ERRCODE);
    eval 'sub SSD_ERRCODE_VALID () {0x80;}' unless defined(&SSD_ERRCODE_VALID);
    eval 'sub SSD_KEY () {0x0f;}' unless defined(&SSD_KEY);
    eval 'sub SSD_ILI () {0x20;}' unless defined(&SSD_ILI);
    eval 'sub SSD_EOM () {0x40;}' unless defined(&SSD_EOM);
    eval 'sub SSD_FILEMARK () {0x80;}' unless defined(&SSD_FILEMARK);
    eval 'sub SSD_SCS_VALID () {0x80;}' unless defined(&SSD_SCS_VALID);
    eval 'sub SKEY_NO_SENSE () {0x00;}' unless defined(&SKEY_NO_SENSE);
    eval 'sub SKEY_RECOVERED_ERROR () {0x01;}' unless defined(&SKEY_RECOVERED_ERROR);
    eval 'sub SKEY_NOT_READY () {0x02;}' unless defined(&SKEY_NOT_READY);
    eval 'sub SKEY_MEDIUM_ERROR () {0x03;}' unless defined(&SKEY_MEDIUM_ERROR);
    eval 'sub SKEY_HARDWARE_ERROR () {0x04;}' unless defined(&SKEY_HARDWARE_ERROR);
    eval 'sub SKEY_ILLEGAL_REQUEST () {0x05;}' unless defined(&SKEY_ILLEGAL_REQUEST);
    eval 'sub SKEY_UNIT_ATTENTION () {0x06;}' unless defined(&SKEY_UNIT_ATTENTION);
    eval 'sub SKEY_WRITE_PROTECT () {0x07;}' unless defined(&SKEY_WRITE_PROTECT);
    eval 'sub SKEY_BLANK_CHECK () {0x08;}' unless defined(&SKEY_BLANK_CHECK);
    eval 'sub SKEY_VENDOR_UNIQUE () {0x09;}' unless defined(&SKEY_VENDOR_UNIQUE);
    eval 'sub SKEY_COPY_ABORTED () {0x0a;}' unless defined(&SKEY_COPY_ABORTED);
    eval 'sub SKEY_ABORTED_COMMAND () {0x0b;}' unless defined(&SKEY_ABORTED_COMMAND);
    eval 'sub SKEY_EQUAL () {0x0c;}' unless defined(&SKEY_EQUAL);
    eval 'sub SKEY_VOLUME_OVERFLOW () {0x0d;}' unless defined(&SKEY_VOLUME_OVERFLOW);
    eval 'sub SKEY_MISCOMPARE () {0x0e;}' unless defined(&SKEY_MISCOMPARE);
    eval 'sub SKEY_RESERVED () {0x0f;}' unless defined(&SKEY_RESERVED);
    eval 'sub SCSI_OK () {0x00;}' unless defined(&SCSI_OK);
    eval 'sub SCSI_CHECK () {0x02;}' unless defined(&SCSI_CHECK);
    eval 'sub SCSI_BUSY () {0x08;}' unless defined(&SCSI_BUSY);
    eval 'sub SCSI_INTERM () {0x10;}' unless defined(&SCSI_INTERM);
    eval 'sub SCSI_QUEUE_FULL () {0x28;}' unless defined(&SCSI_QUEUE_FULL);
}
1;
