require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_NSPHYTERREG_H_)) {
    eval 'sub _DEV_MII_NSPHYTERREG_H_ () {1;}' unless defined(&_DEV_MII_NSPHYTERREG_H_);
    eval 'sub MII_NSPHYTER_PHYSTS () {0x10;}' unless defined(&MII_NSPHYTER_PHYSTS);
    eval 'sub PHYSTS_REL () {0x8000;}' unless defined(&PHYSTS_REL);
    eval 'sub PHYSTS_CIML () {0x4000;}' unless defined(&PHYSTS_CIML);
    eval 'sub PHYSTS_FCSL () {0x2000;}' unless defined(&PHYSTS_FCSL);
    eval 'sub PHYSTS_DEVRDY () {0x800;}' unless defined(&PHYSTS_DEVRDY);
    eval 'sub PHYSTS_PGRX () {0x400;}' unless defined(&PHYSTS_PGRX);
    eval 'sub PHYSTS_ANEGEN () {0x200;}' unless defined(&PHYSTS_ANEGEN);
    eval 'sub PHYSTS_MIIINTR () {0x100;}' unless defined(&PHYSTS_MIIINTR);
    eval 'sub PHYSTS_REMFAULT () {0x80;}' unless defined(&PHYSTS_REMFAULT);
    eval 'sub PHYSTS_JABBER () {0x40;}' unless defined(&PHYSTS_JABBER);
    eval 'sub PHYSTS_NWAYCOMP () {0x20;}' unless defined(&PHYSTS_NWAYCOMP);
    eval 'sub PHYSTS_RESETSTAT () {0x10;}' unless defined(&PHYSTS_RESETSTAT);
    eval 'sub PHYSTS_LOOPBACK () {0x8;}' unless defined(&PHYSTS_LOOPBACK);
    eval 'sub PHYSTS_DUPLEX () {0x4;}' unless defined(&PHYSTS_DUPLEX);
    eval 'sub PHYSTS_SPEED10 () {0x2;}' unless defined(&PHYSTS_SPEED10);
    eval 'sub PHYSTS_LINK () {0x1;}' unless defined(&PHYSTS_LINK);
    eval 'sub MII_NSPHYTER_MIPSCR () {0x11;}' unless defined(&MII_NSPHYTER_MIPSCR);
    eval 'sub MIPSCR_INTEN () {0x2;}' unless defined(&MIPSCR_INTEN);
    eval 'sub MIPSCR_TINT () {0x1;}' unless defined(&MIPSCR_TINT);
    eval 'sub MII_NSPHYTER_MIPGSR () {0x12;}' unless defined(&MII_NSPHYTER_MIPGSR);
    eval 'sub MIPGSR_MINT () {0x8000;}' unless defined(&MIPGSR_MINT);
    eval 'sub MII_NSPHYTER_DCR () {0x13;}' unless defined(&MII_NSPHYTER_DCR);
    eval 'sub MII_NSPHYTER_FCSCR () {0x14;}' unless defined(&MII_NSPHYTER_FCSCR);
    eval 'sub MII_NSPHYTER_RECR () {0x15;}' unless defined(&MII_NSPHYTER_RECR);
    eval 'sub MII_NSPHYTER_PCSR () {0x16;}' unless defined(&MII_NSPHYTER_PCSR);
    eval 'sub PCSR_SINGLE_SD () {0x8000;}' unless defined(&PCSR_SINGLE_SD);
    eval 'sub PCSR_FEFI_EN () {0x4000;}' unless defined(&PCSR_FEFI_EN);
    eval 'sub PCSR_DESCR_TO_RST () {0x2000;}' unless defined(&PCSR_DESCR_TO_RST);
    eval 'sub PCSR_DESCR_TO_SEL () {0x1000;}' unless defined(&PCSR_DESCR_TO_SEL);
    eval 'sub PCSR_DESCR_TO_DIS () {0x800;}' unless defined(&PCSR_DESCR_TO_DIS);
    eval 'sub PCSR_LD_SCR_SD () {0x400;}' unless defined(&PCSR_LD_SCR_SD);
    eval 'sub PCSR_TX_QUIET () {0x200;}' unless defined(&PCSR_TX_QUIET);
    eval 'sub PCSR_TX_PATTERN () {0x180;}' unless defined(&PCSR_TX_PATTERN);
    eval 'sub PCSR_F_LINK_100 () {0x40;}' unless defined(&PCSR_F_LINK_100);
    eval 'sub PCSR_CIM_DIS () {0x20;}' unless defined(&PCSR_CIM_DIS);
    eval 'sub PCSR_CIM_STATUS () {0x10;}' unless defined(&PCSR_CIM_STATUS);
    eval 'sub PCSR_CODE_ERR () {0x8;}' unless defined(&PCSR_CODE_ERR);
    eval 'sub PCSR_PME_ERR () {0x4;}' unless defined(&PCSR_PME_ERR);
    eval 'sub PCSR_LINK_ERR () {0x2;}' unless defined(&PCSR_LINK_ERR);
    eval 'sub PCSR_PKT_ERR () {0x1;}' unless defined(&PCSR_PKT_ERR);
    eval 'sub MII_NSPHYTER_LBR () {0x17;}' unless defined(&MII_NSPHYTER_LBR);
    eval 'sub LBR_BP_STRETCH () {0x4000;}' unless defined(&LBR_BP_STRETCH);
    eval 'sub LBR_BP_4B5B () {0x2000;}' unless defined(&LBR_BP_4B5B);
    eval 'sub LBR_BP_SCR () {0x1000;}' unless defined(&LBR_BP_SCR);
    eval 'sub LBR_BP_RX () {0x800;}' unless defined(&LBR_BP_RX);
    eval 'sub LBR_BP_TX () {0x400;}' unless defined(&LBR_BP_TX);
    eval 'sub LBR_100_DP_CTL () {0x380;}' unless defined(&LBR_100_DP_CTL);
    eval 'sub LBR_TW_LBEN () {0x20;}' unless defined(&LBR_TW_LBEN);
    eval 'sub LBR_10_ENDEC_LB () {0x10;}' unless defined(&LBR_10_ENDEC_LB);
    eval 'sub MII_NSPHYTER_10BTSCR () {0x18;}' unless defined(&MII_NSPHYTER_10BTSCR);
    eval 'sub BTSCR_AUI_TPI () {0x2000;}' unless defined(&BTSCR_AUI_TPI);
    eval 'sub BTSCR_RX_SERIAL () {0x1000;}' unless defined(&BTSCR_RX_SERIAL);
    eval 'sub BTSCR_TX_SERIAL () {0x800;}' unless defined(&BTSCR_TX_SERIAL);
    eval 'sub BTSCR_POL_DS () {0x400;}' unless defined(&BTSCR_POL_DS);
    eval 'sub BTSCR_AUTOSW_EN () {0x200;}' unless defined(&BTSCR_AUTOSW_EN);
    eval 'sub BTSCR_LP_DS () {0x100;}' unless defined(&BTSCR_LP_DS);
    eval 'sub BTSCR_HB_DS () {0x80;}' unless defined(&BTSCR_HB_DS);
    eval 'sub BTSCR_LS_SEL () {0x40;}' unless defined(&BTSCR_LS_SEL);
    eval 'sub BTSCR_AUI_SEL () {0x20;}' unless defined(&BTSCR_AUI_SEL);
    eval 'sub BTSCR_JAB_DS () {0x10;}' unless defined(&BTSCR_JAB_DS);
    eval 'sub BTSCR_THIN_SEL () {0x8;}' unless defined(&BTSCR_THIN_SEL);
    eval 'sub BTSCR_TX_FILT_DS () {0x4;}' unless defined(&BTSCR_TX_FILT_DS);
    eval 'sub MII_NSPHYTER_PHYCTRL () {0x19;}' unless defined(&MII_NSPHYTER_PHYCTRL);
    eval 'sub PHYCTRL_TW_EQSEL () {0x3000;}' unless defined(&PHYCTRL_TW_EQSEL);
    eval 'sub PHYCTRL_BLW_DS () {0x800;}' unless defined(&PHYCTRL_BLW_DS);
    eval 'sub PHYCTRL_REPEATER () {0x200;}' unless defined(&PHYCTRL_REPEATER);
    eval 'sub PHYCTRL_LED_TXRX_MODE () {0x180;}' unless defined(&PHYCTRL_LED_TXRX_MODE);
    eval 'sub PHYCTRL_LED_DUP_MODE () {0x40;}' unless defined(&PHYCTRL_LED_DUP_MODE);
    eval 'sub PHYCTRL_FX_EN () {0x20;}' unless defined(&PHYCTRL_FX_EN);
    eval 'sub PHYCTRL_PHYADDR () {0x1f;}' unless defined(&PHYCTRL_PHYADDR);
}
1;
