require '_h2ph_pre.ph';

unless(defined(&ATA_NOSLEEP)) {
    sub ATA_NOSLEEP () {	0x0001;}
}
unless(defined(&ATA_POLL)) {
    sub ATA_POLL () {	0x0002;}
}
unless(defined(&ATA_ITSDONE)) {
    sub ATA_ITSDONE () {	0x0004;}
}
unless(defined(&ATA_SINGLE)) {
    sub ATA_SINGLE () {	0x0008;}
}
unless(defined(&ATA_LBA)) {
    sub ATA_LBA () {	0x0010;}
}
unless(defined(&ATA_READ)) {
    sub ATA_READ () {	0x0020;}
}
unless(defined(&ATA_CORR)) {
    sub ATA_CORR () {	0x0040;}
}
unless(defined(&NOERROR)) {
    sub NOERROR () {	0;}
}
unless(defined(&ERROR)) {
    sub ERROR () {	1;}
}
unless(defined(&ERR_DF)) {
    sub ERR_DF () {	2;}
}
unless(defined(&ERR_DMA)) {
    sub ERR_DMA () {	3;}
}
unless(defined(&TIMEOUT)) {
    sub TIMEOUT () {	4;}
}
unless(defined(&ERR_NODEV)) {
    sub ERR_NODEV () {	5;}
}
unless(defined(&RECAL)) {
    sub RECAL () {	0;}
}
unless(defined(&RECAL_WAIT)) {
    sub RECAL_WAIT () {	1;}
}
unless(defined(&PIOMODE)) {
    sub PIOMODE () {	2;}
}
unless(defined(&PIOMODE_WAIT)) {
    sub PIOMODE_WAIT () {	3;}
}
unless(defined(&DMAMODE)) {
    sub DMAMODE () {	4;}
}
unless(defined(&DMAMODE_WAIT)) {
    sub DMAMODE_WAIT () {	5;}
}
unless(defined(&GEOMETRY)) {
    sub GEOMETRY () {	6;}
}
unless(defined(&GEOMETRY_WAIT)) {
    sub GEOMETRY_WAIT () {	7;}
}
unless(defined(&MULTIMODE)) {
    sub MULTIMODE () {	8;}
}
unless(defined(&MULTIMODE_WAIT)) {
    sub MULTIMODE_WAIT () {	9;}
}
unless(defined(&READY)) {
    sub READY () {	10;}
}
1;
