require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_DRVCTLIO_H_)) {
    eval 'sub _SYS_DRVCTLIO_H_ () {1;}' unless defined(&_SYS_DRVCTLIO_H_);
    require 'prop/proplib.ph';
    require 'sys/ioccom.ph';
    eval 'sub DRVCTLDEV () {"/dev/drvctl";}' unless defined(&DRVCTLDEV);
    eval("sub DEVPM_F_SUBTREE () { 0x1; }") unless defined(&DEVPM_F_SUBTREE);
    eval 'sub DRVDETACHDEV () { &_IOW(ord(\'D\'), 123, \'struct devdetachargs\');}' unless defined(&DRVDETACHDEV);
    eval 'sub DRVRESCANBUS () { &_IOW(ord(\'D\'), 124, \'struct devrescanargs\');}' unless defined(&DRVRESCANBUS);
    eval 'sub DRVCTLCOMMAND () { &_IOWR(ord(\'D\'), 125, \'struct plistref\');}' unless defined(&DRVCTLCOMMAND);
    eval 'sub DRVRESUMEDEV () { &_IOW(ord(\'D\'), 126, \'struct devpmargs\');}' unless defined(&DRVRESUMEDEV);
    eval 'sub DRVLISTDEV () { &_IOWR(ord(\'D\'), 127, \'struct devlistargs\');}' unless defined(&DRVLISTDEV);
    eval 'sub DRVGETEVENT () { &_IOR(ord(\'D\'), 128, \'struct plistref\');}' unless defined(&DRVGETEVENT);
    eval 'sub DRVSUSPENDDEV () { &_IOW(ord(\'D\'), 129, \'struct devpmargs\');}' unless defined(&DRVSUSPENDDEV);
}
1;
