require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_IF_VGEREG_H_)) {
    eval 'sub _IF_VGEREG_H_ () {1;}' unless defined(&_IF_VGEREG_H_);
    eval 'sub VIA_VENDORID () {0x1106;}' unless defined(&VIA_VENDORID);
    eval 'sub VIA_DEVICEID_61XX () {0x3119;}' unless defined(&VIA_DEVICEID_61XX);
    eval 'sub VGE_PAR0 () {0x;}' unless defined(&VGE_PAR0);
    eval 'sub VGE_PAR1 () {0x2;}' unless defined(&VGE_PAR1);
    eval 'sub VGE_PAR2 () {0x4;}' unless defined(&VGE_PAR2);
    eval 'sub VGE_RXCTL () {0x6;}' unless defined(&VGE_RXCTL);
    eval 'sub VGE_TXCTL () {0x7;}' unless defined(&VGE_TXCTL);
    eval 'sub VGE_CRS0 () {0x8;}' unless defined(&VGE_CRS0);
    eval 'sub VGE_CRS1 () {0x9;}' unless defined(&VGE_CRS1);
    eval 'sub VGE_CRS2 () {0xa;}' unless defined(&VGE_CRS2);
    eval 'sub VGE_CRS3 () {0xb;}' unless defined(&VGE_CRS3);
    eval 'sub VGE_CRC0 () {0xc;}' unless defined(&VGE_CRC0);
    eval 'sub VGE_CRC1 () {0xd;}' unless defined(&VGE_CRC1);
    eval 'sub VGE_CRC2 () {0xe;}' unless defined(&VGE_CRC2);
    eval 'sub VGE_CRC3 () {0xf;}' unless defined(&VGE_CRC3);
    eval 'sub VGE_MAR0 () {0x10;}' unless defined(&VGE_MAR0);
    eval 'sub VGE_MAR1 () {0x14;}' unless defined(&VGE_MAR1);
    eval 'sub VGE_CAM0 () {0x10;}' unless defined(&VGE_CAM0);
    eval 'sub VGE_CAM1 () {0x11;}' unless defined(&VGE_CAM1);
    eval 'sub VGE_CAM2 () {0x12;}' unless defined(&VGE_CAM2);
    eval 'sub VGE_CAM3 () {0x13;}' unless defined(&VGE_CAM3);
    eval 'sub VGE_CAM4 () {0x14;}' unless defined(&VGE_CAM4);
    eval 'sub VGE_CAM5 () {0x15;}' unless defined(&VGE_CAM5);
    eval 'sub VGE_CAM6 () {0x16;}' unless defined(&VGE_CAM6);
    eval 'sub VGE_CAM7 () {0x17;}' unless defined(&VGE_CAM7);
    eval 'sub VGE_TXDESC_HIADDR () {0x18;}' unless defined(&VGE_TXDESC_HIADDR);
    eval 'sub VGE_DATABUF_HIADDR () {0x1d;}' unless defined(&VGE_DATABUF_HIADDR);
    eval 'sub VGE_INTCTL0 () {0x20;}' unless defined(&VGE_INTCTL0);
    eval 'sub VGE_RXSUPPTHR () {0x20;}' unless defined(&VGE_RXSUPPTHR);
    eval 'sub VGE_TXSUPPTHR () {0x20;}' unless defined(&VGE_TXSUPPTHR);
    eval 'sub VGE_INTHOLDOFF () {0x20;}' unless defined(&VGE_INTHOLDOFF);
    eval 'sub VGE_INTCTL1 () {0x21;}' unless defined(&VGE_INTCTL1);
    eval 'sub VGE_TXHOSTERR () {0x22;}' unless defined(&VGE_TXHOSTERR);
    eval 'sub VGE_RXHOSTERR () {0x23;}' unless defined(&VGE_RXHOSTERR);
    eval 'sub VGE_ISR () {0x24;}' unless defined(&VGE_ISR);
    eval 'sub VGE_IMR () {0x28;}' unless defined(&VGE_IMR);
    eval 'sub VGE_TXSTS_PORT () {0x2c;}' unless defined(&VGE_TXSTS_PORT);
    eval 'sub VGE_TXQCSRS () {0x30;}' unless defined(&VGE_TXQCSRS);
    eval 'sub VGE_RXQCSRS () {0x32;}' unless defined(&VGE_RXQCSRS);
    eval 'sub VGE_TXQCSRC () {0x34;}' unless defined(&VGE_TXQCSRC);
    eval 'sub VGE_RXQCSRC () {0x36;}' unless defined(&VGE_RXQCSRC);
    eval 'sub VGE_RXDESC_ADDR_LO () {0x38;}' unless defined(&VGE_RXDESC_ADDR_LO);
    eval 'sub VGE_RXDESC_CONSIDX () {0x3c;}' unless defined(&VGE_RXDESC_CONSIDX);
    eval 'sub VGE_RXQTIMER () {0x3e;}' unless defined(&VGE_RXQTIMER);
    eval 'sub VGE_TXQTIMER () {0x3f;}' unless defined(&VGE_TXQTIMER);
    eval 'sub VGE_TXDESC_ADDR_LO0 () {0x40;}' unless defined(&VGE_TXDESC_ADDR_LO0);
    eval 'sub VGE_TXDESC_ADDR_LO1 () {0x44;}' unless defined(&VGE_TXDESC_ADDR_LO1);
    eval 'sub VGE_TXDESC_ADDR_LO2 () {0x48;}' unless defined(&VGE_TXDESC_ADDR_LO2);
    eval 'sub VGE_TXDESC_ADDR_LO3 () {0x4c;}' unless defined(&VGE_TXDESC_ADDR_LO3);
    eval 'sub VGE_RXDESCNUM () {0x50;}' unless defined(&VGE_RXDESCNUM);
    eval 'sub VGE_TXDESCNUM () {0x52;}' unless defined(&VGE_TXDESCNUM);
    eval 'sub VGE_TXDESC_CONSIDX0 () {0x54;}' unless defined(&VGE_TXDESC_CONSIDX0);
    eval 'sub VGE_TXDESC_CONSIDX1 () {0x56;}' unless defined(&VGE_TXDESC_CONSIDX1);
    eval 'sub VGE_TXDESC_CONSIDX2 () {0x58;}' unless defined(&VGE_TXDESC_CONSIDX2);
    eval 'sub VGE_TXDESC_CONSIDX3 () {0x5a;}' unless defined(&VGE_TXDESC_CONSIDX3);
    eval 'sub VGE_TX_PAUSE_TIMER () {0x5c;}' unless defined(&VGE_TX_PAUSE_TIMER);
    eval 'sub VGE_RXDESC_RESIDUECNT () {0x5e;}' unless defined(&VGE_RXDESC_RESIDUECNT);
    eval 'sub VGE_FIFOTEST0 () {0x60;}' unless defined(&VGE_FIFOTEST0);
    eval 'sub VGE_FIFOTEST1 () {0x64;}' unless defined(&VGE_FIFOTEST1);
    eval 'sub VGE_CAMADDR () {0x68;}' unless defined(&VGE_CAMADDR);
    eval 'sub VGE_CAMCTL () {0x69;}' unless defined(&VGE_CAMCTL);
    eval 'sub VGE_GFTEST () {0x6a;}' unless defined(&VGE_GFTEST);
    eval 'sub VGE_FTSCMD () {0x6b;}' unless defined(&VGE_FTSCMD);
    eval 'sub VGE_MIICFG () {0x6c;}' unless defined(&VGE_MIICFG);
    eval 'sub VGE_MIISTS () {0x6d;}' unless defined(&VGE_MIISTS);
    eval 'sub VGE_PHYSTS0 () {0x6e;}' unless defined(&VGE_PHYSTS0);
    eval 'sub VGE_PHYSTS1 () {0x6f;}' unless defined(&VGE_PHYSTS1);
    eval 'sub VGE_MIICMD () {0x70;}' unless defined(&VGE_MIICMD);
    eval 'sub VGE_MIIADDR () {0x71;}' unless defined(&VGE_MIIADDR);
    eval 'sub VGE_MIIDATA () {0x72;}' unless defined(&VGE_MIIDATA);
    eval 'sub VGE_SSTIMER () {0x74;}' unless defined(&VGE_SSTIMER);
    eval 'sub VGE_PTIMER () {0x76;}' unless defined(&VGE_PTIMER);
    eval 'sub VGE_CHIPCFG0 () {0x78;}' unless defined(&VGE_CHIPCFG0);
    eval 'sub VGE_CHIPCFG1 () {0x79;}' unless defined(&VGE_CHIPCFG1);
    eval 'sub VGE_CHIPCFG2 () {0x7a;}' unless defined(&VGE_CHIPCFG2);
    eval 'sub VGE_CHIPCFG3 () {0x7b;}' unless defined(&VGE_CHIPCFG3);
    eval 'sub VGE_DMACFG0 () {0x7c;}' unless defined(&VGE_DMACFG0);
    eval 'sub VGE_DMACFG1 () {0x7d;}' unless defined(&VGE_DMACFG1);
    eval 'sub VGE_RXCFG () {0x7e;}' unless defined(&VGE_RXCFG);
    eval 'sub VGE_TXCFG () {0x7f;}' unless defined(&VGE_TXCFG);
    eval 'sub VGE_PWRMGMT () {0x82;}' unless defined(&VGE_PWRMGMT);
    eval 'sub VGE_PWRSTAT () {0x83;}' unless defined(&VGE_PWRSTAT);
    eval 'sub VGE_MIBCSR () {0x84;}' unless defined(&VGE_MIBCSR);
    eval 'sub VGE_SWEEDATA () {0x85;}' unless defined(&VGE_SWEEDATA);
    eval 'sub VGE_MIBDATA () {0x88;}' unless defined(&VGE_MIBDATA);
    eval 'sub VGE_EEWRDAT () {0x8c;}' unless defined(&VGE_EEWRDAT);
    eval 'sub VGE_EECSUM () {0x92;}' unless defined(&VGE_EECSUM);
    eval 'sub VGE_EECSR () {0x93;}' unless defined(&VGE_EECSR);
    eval 'sub VGE_EERDDAT () {0x94;}' unless defined(&VGE_EERDDAT);
    eval 'sub VGE_EEADDR () {0x96;}' unless defined(&VGE_EEADDR);
    eval 'sub VGE_EECMD () {0x97;}' unless defined(&VGE_EECMD);
    eval 'sub VGE_CHIPSTRAP () {0x99;}' unless defined(&VGE_CHIPSTRAP);
    eval 'sub VGE_MEDIASTRAP () {0x9b;}' unless defined(&VGE_MEDIASTRAP);
    eval 'sub VGE_DIAGSTS () {0x9c;}' unless defined(&VGE_DIAGSTS);
    eval 'sub VGE_DBGCTL () {0x9e;}' unless defined(&VGE_DBGCTL);
    eval 'sub VGE_DIAGCTL () {0x9f;}' unless defined(&VGE_DIAGCTL);
    eval 'sub VGE_WOLCR0S () {0xa0;}' unless defined(&VGE_WOLCR0S);
    eval 'sub VGE_WOLCR1S () {0xa1;}' unless defined(&VGE_WOLCR1S);
    eval 'sub VGE_PWRCFGS () {0xa2;}' unless defined(&VGE_PWRCFGS);
    eval 'sub VGE_WOLCFGS () {0xa3;}' unless defined(&VGE_WOLCFGS);
    eval 'sub VGE_WOLCR0C () {0xa4;}' unless defined(&VGE_WOLCR0C);
    eval 'sub VGE_WOLCR1C () {0xa5;}' unless defined(&VGE_WOLCR1C);
    eval 'sub VGE_PWRCFGC () {0xa6;}' unless defined(&VGE_PWRCFGC);
    eval 'sub VGE_WOLCFGC () {0xa7;}' unless defined(&VGE_WOLCFGC);
    eval 'sub VGE_WOLSR0S () {0xa8;}' unless defined(&VGE_WOLSR0S);
    eval 'sub VGE_WOLSR1S () {0xa9;}' unless defined(&VGE_WOLSR1S);
    eval 'sub VGE_WOLSR0C () {0xac;}' unless defined(&VGE_WOLSR0C);
    eval 'sub VGE_WOLSR1C () {0xad;}' unless defined(&VGE_WOLSR1C);
    eval 'sub VGE_WAKEPAT_CRC0 () {0xb0;}' unless defined(&VGE_WAKEPAT_CRC0);
    eval 'sub VGE_WAKEPAT_CRC1 () {0xb2;}' unless defined(&VGE_WAKEPAT_CRC1);
    eval 'sub VGE_WAKEPAT_CRC2 () {0xb4;}' unless defined(&VGE_WAKEPAT_CRC2);
    eval 'sub VGE_WAKEPAT_CRC3 () {0xb6;}' unless defined(&VGE_WAKEPAT_CRC3);
    eval 'sub VGE_WAKEPAT_CRC4 () {0xb8;}' unless defined(&VGE_WAKEPAT_CRC4);
    eval 'sub VGE_WAKEPAT_CRC5 () {0xba;}' unless defined(&VGE_WAKEPAT_CRC5);
    eval 'sub VGE_WAKEPAT_CRC6 () {0xbc;}' unless defined(&VGE_WAKEPAT_CRC6);
    eval 'sub VGE_WAKEPAT_CRC7 () {0xbe;}' unless defined(&VGE_WAKEPAT_CRC7);
    eval 'sub VGE_WAKEPAT_MSK0_0 () {0xc0;}' unless defined(&VGE_WAKEPAT_MSK0_0);
    eval 'sub VGE_WAKEPAT_MSK0_1 () {0xc4;}' unless defined(&VGE_WAKEPAT_MSK0_1);
    eval 'sub VGE_WAKEPAT_MSK0_2 () {0xc8;}' unless defined(&VGE_WAKEPAT_MSK0_2);
    eval 'sub VGE_WAKEPAT_MSK0_3 () {0xcc;}' unless defined(&VGE_WAKEPAT_MSK0_3);
    eval 'sub VGE_WAKEPAT_MSK1_0 () {0xd0;}' unless defined(&VGE_WAKEPAT_MSK1_0);
    eval 'sub VGE_WAKEPAT_MSK1_1 () {0xd4;}' unless defined(&VGE_WAKEPAT_MSK1_1);
    eval 'sub VGE_WAKEPAT_MSK1_2 () {0xd8;}' unless defined(&VGE_WAKEPAT_MSK1_2);
    eval 'sub VGE_WAKEPAT_MSK1_3 () {0xdc;}' unless defined(&VGE_WAKEPAT_MSK1_3);
    eval 'sub VGE_WAKEPAT_MSK2_0 () {0xe0;}' unless defined(&VGE_WAKEPAT_MSK2_0);
    eval 'sub VGE_WAKEPAT_MSK2_1 () {0xe4;}' unless defined(&VGE_WAKEPAT_MSK2_1);
    eval 'sub VGE_WAKEPAT_MSK2_2 () {0xe8;}' unless defined(&VGE_WAKEPAT_MSK2_2);
    eval 'sub VGE_WAKEPAT_MSK2_3 () {0xec;}' unless defined(&VGE_WAKEPAT_MSK2_3);
    eval 'sub VGE_WAKEPAT_MSK3_0 () {0xf0;}' unless defined(&VGE_WAKEPAT_MSK3_0);
    eval 'sub VGE_WAKEPAT_MSK3_1 () {0xf4;}' unless defined(&VGE_WAKEPAT_MSK3_1);
    eval 'sub VGE_WAKEPAT_MSK3_2 () {0xf8;}' unless defined(&VGE_WAKEPAT_MSK3_2);
    eval 'sub VGE_WAKEPAT_MSK3_3 () {0xfc;}' unless defined(&VGE_WAKEPAT_MSK3_3);
    eval 'sub VGE_RXCTL_RX_BADFRAMES () {0x1;}' unless defined(&VGE_RXCTL_RX_BADFRAMES);
    eval 'sub VGE_RXCTL_RX_RUNT () {0x2;}' unless defined(&VGE_RXCTL_RX_RUNT);
    eval 'sub VGE_RXCTL_RX_MCAST () {0x4;}' unless defined(&VGE_RXCTL_RX_MCAST);
    eval 'sub VGE_RXCTL_RX_BCAST () {0x8;}' unless defined(&VGE_RXCTL_RX_BCAST);
    eval 'sub VGE_RXCTL_RX_PROMISC () {0x10;}' unless defined(&VGE_RXCTL_RX_PROMISC);
    eval 'sub VGE_RXCTL_RX_GIANT () {0x20;}' unless defined(&VGE_RXCTL_RX_GIANT);
    eval 'sub VGE_RXCTL_RX_UCAST () {0x40;}' unless defined(&VGE_RXCTL_RX_UCAST);
    eval 'sub VGE_RXCTL_RX_SYMERR () {0x80;}' unless defined(&VGE_RXCTL_RX_SYMERR);
    eval 'sub VGE_TXCTL_LOOPCTL () {0x3;}' unless defined(&VGE_TXCTL_LOOPCTL);
    eval 'sub VGE_TXCTL_COLLCTL () {0xc;}' unless defined(&VGE_TXCTL_COLLCTL);
    eval 'sub VGE_TXLOOPCTL_OFF () {0x;}' unless defined(&VGE_TXLOOPCTL_OFF);
    eval 'sub VGE_TXLOOPCTL_MAC_INTERNAL () {0x1;}' unless defined(&VGE_TXLOOPCTL_MAC_INTERNAL);
    eval 'sub VGE_TXLOOPCTL_EXTERNAL () {0x2;}' unless defined(&VGE_TXLOOPCTL_EXTERNAL);
    eval 'sub VGE_TXCOLLS_NORMAL () {0x;}' unless defined(&VGE_TXCOLLS_NORMAL);
    eval 'sub VGE_TXCOLLS_32 () {0x4;}' unless defined(&VGE_TXCOLLS_32);
    eval 'sub VGE_TXCOLLS_48 () {0x8;}' unless defined(&VGE_TXCOLLS_48);
    eval 'sub VGE_TXCOLLS_INFINITE () {0xc;}' unless defined(&VGE_TXCOLLS_INFINITE);
    eval 'sub VGE_CR0_START () {0x1;}' unless defined(&VGE_CR0_START);
    eval 'sub VGE_CR0_STOP () {0x2;}' unless defined(&VGE_CR0_STOP);
    eval 'sub VGE_CR0_RX_ENABLE () {0x4;}' unless defined(&VGE_CR0_RX_ENABLE);
    eval 'sub VGE_CR0_TX_ENABLE () {0x8;}' unless defined(&VGE_CR0_TX_ENABLE);
    eval 'sub VGE_CR1_NOUCAST () {0x1;}' unless defined(&VGE_CR1_NOUCAST);
    eval 'sub VGE_CR1_NOPOLL () {0x8;}' unless defined(&VGE_CR1_NOPOLL);
    eval 'sub VGE_CR1_TIMER0_ENABLE () {0x20;}' unless defined(&VGE_CR1_TIMER0_ENABLE);
    eval 'sub VGE_CR1_TIMER1_ENABLE () {0x40;}' unless defined(&VGE_CR1_TIMER1_ENABLE);
    eval 'sub VGE_CR1_SOFTRESET () {0x80;}' unless defined(&VGE_CR1_SOFTRESET);
    eval 'sub VGE_CR2_TXPAUSE_THRESH_LO () {0x3;}' unless defined(&VGE_CR2_TXPAUSE_THRESH_LO);
    eval 'sub VGE_CR2_TXPAUSE_THRESH_HI () {0xc;}' unless defined(&VGE_CR2_TXPAUSE_THRESH_HI);
    eval 'sub VGE_CR2_HDX_FLOWCTL_ENABLE () {0x10;}' unless defined(&VGE_CR2_HDX_FLOWCTL_ENABLE);
    eval 'sub VGE_CR2_FDX_RXFLOWCTL_ENABLE () {0x20;}' unless defined(&VGE_CR2_FDX_RXFLOWCTL_ENABLE);
    eval 'sub VGE_CR2_FDX_TXFLOWCTL_ENABLE () {0x40;}' unless defined(&VGE_CR2_FDX_TXFLOWCTL_ENABLE);
    eval 'sub VGE_CR2_XON_ENABLE () {0x80;}' unless defined(&VGE_CR2_XON_ENABLE);
    eval 'sub VGE_CR3_INT_SWPEND () {0x1;}' unless defined(&VGE_CR3_INT_SWPEND);
    eval 'sub VGE_CR3_INT_GMSK () {0x2;}' unless defined(&VGE_CR3_INT_GMSK);
    eval 'sub VGE_CR3_INT_HOLDOFF () {0x4;}' unless defined(&VGE_CR3_INT_HOLDOFF);
    eval 'sub VGE_CR3_DIAG () {0x10;}' unless defined(&VGE_CR3_DIAG);
    eval 'sub VGE_CR3_PHYRST () {0x20;}' unless defined(&VGE_CR3_PHYRST);
    eval 'sub VGE_CR3_STOP_FORCE () {0x40;}' unless defined(&VGE_CR3_STOP_FORCE);
    eval 'sub VGE_INTCTL_SC_RELOAD () {0x1;}' unless defined(&VGE_INTCTL_SC_RELOAD);
    eval 'sub VGE_INTCTL_HC_RELOAD () {0x2;}' unless defined(&VGE_INTCTL_HC_RELOAD);
    eval 'sub VGE_INTCTL_STATUS () {0x4;}' unless defined(&VGE_INTCTL_STATUS);
    eval 'sub VGE_INTCTL_MASK () {0x18;}' unless defined(&VGE_INTCTL_MASK);
    eval 'sub VGE_INTCTL_RXINTSUP_DISABLE () {0x20;}' unless defined(&VGE_INTCTL_RXINTSUP_DISABLE);
    eval 'sub VGE_INTCTL_TXINTSUP_DISABLE () {0x40;}' unless defined(&VGE_INTCTL_TXINTSUP_DISABLE);
    eval 'sub VGE_INTCTL_SOFTINT () {0x80;}' unless defined(&VGE_INTCTL_SOFTINT);
    eval 'sub VGE_INTMASK_LAYER0 () {0x;}' unless defined(&VGE_INTMASK_LAYER0);
    eval 'sub VGE_INTMASK_LAYER1 () {0x8;}' unless defined(&VGE_INTMASK_LAYER1);
    eval 'sub VGE_INTMASK_ALL () {0x10;}' unless defined(&VGE_INTMASK_ALL);
    eval 'sub VGE_INTMASK_ALL2 () {0x18;}' unless defined(&VGE_INTMASK_ALL2);
    eval 'sub VGE_TXHOSTERR_TDSTRUCT () {0x1;}' unless defined(&VGE_TXHOSTERR_TDSTRUCT);
    eval 'sub VGE_TXHOSTERR_TDFETCH_BUSERR () {0x2;}' unless defined(&VGE_TXHOSTERR_TDFETCH_BUSERR);
    eval 'sub VGE_TXHOSTERR_TDWBACK_BUSERR () {0x4;}' unless defined(&VGE_TXHOSTERR_TDWBACK_BUSERR);
    eval 'sub VGE_TXHOSTERR_FIFOERR () {0x8;}' unless defined(&VGE_TXHOSTERR_FIFOERR);
    eval 'sub VGE_RXHOSTERR_RDSTRUCT () {0x1;}' unless defined(&VGE_RXHOSTERR_RDSTRUCT);
    eval 'sub VGE_RXHOSTERR_RDFETCH_BUSERR () {0x2;}' unless defined(&VGE_RXHOSTERR_RDFETCH_BUSERR);
    eval 'sub VGE_RXHOSTERR_RDWBACK_BUSERR () {0x4;}' unless defined(&VGE_RXHOSTERR_RDWBACK_BUSERR);
    eval 'sub VGE_RXHOSTERR_FIFOERR () {0x8;}' unless defined(&VGE_RXHOSTERR_FIFOERR);
    eval 'sub VGE_ISR_RXOK_HIPRIO () {0x1;}' unless defined(&VGE_ISR_RXOK_HIPRIO);
    eval 'sub VGE_ISR_TXOK_HIPRIO () {0x2;}' unless defined(&VGE_ISR_TXOK_HIPRIO);
    eval 'sub VGE_ISR_RXOK () {0x4;}' unless defined(&VGE_ISR_RXOK);
    eval 'sub VGE_ISR_TXOK () {0x8;}' unless defined(&VGE_ISR_TXOK);
    eval 'sub VGE_ISR_TXOK0 () {0x10;}' unless defined(&VGE_ISR_TXOK0);
    eval 'sub VGE_ISR_TXOK1 () {0x20;}' unless defined(&VGE_ISR_TXOK1);
    eval 'sub VGE_ISR_TXOK2 () {0x40;}' unless defined(&VGE_ISR_TXOK2);
    eval 'sub VGE_ISR_TXOK3 () {0x80;}' unless defined(&VGE_ISR_TXOK3);
    eval 'sub VGE_ISR_RXCNTOFLOW () {0x400;}' unless defined(&VGE_ISR_RXCNTOFLOW);
    eval 'sub VGE_ISR_RXPAUSE () {0x800;}' unless defined(&VGE_ISR_RXPAUSE);
    eval 'sub VGE_ISR_RXOFLOW () {0x1000;}' unless defined(&VGE_ISR_RXOFLOW);
    eval 'sub VGE_ISR_RXNODESC () {0x2000;}' unless defined(&VGE_ISR_RXNODESC);
    eval 'sub VGE_ISR_RXNODESC_WARN () {0x4000;}' unless defined(&VGE_ISR_RXNODESC_WARN);
    eval 'sub VGE_ISR_LINKSTS () {0x8000;}' unless defined(&VGE_ISR_LINKSTS);
    eval 'sub VGE_ISR_TIMER0 () {0x10000;}' unless defined(&VGE_ISR_TIMER0);
    eval 'sub VGE_ISR_TIMER1 () {0x20000;}' unless defined(&VGE_ISR_TIMER1);
    eval 'sub VGE_ISR_PWR () {0x40000;}' unless defined(&VGE_ISR_PWR);
    eval 'sub VGE_ISR_PHYINT () {0x80000;}' unless defined(&VGE_ISR_PHYINT);
    eval 'sub VGE_ISR_STOPPED () {0x100000;}' unless defined(&VGE_ISR_STOPPED);
    eval 'sub VGE_ISR_MIBOFLOW () {0x200000;}' unless defined(&VGE_ISR_MIBOFLOW);
    eval 'sub VGE_ISR_SOFTINT () {0x400000;}' unless defined(&VGE_ISR_SOFTINT);
    eval 'sub VGE_ISR_HOLDOFF_RELOAD () {0x800000;}' unless defined(&VGE_ISR_HOLDOFF_RELOAD);
    eval 'sub VGE_ISR_RXDMA_STALL () {0x1000000;}' unless defined(&VGE_ISR_RXDMA_STALL);
    eval 'sub VGE_ISR_TXDMA_STALL () {0x2000000;}' unless defined(&VGE_ISR_TXDMA_STALL);
    eval 'sub VGE_ISR_ISRC0 () {0x10000000;}' unless defined(&VGE_ISR_ISRC0);
    eval 'sub VGE_ISR_ISRC1 () {0x20000000;}' unless defined(&VGE_ISR_ISRC1);
    eval 'sub VGE_ISR_ISRC2 () {0x40000000;}' unless defined(&VGE_ISR_ISRC2);
    eval 'sub VGE_ISR_ISRC3 () {0x80000000;}' unless defined(&VGE_ISR_ISRC3);
    eval 'sub VGE_INTRS () {( &VGE_ISR_TXOK0| &VGE_ISR_RXOK| &VGE_ISR_STOPPED|  &VGE_ISR_RXOFLOW| &VGE_ISR_PHYINT|  &VGE_ISR_LINKSTS| &VGE_ISR_RXNODESC|  &VGE_ISR_RXDMA_STALL| &VGE_ISR_TXDMA_STALL|  &VGE_ISR_MIBOFLOW| &VGE_ISR_TIMER0);}' unless defined(&VGE_INTRS);
    eval 'sub VGE_IMR_RXOK_HIPRIO () {0x1;}' unless defined(&VGE_IMR_RXOK_HIPRIO);
    eval 'sub VGE_IMR_TXOK_HIPRIO () {0x2;}' unless defined(&VGE_IMR_TXOK_HIPRIO);
    eval 'sub VGE_IMR_RXOK () {0x4;}' unless defined(&VGE_IMR_RXOK);
    eval 'sub VGE_IMR_TXOK () {0x8;}' unless defined(&VGE_IMR_TXOK);
    eval 'sub VGE_IMR_TXOK0 () {0x10;}' unless defined(&VGE_IMR_TXOK0);
    eval 'sub VGE_IMR_TXOK1 () {0x20;}' unless defined(&VGE_IMR_TXOK1);
    eval 'sub VGE_IMR_TXOK2 () {0x40;}' unless defined(&VGE_IMR_TXOK2);
    eval 'sub VGE_IMR_TXOK3 () {0x80;}' unless defined(&VGE_IMR_TXOK3);
    eval 'sub VGE_IMR_RXCNTOFLOW () {0x400;}' unless defined(&VGE_IMR_RXCNTOFLOW);
    eval 'sub VGE_IMR_RXPAUSE () {0x800;}' unless defined(&VGE_IMR_RXPAUSE);
    eval 'sub VGE_IMR_RXOFLOW () {0x1000;}' unless defined(&VGE_IMR_RXOFLOW);
    eval 'sub VGE_IMR_RXNODESC () {0x2000;}' unless defined(&VGE_IMR_RXNODESC);
    eval 'sub VGE_IMR_RXNODESC_WARN () {0x4000;}' unless defined(&VGE_IMR_RXNODESC_WARN);
    eval 'sub VGE_IMR_LINKSTS () {0x8000;}' unless defined(&VGE_IMR_LINKSTS);
    eval 'sub VGE_IMR_TIMER0 () {0x10000;}' unless defined(&VGE_IMR_TIMER0);
    eval 'sub VGE_IMR_TIMER1 () {0x20000;}' unless defined(&VGE_IMR_TIMER1);
    eval 'sub VGE_IMR_PWR () {0x40000;}' unless defined(&VGE_IMR_PWR);
    eval 'sub VGE_IMR_PHYINT () {0x80000;}' unless defined(&VGE_IMR_PHYINT);
    eval 'sub VGE_IMR_STOPPED () {0x100000;}' unless defined(&VGE_IMR_STOPPED);
    eval 'sub VGE_IMR_MIBOFLOW () {0x200000;}' unless defined(&VGE_IMR_MIBOFLOW);
    eval 'sub VGE_IMR_SOFTINT () {0x400000;}' unless defined(&VGE_IMR_SOFTINT);
    eval 'sub VGE_IMR_HOLDOFF_RELOAD () {0x800000;}' unless defined(&VGE_IMR_HOLDOFF_RELOAD);
    eval 'sub VGE_IMR_RXDMA_STALL () {0x1000000;}' unless defined(&VGE_IMR_RXDMA_STALL);
    eval 'sub VGE_IMR_TXDMA_STALL () {0x2000000;}' unless defined(&VGE_IMR_TXDMA_STALL);
    eval 'sub VGE_IMR_ISRC0 () {0x10000000;}' unless defined(&VGE_IMR_ISRC0);
    eval 'sub VGE_IMR_ISRC1 () {0x20000000;}' unless defined(&VGE_IMR_ISRC1);
    eval 'sub VGE_IMR_ISRC2 () {0x40000000;}' unless defined(&VGE_IMR_ISRC2);
    eval 'sub VGE_IMR_ISRC3 () {0x80000000;}' unless defined(&VGE_IMR_ISRC3);
    eval 'sub VGE_TXQCSR_RUN0 () {0x1;}' unless defined(&VGE_TXQCSR_RUN0);
    eval 'sub VGE_TXQCSR_ACT0 () {0x2;}' unless defined(&VGE_TXQCSR_ACT0);
    eval 'sub VGE_TXQCSR_WAK0 () {0x4;}' unless defined(&VGE_TXQCSR_WAK0);
    eval 'sub VGE_TXQCST_DEAD0 () {0x8;}' unless defined(&VGE_TXQCST_DEAD0);
    eval 'sub VGE_TXQCSR_RUN1 () {0x10;}' unless defined(&VGE_TXQCSR_RUN1);
    eval 'sub VGE_TXQCSR_ACT1 () {0x20;}' unless defined(&VGE_TXQCSR_ACT1);
    eval 'sub VGE_TXQCSR_WAK1 () {0x40;}' unless defined(&VGE_TXQCSR_WAK1);
    eval 'sub VGE_TXQCST_DEAD1 () {0x80;}' unless defined(&VGE_TXQCST_DEAD1);
    eval 'sub VGE_TXQCSR_RUN2 () {0x100;}' unless defined(&VGE_TXQCSR_RUN2);
    eval 'sub VGE_TXQCSR_ACT2 () {0x200;}' unless defined(&VGE_TXQCSR_ACT2);
    eval 'sub VGE_TXQCSR_WAK2 () {0x400;}' unless defined(&VGE_TXQCSR_WAK2);
    eval 'sub VGE_TXQCST_DEAD2 () {0x800;}' unless defined(&VGE_TXQCST_DEAD2);
    eval 'sub VGE_TXQCSR_RUN3 () {0x1000;}' unless defined(&VGE_TXQCSR_RUN3);
    eval 'sub VGE_TXQCSR_ACT3 () {0x2000;}' unless defined(&VGE_TXQCSR_ACT3);
    eval 'sub VGE_TXQCSR_WAK3 () {0x4000;}' unless defined(&VGE_TXQCSR_WAK3);
    eval 'sub VGE_TXQCST_DEAD3 () {0x8000;}' unless defined(&VGE_TXQCST_DEAD3);
    eval 'sub VGE_RXQCSR_RUN () {0x1;}' unless defined(&VGE_RXQCSR_RUN);
    eval 'sub VGE_RXQCSR_ACT () {0x2;}' unless defined(&VGE_RXQCSR_ACT);
    eval 'sub VGE_RXQCSR_WAK () {0x4;}' unless defined(&VGE_RXQCSR_WAK);
    eval 'sub VGE_RXQCSR_DEAD () {0x8;}' unless defined(&VGE_RXQCSR_DEAD);
    eval 'sub VGE_QTIMER_PENDCNT () {0x3f;}' unless defined(&VGE_QTIMER_PENDCNT);
    eval 'sub VGE_QTIMER_RESOLUTION () {0xc0;}' unless defined(&VGE_QTIMER_RESOLUTION);
    eval 'sub VGE_QTIMER_RES_1US () {0x;}' unless defined(&VGE_QTIMER_RES_1US);
    eval 'sub VGE_QTIMER_RES_4US () {0x40;}' unless defined(&VGE_QTIMER_RES_4US);
    eval 'sub VGE_QTIMER_RES_16US () {0x80;}' unless defined(&VGE_QTIMER_RES_16US);
    eval 'sub VGE_QTIMER_RES_64US () {0xc0;}' unless defined(&VGE_QTIMER_RES_64US);
    eval 'sub VGE_CAMADDR_ADDR () {0x3f;}' unless defined(&VGE_CAMADDR_ADDR);
    eval 'sub VGE_CAMADDR_AVSEL () {0x40;}' unless defined(&VGE_CAMADDR_AVSEL);
    eval 'sub VGE_CAMADDR_ENABLE () {0x80;}' unless defined(&VGE_CAMADDR_ENABLE);
    eval 'sub VGE_CAM_MAXADDRS () {64;}' unless defined(&VGE_CAM_MAXADDRS);
    eval 'sub VGE_CAMCTL_WRITE () {0x4;}' unless defined(&VGE_CAMCTL_WRITE);
    eval 'sub VGE_CAMCTL_READ () {0x8;}' unless defined(&VGE_CAMCTL_READ);
    eval 'sub VGE_CAMCTL_INTPKT_SIZ () {0x10;}' unless defined(&VGE_CAMCTL_INTPKT_SIZ);
    eval 'sub VGE_CAMCTL_INTPKT_ENB () {0x20;}' unless defined(&VGE_CAMCTL_INTPKT_ENB);
    eval 'sub VGE_CAMCTL_PAGESEL () {0xc0;}' unless defined(&VGE_CAMCTL_PAGESEL);
    eval 'sub VGE_PAGESEL_MAR () {0x;}' unless defined(&VGE_PAGESEL_MAR);
    eval 'sub VGE_PAGESEL_CAMMASK () {0x40;}' unless defined(&VGE_PAGESEL_CAMMASK);
    eval 'sub VGE_PAGESEL_CAMDATA () {0x80;}' unless defined(&VGE_PAGESEL_CAMDATA);
    eval 'sub VGE_PAGESEL_INTHLDOFF () {0x;}' unless defined(&VGE_PAGESEL_INTHLDOFF);
    eval 'sub VGE_PAGESEL_TXSUPPTHR () {0x40;}' unless defined(&VGE_PAGESEL_TXSUPPTHR);
    eval 'sub VGE_PAGESEL_RXSUPPTHR () {0x80;}' unless defined(&VGE_PAGESEL_RXSUPPTHR);
    eval 'sub VGE_PAGESEL_WOLPAT0 () {0x;}' unless defined(&VGE_PAGESEL_WOLPAT0);
    eval 'sub VGE_PAGESEL_WOLPAT1 () {0x40;}' unless defined(&VGE_PAGESEL_WOLPAT1);
    eval 'sub VGE_MIICFG_PHYADDR () {0x1f;}' unless defined(&VGE_MIICFG_PHYADDR);
    eval 'sub VGE_MIICFG_MDCSPEED () {0x20;}' unless defined(&VGE_MIICFG_MDCSPEED);
    eval 'sub VGE_MIICFG_POLLINT () {0xc0;}' unless defined(&VGE_MIICFG_POLLINT);
    eval 'sub VGE_MIIPOLLINT_1024 () {0x;}' unless defined(&VGE_MIIPOLLINT_1024);
    eval 'sub VGE_MIIPOLLINT_512 () {0x40;}' unless defined(&VGE_MIIPOLLINT_512);
    eval 'sub VGE_MIIPOLLINT_128 () {0x80;}' unless defined(&VGE_MIIPOLLINT_128);
    eval 'sub VGE_MIIPOLLINT_64 () {0xc0;}' unless defined(&VGE_MIIPOLLINT_64);
    eval 'sub VGE_MIISTS_IIDL () {0x80;}' unless defined(&VGE_MIISTS_IIDL);
    eval 'sub VGE_PHYSTS_TXFLOWCAP () {0x1;}' unless defined(&VGE_PHYSTS_TXFLOWCAP);
    eval 'sub VGE_PHYSTS_RXFLOWCAP () {0x2;}' unless defined(&VGE_PHYSTS_RXFLOWCAP);
    eval 'sub VGE_PHYSTS_SPEED10 () {0x4;}' unless defined(&VGE_PHYSTS_SPEED10);
    eval 'sub VGE_PHYSTS_SPEED1000 () {0x8;}' unless defined(&VGE_PHYSTS_SPEED1000);
    eval 'sub VGE_PHYSTS_FDX () {0x10;}' unless defined(&VGE_PHYSTS_FDX);
    eval 'sub VGE_PHYSTS_LINK () {0x40;}' unless defined(&VGE_PHYSTS_LINK);
    eval 'sub VGE_PHYSTS_RESETSTS () {0x80;}' unless defined(&VGE_PHYSTS_RESETSTS);
    eval 'sub VGE_MIICMD_MDC () {0x1;}' unless defined(&VGE_MIICMD_MDC);
    eval 'sub VGE_MIICMD_MDI () {0x2;}' unless defined(&VGE_MIICMD_MDI);
    eval 'sub VGE_MIICMD_MDO () {0x4;}' unless defined(&VGE_MIICMD_MDO);
    eval 'sub VGE_MIICMD_MOUT () {0x8;}' unless defined(&VGE_MIICMD_MOUT);
    eval 'sub VGE_MIICMD_MDP () {0x10;}' unless defined(&VGE_MIICMD_MDP);
    eval 'sub VGE_MIICMD_WCMD () {0x20;}' unless defined(&VGE_MIICMD_WCMD);
    eval 'sub VGE_MIICMD_RCMD () {0x40;}' unless defined(&VGE_MIICMD_RCMD);
    eval 'sub VGE_MIICMD_MAUTO () {0x80;}' unless defined(&VGE_MIICMD_MAUTO);
    eval 'sub VGE_MIIADDR_SWMPL () {0x80;}' unless defined(&VGE_MIIADDR_SWMPL);
    eval 'sub VGE_CHIPCFG0_PACPI () {0x1;}' unless defined(&VGE_CHIPCFG0_PACPI);
    eval 'sub VGE_CHIPCFG0_ABSHDN () {0x2;}' unless defined(&VGE_CHIPCFG0_ABSHDN);
    eval 'sub VGE_CHIPCFG0_GPIO1PD () {0x4;}' unless defined(&VGE_CHIPCFG0_GPIO1PD);
    eval 'sub VGE_CHIPCFG0_SKIPTAG () {0x8;}' unless defined(&VGE_CHIPCFG0_SKIPTAG);
    eval 'sub VGE_CHIPCFG0_PHLED () {0x30;}' unless defined(&VGE_CHIPCFG0_PHLED);
    eval 'sub VGE_CHIPCFG1_BAKOPT () {0x1;}' unless defined(&VGE_CHIPCFG1_BAKOPT);
    eval 'sub VGE_CHIPCFG1_MBA () {0x2;}' unless defined(&VGE_CHIPCFG1_MBA);
    eval 'sub VGE_CHIPCFG1_CAP () {0x4;}' unless defined(&VGE_CHIPCFG1_CAP);
    eval 'sub VGE_CHIPCFG1_CRANDOM () {0x8;}' unless defined(&VGE_CHIPCFG1_CRANDOM);
    eval 'sub VGE_CHIPCFG1_OFSET () {0x10;}' unless defined(&VGE_CHIPCFG1_OFSET);
    eval 'sub VGE_CHIPCFG1_SLOTTIME () {0x20;}' unless defined(&VGE_CHIPCFG1_SLOTTIME);
    eval 'sub VGE_CHIPCFG1_MIIOPT () {0x40;}' unless defined(&VGE_CHIPCFG1_MIIOPT);
    eval 'sub VGE_CHIPCFG1_GTCKOPT () {0x80;}' unless defined(&VGE_CHIPCFG1_GTCKOPT);
    eval 'sub VGE_CHIPCFG2_EELOAD () {0x80;}' unless defined(&VGE_CHIPCFG2_EELOAD);
    eval 'sub VGE_CHIPCFG3_64BIT_DAC () {0x20;}' unless defined(&VGE_CHIPCFG3_64BIT_DAC);
    eval 'sub VGE_CHIPCFG3_IODISABLE () {0x80;}' unless defined(&VGE_CHIPCFG3_IODISABLE);
    eval 'sub VGE_DMACFG0_BURSTLEN () {0x7;}' unless defined(&VGE_DMACFG0_BURSTLEN);
    eval 'sub VGE_DMABURST_8 () {0x;}' unless defined(&VGE_DMABURST_8);
    eval 'sub VGE_DMABURST_16 () {0x1;}' unless defined(&VGE_DMABURST_16);
    eval 'sub VGE_DMABURST_32 () {0x2;}' unless defined(&VGE_DMABURST_32);
    eval 'sub VGE_DMABURST_64 () {0x3;}' unless defined(&VGE_DMABURST_64);
    eval 'sub VGE_DMABURST_128 () {0x4;}' unless defined(&VGE_DMABURST_128);
    eval 'sub VGE_DMABURST_256 () {0x5;}' unless defined(&VGE_DMABURST_256);
    eval 'sub VGE_DMABURST_STRFWD () {0x7;}' unless defined(&VGE_DMABURST_STRFWD);
    eval 'sub VGE_DMACFG1_LATENB () {0x1;}' unless defined(&VGE_DMACFG1_LATENB);
    eval 'sub VGE_DMACFG1_MWWAIT () {0x2;}' unless defined(&VGE_DMACFG1_MWWAIT);
    eval 'sub VGE_DMACFG1_MRWAIT () {0x4;}' unless defined(&VGE_DMACFG1_MRWAIT);
    eval 'sub VGE_DMACFG1_MRM () {0x8;}' unless defined(&VGE_DMACFG1_MRM);
    eval 'sub VGE_DMACFG1_PERR_DIS () {0x10;}' unless defined(&VGE_DMACFG1_PERR_DIS);
    eval 'sub VGE_DMACFG1_XMRL () {0x20;}' unless defined(&VGE_DMACFG1_XMRL);
    eval 'sub VGE_RXCFG_VLANFILT () {0x1;}' unless defined(&VGE_RXCFG_VLANFILT);
    eval 'sub VGE_RXCFG_VTAGOPT () {0x6;}' unless defined(&VGE_RXCFG_VTAGOPT);
    eval 'sub VGE_RXCFG_FIFO_LOWAT () {0x8;}' unless defined(&VGE_RXCFG_FIFO_LOWAT);
    eval 'sub VGE_RXCFG_FIFO_THR () {0x30;}' unless defined(&VGE_RXCFG_FIFO_THR);
    eval 'sub VGE_RXCFG_ARB_PRIO () {0x80;}' unless defined(&VGE_RXCFG_ARB_PRIO);
    eval 'sub VGE_VTAG_OPT0 () {0x;}' unless defined(&VGE_VTAG_OPT0);
    eval 'sub VGE_VTAG_OPT1 () {0x2;}' unless defined(&VGE_VTAG_OPT1);
    eval 'sub VGE_VTAG_OPT2 () {0x4;}' unless defined(&VGE_VTAG_OPT2);
    eval 'sub VGE_VTAG_OPT3 () {0x6;}' unless defined(&VGE_VTAG_OPT3);
    eval 'sub VGE_RXFIFOTHR_128BYTES () {0x;}' unless defined(&VGE_RXFIFOTHR_128BYTES);
    eval 'sub VGE_RXFIFOTHR_512BYTES () {0x10;}' unless defined(&VGE_RXFIFOTHR_512BYTES);
    eval 'sub VGE_RXFIFOTHR_1024BYTES () {0x20;}' unless defined(&VGE_RXFIFOTHR_1024BYTES);
    eval 'sub VGE_RXFIFOTHR_STRNFWD () {0x30;}' unless defined(&VGE_RXFIFOTHR_STRNFWD);
    eval 'sub VGE_TXCFG_SNAPOPT () {0x1;}' unless defined(&VGE_TXCFG_SNAPOPT);
    eval 'sub VGE_TXCFG_NONBLK () {0x2;}' unless defined(&VGE_TXCFG_NONBLK);
    eval 'sub VGE_TXCFG_NONBLK_THR () {0xc;}' unless defined(&VGE_TXCFG_NONBLK_THR);
    eval 'sub VGE_TXCFG_ARB_PRIO () {0x80;}' unless defined(&VGE_TXCFG_ARB_PRIO);
    eval 'sub VGE_TXBLOCK_64PKTS () {0x;}' unless defined(&VGE_TXBLOCK_64PKTS);
    eval 'sub VGE_TXBLOCK_32PKTS () {0x4;}' unless defined(&VGE_TXBLOCK_32PKTS);
    eval 'sub VGE_TXBLOCK_128PKTS () {0x8;}' unless defined(&VGE_TXBLOCK_128PKTS);
    eval 'sub VGE_TXBLOCK_8PKTS () {0xc;}' unless defined(&VGE_TXBLOCK_8PKTS);
    eval 'sub VGE_EECSR_EDO () {0x1;}' unless defined(&VGE_EECSR_EDO);
    eval 'sub VGE_EECSR_EDI () {0x2;}' unless defined(&VGE_EECSR_EDI);
    eval 'sub VGE_EECSR_ECK () {0x4;}' unless defined(&VGE_EECSR_ECK);
    eval 'sub VGE_EECSR_ECS () {0x8;}' unless defined(&VGE_EECSR_ECS);
    eval 'sub VGE_EECSR_DPM () {0x10;}' unless defined(&VGE_EECSR_DPM);
    eval 'sub VGE_EECSR_RELOAD () {0x20;}' unless defined(&VGE_EECSR_RELOAD);
    eval 'sub VGE_EECSR_EMBP () {0x40;}' unless defined(&VGE_EECSR_EMBP);
    eval 'sub VGE_EECMD_ERD () {0x1;}' unless defined(&VGE_EECMD_ERD);
    eval 'sub VGE_EECMD_EWR () {0x2;}' unless defined(&VGE_EECMD_EWR);
    eval 'sub VGE_EECMD_EWEN () {0x4;}' unless defined(&VGE_EECMD_EWEN);
    eval 'sub VGE_EECMD_EWDIS () {0x8;}' unless defined(&VGE_EECMD_EWDIS);
    eval 'sub VGE_EECMD_EDONE () {0x80;}' unless defined(&VGE_EECMD_EDONE);
    eval 'sub VGE_DIAGCTL_PHYINT_ENB () {0x1;}' unless defined(&VGE_DIAGCTL_PHYINT_ENB);
    eval 'sub VGE_DIAGCTL_TIMER0_RES () {0x2;}' unless defined(&VGE_DIAGCTL_TIMER0_RES);
    eval 'sub VGE_DIAGCTL_TIMER1_RES () {0x4;}' unless defined(&VGE_DIAGCTL_TIMER1_RES);
    eval 'sub VGE_DIAGCTL_LPSEL_DIS () {0x8;}' unless defined(&VGE_DIAGCTL_LPSEL_DIS);
    eval 'sub VGE_DIAGCTL_MACFORCE () {0x10;}' unless defined(&VGE_DIAGCTL_MACFORCE);
    eval 'sub VGE_DIAGCTL_FCRSVD () {0x20;}' unless defined(&VGE_DIAGCTL_FCRSVD);
    eval 'sub VGE_DIAGCTL_FDXFORCE () {0x40;}' unless defined(&VGE_DIAGCTL_FDXFORCE);
    eval 'sub VGE_DIAGCTL_GMII () {0x80;}' unless defined(&VGE_DIAGCTL_GMII);
    eval 'sub VGE_EE_EADDR () {0;}' unless defined(&VGE_EE_EADDR);
    eval 'sub VGE_TX_FRAGS () {7;}' unless defined(&VGE_TX_FRAGS);
    eval 'sub VGE_TXDESC_Q () {0x8000;}' unless defined(&VGE_TXDESC_Q);
    eval 'sub VGE_TDSTS_COLLCNT () {0xf;}' unless defined(&VGE_TDSTS_COLLCNT);
    eval 'sub VGE_TDSTS_COLL () {0x10;}' unless defined(&VGE_TDSTS_COLL);
    eval 'sub VGE_TDSTS_OWINCOLL () {0x20;}' unless defined(&VGE_TDSTS_OWINCOLL);
    eval 'sub VGE_TDSTS_OWT () {0x40;}' unless defined(&VGE_TDSTS_OWT);
    eval 'sub VGE_TDSTS_EXCESSCOLL () {0x80;}' unless defined(&VGE_TDSTS_EXCESSCOLL);
    eval 'sub VGE_TDSTS_HBEATFAIL () {0x100;}' unless defined(&VGE_TDSTS_HBEATFAIL);
    eval 'sub VGE_TDSTS_CARRLOSS () {0x200;}' unless defined(&VGE_TDSTS_CARRLOSS);
    eval 'sub VGE_TDSTS_SHUTDOWN () {0x400;}' unless defined(&VGE_TDSTS_SHUTDOWN);
    eval 'sub VGE_TDSTS_LINKFAIL () {0x1000;}' unless defined(&VGE_TDSTS_LINKFAIL);
    eval 'sub VGE_TDSTS_GMII () {0x2000;}' unless defined(&VGE_TDSTS_GMII);
    eval 'sub VGE_TDSTS_FDX () {0x4000;}' unless defined(&VGE_TDSTS_FDX);
    eval 'sub VGE_TDSTS_TXERR () {0x8000;}' unless defined(&VGE_TDSTS_TXERR);
    eval 'sub VGE_TDSTS_SEGSIZE () {0x3fff0000;}' unless defined(&VGE_TDSTS_SEGSIZE);
    eval 'sub VGE_TDSTS_OWN () {0x80000000;}' unless defined(&VGE_TDSTS_OWN);
    eval 'sub VGE_TDCTL_VLANID () {0xfff;}' unless defined(&VGE_TDCTL_VLANID);
    eval 'sub VGE_TDCTL_CFI () {0x1000;}' unless defined(&VGE_TDCTL_CFI);
    eval 'sub VGE_TDCTL_PRIO () {0xe000;}' unless defined(&VGE_TDCTL_PRIO);
    eval 'sub VGE_TDCTL_NOCRC () {0x10000;}' unless defined(&VGE_TDCTL_NOCRC);
    eval 'sub VGE_TDCTL_JUMBO () {0x20000;}' unless defined(&VGE_TDCTL_JUMBO);
    eval 'sub VGE_TDCTL_TCPCSUM () {0x40000;}' unless defined(&VGE_TDCTL_TCPCSUM);
    eval 'sub VGE_TDCTL_UDPCSUM () {0x80000;}' unless defined(&VGE_TDCTL_UDPCSUM);
    eval 'sub VGE_TDCTL_IPCSUM () {0x100000;}' unless defined(&VGE_TDCTL_IPCSUM);
    eval 'sub VGE_TDCTL_VTAG () {0x200000;}' unless defined(&VGE_TDCTL_VTAG);
    eval 'sub VGE_TDCTL_PRIO_INT () {0x400000;}' unless defined(&VGE_TDCTL_PRIO_INT);
    eval 'sub VGE_TDCTL_TIC () {0x800000;}' unless defined(&VGE_TDCTL_TIC);
    eval 'sub VGE_TDCTL_TCPLSCTL () {0x3000000;}' unless defined(&VGE_TDCTL_TCPLSCTL);
    eval 'sub VGE_TDCTL_FRAGCNT () {0xf0000000;}' unless defined(&VGE_TDCTL_FRAGCNT);
    eval 'sub VGE_TD_LS_MOF () {0x;}' unless defined(&VGE_TD_LS_MOF);
    eval 'sub VGE_TD_LS_SOF () {0x1000000;}' unless defined(&VGE_TD_LS_SOF);
    eval 'sub VGE_TD_LS_EOF () {0x2000000;}' unless defined(&VGE_TD_LS_EOF);
    eval 'sub VGE_TD_LS_NORM () {0x3000000;}' unless defined(&VGE_TD_LS_NORM);
    eval 'sub VGE_RXDESC_I () {0x8000;}' unless defined(&VGE_RXDESC_I);
    eval 'sub VGE_RDSTS_VIDM () {0x1;}' unless defined(&VGE_RDSTS_VIDM);
    eval 'sub VGE_RDSTS_CRCERR () {0x2;}' unless defined(&VGE_RDSTS_CRCERR);
    eval 'sub VGE_RDSTS_FAERR () {0x4;}' unless defined(&VGE_RDSTS_FAERR);
    eval 'sub VGE_RDSTS_CSUMERR () {0x8;}' unless defined(&VGE_RDSTS_CSUMERR);
    eval 'sub VGE_RDSTS_RLERR () {0x10;}' unless defined(&VGE_RDSTS_RLERR);
    eval 'sub VGE_RDSTS_SYMERR () {0x20;}' unless defined(&VGE_RDSTS_SYMERR);
    eval 'sub VGE_RDSTS_SNTAG () {0x40;}' unless defined(&VGE_RDSTS_SNTAG);
    eval 'sub VGE_RDSTS_DETAG () {0x80;}' unless defined(&VGE_RDSTS_DETAG);
    eval 'sub VGE_RDSTS_BOUNDARY () {0x300;}' unless defined(&VGE_RDSTS_BOUNDARY);
    eval 'sub VGE_RDSTS_VTAG () {0x400;}' unless defined(&VGE_RDSTS_VTAG);
    eval 'sub VGE_RDSTS_UCAST () {0x800;}' unless defined(&VGE_RDSTS_UCAST);
    eval 'sub VGE_RDSTS_BCAST () {0x1000;}' unless defined(&VGE_RDSTS_BCAST);
    eval 'sub VGE_RDSTS_MCAST () {0x2000;}' unless defined(&VGE_RDSTS_MCAST);
    eval 'sub VGE_RDSTS_PFT () {0x4000;}' unless defined(&VGE_RDSTS_PFT);
    eval 'sub VGE_RDSTS_RXOK () {0x8000;}' unless defined(&VGE_RDSTS_RXOK);
    eval 'sub VGE_RDSTS_BUFSIZ () {0x3fff0000;}' unless defined(&VGE_RDSTS_BUFSIZ);
    eval 'sub VGE_RDSTS_SHUTDOWN () {0x40000000;}' unless defined(&VGE_RDSTS_SHUTDOWN);
    eval 'sub VGE_RDSTS_OWN () {0x80000000;}' unless defined(&VGE_RDSTS_OWN);
    eval 'sub VGE_RXPKT_ONEFRAG () {0x;}' unless defined(&VGE_RXPKT_ONEFRAG);
    eval 'sub VGE_RXPKT_EOF () {0x100;}' unless defined(&VGE_RXPKT_EOF);
    eval 'sub VGE_RXPKT_SOF () {0x200;}' unless defined(&VGE_RXPKT_SOF);
    eval 'sub VGE_RXPKT_MOF () {0x300;}' unless defined(&VGE_RXPKT_MOF);
    eval 'sub VGE_RDCTL_VLANID () {0xffff;}' unless defined(&VGE_RDCTL_VLANID);
    eval 'sub VGE_RDCTL_UDPPKT () {0x10000;}' unless defined(&VGE_RDCTL_UDPPKT);
    eval 'sub VGE_RDCTL_TCPPKT () {0x20000;}' unless defined(&VGE_RDCTL_TCPPKT);
    eval 'sub VGE_RDCTL_IPPKT () {0x40000;}' unless defined(&VGE_RDCTL_IPPKT);
    eval 'sub VGE_RDCTL_UDPZERO () {0x80000;}' unless defined(&VGE_RDCTL_UDPZERO);
    eval 'sub VGE_RDCTL_FRAG () {0x100000;}' unless defined(&VGE_RDCTL_FRAG);
    eval 'sub VGE_RDCTL_PROTOCSUMOK () {0x200000;}' unless defined(&VGE_RDCTL_PROTOCSUMOK);
    eval 'sub VGE_RDCTL_IPCSUMOK () {0x400000;}' unless defined(&VGE_RDCTL_IPCSUMOK);
    eval 'sub VGE_RDCTL_FILTIDX () {0x3c000000;}' unless defined(&VGE_RDCTL_FILTIDX);
}
1;
