require '_h2ph_pre.ph';

unless(defined(&ATAPI_LOAD_UNLOAD)) {
    sub ATAPI_LOAD_UNLOAD () {	0xa6;}
}
unless(defined(&AUDIO_PLAY)) {
    sub AUDIO_PLAY () {	0x1;}
}
unless(defined(&AV_COMPOSITE)) {
    sub AV_COMPOSITE () {	1;}
}
unless(defined(&DA_PORT1)) {
    sub DA_PORT1 () {	1;}
}
unless(defined(&DA_PORT2)) {
    sub DA_PORT2 () {	1;}
}
unless(defined(&M2F1)) {
    sub M2F1 () {	1;}
}
unless(defined(&M2F2)) {
    sub M2F2 () {	1;}
}
unless(defined(&CD_MULTISESSION)) {
    sub CD_MULTISESSION () {	1;}
}
unless(defined(&CD_DA)) {
    sub CD_DA () {	0x1;}
}
unless(defined(&CD_DA_STREAM)) {
    sub CD_DA_STREAM () {	0x2;}
}
unless(defined(&RW_SUB)) {
    sub RW_SUB () {	0x4;}
}
unless(defined(&RW_SUB_CORR)) {
    sub RW_SUB_CORR () {	0x8;}
}
unless(defined(&C2_ERRP)) {
    sub C2_ERRP () {	0x10;}
}
unless(defined(&ISRC)) {
    sub ISRC () {	0x20;}
}
unless(defined(&UPC)) {
    sub UPC () {	0x40;}
}
unless(defined(&CANLOCK)) {
    sub CANLOCK () {	0x1;}
}
unless(defined(&LOCK_STATE)) {
    sub LOCK_STATE () {	0x2;}
}
unless(defined(&PREVENT_JUMP)) {
    sub PREVENT_JUMP () {	0x4;}
}
unless(defined(&CANEJECT)) {
    sub CANEJECT () {	0x8;}
}
unless(defined(&MECH_MASK)) {
    sub MECH_MASK () {	0xe0;}
}
unless(defined(&MECH_CADDY)) {
    sub MECH_CADDY () {	0x;}
}
unless(defined(&MECH_TRAY)) {
    sub MECH_TRAY () {	0x20;}
}
unless(defined(&MECH_POPUP)) {
    sub MECH_POPUP () {	0x40;}
}
unless(defined(&MECH_CHANGER_INDIV)) {
    sub MECH_CHANGER_INDIV () {	0x80;}
}
unless(defined(&MECH_CHANGER_CARTRIDGE)) {
    sub MECH_CHANGER_CARTRIDGE () {	0xa0;}
}
unless(defined(&SEPARATE_VOL)) {
    sub SEPARATE_VOL () {	0x1;}
}
unless(defined(&SEPARATE_MUTE)) {
    sub SEPARATE_MUTE () {	0x2;}
}
unless(defined(&SUPP_DISK_PRESENT)) {
    sub SUPP_DISK_PRESENT () {	0x4;}
}
unless(defined(&SSS)) {
    sub SSS () {	0x8;}
}
unless(defined(&ATAPI_CDROM_PAGE)) {
    sub ATAPI_CDROM_PAGE () {	0xd;}
}
unless(defined(&ATAPI_AUDIO_PAGE)) {
    sub ATAPI_AUDIO_PAGE () {	0xe;}
}
unless(defined(&ATAPI_AUDIO_PAGE_MASK)) {
    sub ATAPI_AUDIO_PAGE_MASK () {	0x4e;}
}
unless(defined(&ATAPI_CAP_PAGE)) {
    sub ATAPI_CAP_PAGE () {	0x2a;}
}
unless(defined(&AUDIOPAGESIZE)) {
    sub AUDIOPAGESIZE () {	($sizeof{'struct atapi_mode_header'} + $sizeof{'struct cd_audio_page'});}
}
unless(defined(&CDROMPAGESIZE)) {
    sub CDROMPAGESIZE () {	($sizeof{'struct atapi_mode_header'} + $sizeof{'struct atapi_cdrom_page'});}
}
unless(defined(&CAPPAGESIZE)) {
    sub CAPPAGESIZE () {	($sizeof{'struct atapi_mode_header'} + $sizeof{'struct atapi_cap_page'});}
}
1;
