require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_DEV_MII_NSPHYREG_H_)) {
    eval 'sub _DEV_MII_NSPHYREG_H_ () {1;}' unless defined(&_DEV_MII_NSPHYREG_H_);
    eval 'sub MII_NSPHY_DCR () {0x12;}' unless defined(&MII_NSPHY_DCR);
    eval 'sub MII_NSPHY_FCSCR () {0x13;}' unless defined(&MII_NSPHY_FCSCR);
    eval 'sub MII_NSPHY_RECR () {0x15;}' unless defined(&MII_NSPHY_RECR);
    eval 'sub MII_NSPHY_SRR () {0x16;}' unless defined(&MII_NSPHY_SRR);
    eval 'sub MII_NSPHY_PCR () {0x17;}' unless defined(&MII_NSPHY_PCR);
    eval 'sub PCR_NRZI () {0x8000;}' unless defined(&PCR_NRZI);
    eval 'sub PCR_DESCRTOSEL () {0x4000;}' unless defined(&PCR_DESCRTOSEL);
    eval 'sub PCR_DESCRTODIS () {0x2000;}' unless defined(&PCR_DESCRTODIS);
    eval 'sub PCR_REPEATER () {0x1000;}' unless defined(&PCR_REPEATER);
    eval 'sub PCR_ENCSEL () {0x800;}' unless defined(&PCR_ENCSEL);
    eval 'sub PCR_TXREADYSEL () {0x400;}' unless defined(&PCR_TXREADYSEL);
    eval 'sub PCR_CONGCTRL () {0x100;}' unless defined(&PCR_CONGCTRL);
    eval 'sub PCR_CLK25MDIS () {0x80;}' unless defined(&PCR_CLK25MDIS);
    eval 'sub PCR_FLINK100 () {0x40;}' unless defined(&PCR_FLINK100);
    eval 'sub PCR_CIMDIS () {0x20;}' unless defined(&PCR_CIMDIS);
    eval 'sub PCR_TXOFF () {0x10;}' unless defined(&PCR_TXOFF);
    eval 'sub PCR_LED1MODE () {0x4;}' unless defined(&PCR_LED1MODE);
    eval 'sub PCR_LED4MODE () {0x2;}' unless defined(&PCR_LED4MODE);
    eval 'sub MII_NSPHY_LBREMR () {0x18;}' unless defined(&MII_NSPHY_LBREMR);
    eval 'sub LBREMR_BADSSDEN () {0x8000;}' unless defined(&LBREMR_BADSSDEN);
    eval 'sub LBREMR_BP4B5B () {0x4000;}' unless defined(&LBREMR_BP4B5B);
    eval 'sub LBREMR_BPSCR () {0x2000;}' unless defined(&LBREMR_BPSCR);
    eval 'sub LBREMR_BPALIGN () {0x1000;}' unless defined(&LBREMR_BPALIGN);
    eval 'sub LBREMR_10LOOP () {0x800;}' unless defined(&LBREMR_10LOOP);
    eval 'sub LBREMR_LB1 () {0x200;}' unless defined(&LBREMR_LB1);
    eval 'sub LBREMR_LB0 () {0x100;}' unless defined(&LBREMR_LB0);
    eval 'sub LBREMR_ALTCRS () {0x40;}' unless defined(&LBREMR_ALTCRS);
    eval 'sub LBREMR_LOOPXMTDIS () {0x20;}' unless defined(&LBREMR_LOOPXMTDIS);
    eval 'sub LBREMR_CODEERR () {0x10;}' unless defined(&LBREMR_CODEERR);
    eval 'sub LBREMR_PEERR () {0x8;}' unless defined(&LBREMR_PEERR);
    eval 'sub LBREMR_LINKERR () {0x4;}' unless defined(&LBREMR_LINKERR);
    eval 'sub LBREMR_PKTERR () {0x2;}' unless defined(&LBREMR_PKTERR);
    eval 'sub MII_NSPHY_PAR () {0x19;}' unless defined(&MII_NSPHY_PAR);
    eval 'sub PAR_DISCRSJAB () {0x800;}' unless defined(&PAR_DISCRSJAB);
    eval 'sub PAR_ANENSTAT () {0x400;}' unless defined(&PAR_ANENSTAT);
    eval 'sub PAR_FEFIEN () {0x100;}' unless defined(&PAR_FEFIEN);
    eval 'sub PAR_FDX () {0x80;}' unless defined(&PAR_FDX);
    eval 'sub PAR_10 () {0x40;}' unless defined(&PAR_10);
    eval 'sub PAR_CON () {0x20;}' unless defined(&PAR_CON);
    eval 'sub PAR_AMASK () {0x1f;}' unless defined(&PAR_AMASK);
    eval 'sub MII_NSPHY_10BTSR () {0x1b;}' unless defined(&MII_NSPHY_10BTSR);
    eval 'sub MII_NSPHY_10BTCR () {0x1c;}' unless defined(&MII_NSPHY_10BTCR);
}
1;
