require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_IC_WDCREG_H_)) {
    eval 'sub _DEV_IC_WDCREG_H_ () {1;}' unless defined(&_DEV_IC_WDCREG_H_);
    eval 'sub wd_data () {0;}' unless defined(&wd_data);
    eval 'sub wd_error () {1;}' unless defined(&wd_error);
    eval 'sub wd_precomp () {1;}' unless defined(&wd_precomp);
    eval 'sub wd_seccnt () {2;}' unless defined(&wd_seccnt);
    eval 'sub wd_ireason () {2;}' unless defined(&wd_ireason);
    eval 'sub wd_sector () {3;}' unless defined(&wd_sector);
    eval 'sub wd_cyl_lo () {4;}' unless defined(&wd_cyl_lo);
    eval 'sub wd_cyl_hi () {5;}' unless defined(&wd_cyl_hi);
    eval 'sub wd_sdh () {6;}' unless defined(&wd_sdh);
    eval 'sub wd_command () {7;}' unless defined(&wd_command);
    eval 'sub wd_lba_lo () {3;}' unless defined(&wd_lba_lo);
    eval 'sub wd_lba_mi () {4;}' unless defined(&wd_lba_mi);
    eval 'sub wd_lba_hi () {5;}' unless defined(&wd_lba_hi);
    eval 'sub wd_status () {8;}' unless defined(&wd_status);
    eval 'sub wd_features () {9;}' unless defined(&wd_features);
    eval 'sub wd_aux_altsts () {0;}' unless defined(&wd_aux_altsts);
    eval 'sub wd_aux_ctlr () {0;}' unless defined(&wd_aux_ctlr);
    eval 'sub WDCTL_HOB () {0x80;}' unless defined(&WDCTL_HOB);
    eval 'sub WDCTL_4BIT () {0x8;}' unless defined(&WDCTL_4BIT);
    eval 'sub WDCTL_RST () {0x4;}' unless defined(&WDCTL_RST);
    eval 'sub WDCTL_IDS () {0x2;}' unless defined(&WDCTL_IDS);
    if(0) {
	eval 'sub wd_digin () {1;}' unless defined(&wd_digin);
    }
}
1;
