require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_ATA_WDVAR_H_)) {
    eval 'sub _DEV_ATA_WDVAR_H_ () {1;}' unless defined(&_DEV_ATA_WDVAR_H_);
    eval 'sub ATA_NOSLEEP () {0x1;}' unless defined(&ATA_NOSLEEP);
    eval 'sub ATA_POLL () {0x2;}' unless defined(&ATA_POLL);
    eval 'sub ATA_ITSDONE () {0x4;}' unless defined(&ATA_ITSDONE);
    eval 'sub ATA_SINGLE () {0x8;}' unless defined(&ATA_SINGLE);
    eval 'sub ATA_LBA () {0x10;}' unless defined(&ATA_LBA);
    eval 'sub ATA_READ () {0x20;}' unless defined(&ATA_READ);
    eval 'sub ATA_CORR () {0x40;}' unless defined(&ATA_CORR);
    eval 'sub ATA_LBA48 () {0x80;}' unless defined(&ATA_LBA48);
    eval 'sub NOERROR () {0;}' unless defined(&NOERROR);
    eval 'sub ERROR () {1;}' unless defined(&ERROR);
    eval 'sub ERR_DF () {2;}' unless defined(&ERR_DF);
    eval 'sub ERR_DMA () {3;}' unless defined(&ERR_DMA);
    eval 'sub TIMEOUT () {4;}' unless defined(&TIMEOUT);
    eval 'sub ERR_NODEV () {5;}' unless defined(&ERR_NODEV);
    eval 'sub RECAL () {0;}' unless defined(&RECAL);
    eval 'sub RECAL_WAIT () {1;}' unless defined(&RECAL_WAIT);
    eval 'sub PIOMODE () {2;}' unless defined(&PIOMODE);
    eval 'sub PIOMODE_WAIT () {3;}' unless defined(&PIOMODE_WAIT);
    eval 'sub DMAMODE () {4;}' unless defined(&DMAMODE);
    eval 'sub DMAMODE_WAIT () {5;}' unless defined(&DMAMODE_WAIT);
    eval 'sub GEOMETRY () {6;}' unless defined(&GEOMETRY);
    eval 'sub GEOMETRY_WAIT () {7;}' unless defined(&GEOMETRY_WAIT);
    eval 'sub MULTIMODE () {8;}' unless defined(&MULTIMODE);
    eval 'sub MULTIMODE_WAIT () {9;}' unless defined(&MULTIMODE_WAIT);
    eval 'sub READY () {10;}' unless defined(&READY);
}
1;
