require '_h2ph_pre.ph';

unless(defined(&_EM_HW_H_)) {
    eval 'sub _EM_HW_H_ () {1;}' unless defined(&_EM_HW_H_);
    require 'dev/pci/if_em_osdep.ph';
    eval("sub em_82542_rev2_0 () { 0; }") unless defined(&em_82542_rev2_0);
    eval("sub em_82542_rev2_1 () { 1; }") unless defined(&em_82542_rev2_1);
    eval("sub em_82543 () { 2; }") unless defined(&em_82543);
    eval("sub em_82544 () { 3; }") unless defined(&em_82544);
    eval("sub em_82540 () { 4; }") unless defined(&em_82540);
    eval("sub em_82545 () { 5; }") unless defined(&em_82545);
    eval("sub em_82546 () { 6; }") unless defined(&em_82546);
    eval("sub em_num_macs () { 7; }") unless defined(&em_num_macs);
    eval("sub em_media_type_copper () { 0; }") unless defined(&em_media_type_copper);
    eval("sub em_media_type_fiber () { 1; }") unless defined(&em_media_type_fiber);
    eval("sub em_num_media_types () { 2; }") unless defined(&em_num_media_types);
    eval("sub em_10_half () { 0; }") unless defined(&em_10_half);
    eval("sub em_10_full () { 1; }") unless defined(&em_10_full);
    eval("sub em_100_half () { 2; }") unless defined(&em_100_half);
    eval("sub em_100_full () { 3; }") unless defined(&em_100_full);
    eval("sub em_fc_none () { 0; }") unless defined(&em_fc_none);
    eval("sub em_fc_rx_pause () { 1; }") unless defined(&em_fc_rx_pause);
    eval("sub em_fc_tx_pause () { 2; }") unless defined(&em_fc_tx_pause);
    eval("sub em_fc_full () { 3; }") unless defined(&em_fc_full);
    eval("sub em_fc_default () { 0xFF; }") unless defined(&em_fc_default);
    eval("sub em_bus_type_unknown () { 0; }") unless defined(&em_bus_type_unknown);
    eval("sub em_bus_type_pci () { 1; }") unless defined(&em_bus_type_pci);
    eval("sub em_bus_type_pcix () { 2; }") unless defined(&em_bus_type_pcix);
    eval("sub em_bus_speed_unknown () { 0; }") unless defined(&em_bus_speed_unknown);
    eval("sub em_bus_speed_33 () { 1; }") unless defined(&em_bus_speed_33);
    eval("sub em_bus_speed_66 () { 2; }") unless defined(&em_bus_speed_66);
    eval("sub em_bus_speed_100 () { 3; }") unless defined(&em_bus_speed_100);
    eval("sub em_bus_speed_133 () { 4; }") unless defined(&em_bus_speed_133);
    eval("sub em_bus_speed_reserved () { 5; }") unless defined(&em_bus_speed_reserved);
    eval("sub em_bus_width_unknown () { 0; }") unless defined(&em_bus_width_unknown);
    eval("sub em_bus_width_32 () { 1; }") unless defined(&em_bus_width_32);
    eval("sub em_bus_width_64 () { 2; }") unless defined(&em_bus_width_64);
    eval("sub em_cable_length_50 () { 0; }") unless defined(&em_cable_length_50);
    eval("sub em_cable_length_50_80 () { 1; }") unless defined(&em_cable_length_50_80);
    eval("sub em_cable_length_80_110 () { 2; }") unless defined(&em_cable_length_80_110);
    eval("sub em_cable_length_110_140 () { 3; }") unless defined(&em_cable_length_110_140);
    eval("sub em_cable_length_140 () { 4; }") unless defined(&em_cable_length_140);
    eval("sub em_cable_length_undefined () { 0xFF; }") unless defined(&em_cable_length_undefined);
    eval("sub em_10bt_ext_dist_enable_normal () { 0; }") unless defined(&em_10bt_ext_dist_enable_normal);
    eval("sub em_10bt_ext_dist_enable_lower () { 1; }") unless defined(&em_10bt_ext_dist_enable_lower);
    eval("sub em_10bt_ext_dist_enable_undefined () { 0xFF; }") unless defined(&em_10bt_ext_dist_enable_undefined);
    eval("sub em_rev_polarity_normal () { 0; }") unless defined(&em_rev_polarity_normal);
    eval("sub em_rev_polarity_reversed () { 1; }") unless defined(&em_rev_polarity_reversed);
    eval("sub em_rev_polarity_undefined () { 0xFF; }") unless defined(&em_rev_polarity_undefined);
    eval("sub em_polarity_reversal_enabled () { 0; }") unless defined(&em_polarity_reversal_enabled);
    eval("sub em_polarity_reversal_disabled () { 1; }") unless defined(&em_polarity_reversal_disabled);
    eval("sub em_polarity_reversal_undefined () { 0xFF; }") unless defined(&em_polarity_reversal_undefined);
    eval("sub em_auto_x_mode_manual_mdi () { 0; }") unless defined(&em_auto_x_mode_manual_mdi);
    eval("sub em_auto_x_mode_manual_mdix () { 1; }") unless defined(&em_auto_x_mode_manual_mdix);
    eval("sub em_auto_x_mode_auto1 () { 2; }") unless defined(&em_auto_x_mode_auto1);
    eval("sub em_auto_x_mode_auto2 () { 3; }") unless defined(&em_auto_x_mode_auto2);
    eval("sub em_auto_x_mode_undefined () { 0xFF; }") unless defined(&em_auto_x_mode_undefined);
    eval("sub em_1000t_rx_status_not_ok () { 0; }") unless defined(&em_1000t_rx_status_not_ok);
    eval("sub em_1000t_rx_status_ok () { 1; }") unless defined(&em_1000t_rx_status_ok);
    eval("sub em_1000t_rx_status_undefined () { 0xFF; }") unless defined(&em_1000t_rx_status_undefined);
    eval 'sub E1000_SUCCESS () {0;}' unless defined(&E1000_SUCCESS);
    eval 'sub E1000_ERR_EEPROM () {1;}' unless defined(&E1000_ERR_EEPROM);
    eval 'sub E1000_ERR_PHY () {2;}' unless defined(&E1000_ERR_PHY);
    eval 'sub E1000_ERR_CONFIG () {3;}' unless defined(&E1000_ERR_CONFIG);
    eval 'sub E1000_ERR_PARAM () {4;}' unless defined(&E1000_ERR_PARAM);
    eval 'sub E1000_READ_REG_IO {
        local($a, $reg) = @_;
	    eval q( &em_read_reg_io(($a),  &E1000_$reg));
    }' unless defined(&E1000_READ_REG_IO);
    eval 'sub E1000_WRITE_REG_IO {
        local($a, $reg, $val) = @_;
	    eval q( &em_write_reg_io(($a),  &E1000_$reg, $val));
    }' unless defined(&E1000_WRITE_REG_IO);
    eval 'sub E1000_DEV_ID_82542 () {0x1000;}' unless defined(&E1000_DEV_ID_82542);
    eval 'sub E1000_DEV_ID_82543GC_FIBER () {0x1001;}' unless defined(&E1000_DEV_ID_82543GC_FIBER);
    eval 'sub E1000_DEV_ID_82543GC_COPPER () {0x1004;}' unless defined(&E1000_DEV_ID_82543GC_COPPER);
    eval 'sub E1000_DEV_ID_82544EI_COPPER () {0x1008;}' unless defined(&E1000_DEV_ID_82544EI_COPPER);
    eval 'sub E1000_DEV_ID_82544EI_FIBER () {0x1009;}' unless defined(&E1000_DEV_ID_82544EI_FIBER);
    eval 'sub E1000_DEV_ID_82544GC_COPPER () {0x100c;}' unless defined(&E1000_DEV_ID_82544GC_COPPER);
    eval 'sub E1000_DEV_ID_82544GC_LOM () {0x100d;}' unless defined(&E1000_DEV_ID_82544GC_LOM);
    eval 'sub E1000_DEV_ID_82540EM () {0x100e;}' unless defined(&E1000_DEV_ID_82540EM);
    eval 'sub E1000_DEV_ID_82540EM_LOM () {0x1015;}' unless defined(&E1000_DEV_ID_82540EM_LOM);
    eval 'sub E1000_DEV_ID_82545EM_COPPER () {0x100f;}' unless defined(&E1000_DEV_ID_82545EM_COPPER);
    eval 'sub E1000_DEV_ID_82545EM_FIBER () {0x1011;}' unless defined(&E1000_DEV_ID_82545EM_FIBER);
    eval 'sub E1000_DEV_ID_82546EB_COPPER () {0x1010;}' unless defined(&E1000_DEV_ID_82546EB_COPPER);
    eval 'sub E1000_DEV_ID_82546EB_FIBER () {0x1012;}' unless defined(&E1000_DEV_ID_82546EB_FIBER);
    eval 'sub NUM_DEV_IDS () {13;}' unless defined(&NUM_DEV_IDS);
    eval 'sub NODE_ADDRESS_SIZE () {6;}' unless defined(&NODE_ADDRESS_SIZE);
    eval 'sub ETH_LENGTH_OF_ADDRESS () {6;}' unless defined(&ETH_LENGTH_OF_ADDRESS);
    eval 'sub MAC_DECODE_SIZE () {(128* 1024);}' unless defined(&MAC_DECODE_SIZE);
    eval 'sub E1000_82542_2_0_REV_ID () {2;}' unless defined(&E1000_82542_2_0_REV_ID);
    eval 'sub E1000_82542_2_1_REV_ID () {3;}' unless defined(&E1000_82542_2_1_REV_ID);
    eval 'sub SPEED_10 () {10;}' unless defined(&SPEED_10);
    eval 'sub SPEED_100 () {100;}' unless defined(&SPEED_100);
    eval 'sub SPEED_1000 () {1000;}' unless defined(&SPEED_1000);
    eval 'sub HALF_DUPLEX () {1;}' unless defined(&HALF_DUPLEX);
    eval 'sub FULL_DUPLEX () {2;}' unless defined(&FULL_DUPLEX);
    eval 'sub ENET_HEADER_SIZE () {14;}' unless defined(&ENET_HEADER_SIZE);
    eval 'sub MAXIMUM_ETHERNET_FRAME_SIZE () {1518;}' unless defined(&MAXIMUM_ETHERNET_FRAME_SIZE);
    eval 'sub MINIMUM_ETHERNET_FRAME_SIZE () {64;}' unless defined(&MINIMUM_ETHERNET_FRAME_SIZE);
    eval 'sub ETHERNET_FCS_SIZE () {4;}' unless defined(&ETHERNET_FCS_SIZE);
    eval 'sub MAXIMUM_ETHERNET_PACKET_SIZE () {( &MAXIMUM_ETHERNET_FRAME_SIZE -  &ETHERNET_FCS_SIZE);}' unless defined(&MAXIMUM_ETHERNET_PACKET_SIZE);
    eval 'sub MINIMUM_ETHERNET_PACKET_SIZE () {( &MINIMUM_ETHERNET_FRAME_SIZE -  &ETHERNET_FCS_SIZE);}' unless defined(&MINIMUM_ETHERNET_PACKET_SIZE);
    eval 'sub CRC_LENGTH () { &ETHERNET_FCS_SIZE;}' unless defined(&CRC_LENGTH);
    eval 'sub MAX_JUMBO_FRAME_SIZE () {0x3f00;}' unless defined(&MAX_JUMBO_FRAME_SIZE);
    eval 'sub VLAN_TAG_SIZE () {4;}' unless defined(&VLAN_TAG_SIZE);
    eval 'sub ETHERNET_IEEE_VLAN_TYPE () {0x8100;}' unless defined(&ETHERNET_IEEE_VLAN_TYPE);
    eval 'sub ETHERNET_IP_TYPE () {0x800;}' unless defined(&ETHERNET_IP_TYPE);
    eval 'sub ETHERNET_ARP_TYPE () {0x806;}' unless defined(&ETHERNET_ARP_TYPE);
    eval 'sub IP_PROTOCOL_TCP () {6;}' unless defined(&IP_PROTOCOL_TCP);
    eval 'sub IP_PROTOCOL_UDP () {0x11;}' unless defined(&IP_PROTOCOL_UDP);
    eval 'sub POLL_IMS_ENABLE_MASK () {(  &E1000_IMS_RXDMT0 |  &E1000_IMS_RXSEQ);}' unless defined(&POLL_IMS_ENABLE_MASK);
    eval 'sub IMS_ENABLE_MASK () {(  &E1000_IMS_RXT0 |  &E1000_IMS_TXDW |  &E1000_IMS_RXDMT0 |  &E1000_IMS_RXSEQ |  &E1000_IMS_LSC);}' unless defined(&IMS_ENABLE_MASK);
    eval 'sub E1000_RAR_ENTRIES () {16;}' unless defined(&E1000_RAR_ENTRIES);
    eval 'sub MIN_NUMBER_OF_DESCRIPTORS () {8;}' unless defined(&MIN_NUMBER_OF_DESCRIPTORS);
    eval 'sub MAX_NUMBER_OF_DESCRIPTORS () {0xfff8;}' unless defined(&MAX_NUMBER_OF_DESCRIPTORS);
    eval 'sub E1000_RXD_STAT_DD () {0x1;}' unless defined(&E1000_RXD_STAT_DD);
    eval 'sub E1000_RXD_STAT_EOP () {0x2;}' unless defined(&E1000_RXD_STAT_EOP);
    eval 'sub E1000_RXD_STAT_IXSM () {0x4;}' unless defined(&E1000_RXD_STAT_IXSM);
    eval 'sub E1000_RXD_STAT_VP () {0x8;}' unless defined(&E1000_RXD_STAT_VP);
    eval 'sub E1000_RXD_STAT_TCPCS () {0x20;}' unless defined(&E1000_RXD_STAT_TCPCS);
    eval 'sub E1000_RXD_STAT_IPCS () {0x40;}' unless defined(&E1000_RXD_STAT_IPCS);
    eval 'sub E1000_RXD_STAT_PIF () {0x80;}' unless defined(&E1000_RXD_STAT_PIF);
    eval 'sub E1000_RXD_ERR_CE () {0x1;}' unless defined(&E1000_RXD_ERR_CE);
    eval 'sub E1000_RXD_ERR_SE () {0x2;}' unless defined(&E1000_RXD_ERR_SE);
    eval 'sub E1000_RXD_ERR_SEQ () {0x4;}' unless defined(&E1000_RXD_ERR_SEQ);
    eval 'sub E1000_RXD_ERR_CXE () {0x10;}' unless defined(&E1000_RXD_ERR_CXE);
    eval 'sub E1000_RXD_ERR_TCPE () {0x20;}' unless defined(&E1000_RXD_ERR_TCPE);
    eval 'sub E1000_RXD_ERR_IPE () {0x40;}' unless defined(&E1000_RXD_ERR_IPE);
    eval 'sub E1000_RXD_ERR_RXE () {0x80;}' unless defined(&E1000_RXD_ERR_RXE);
    eval 'sub E1000_RXD_SPC_VLAN_MASK () {0xfff;}' unless defined(&E1000_RXD_SPC_VLAN_MASK);
    eval 'sub E1000_RXD_SPC_PRI_MASK () {0xe000;}' unless defined(&E1000_RXD_SPC_PRI_MASK);
    eval 'sub E1000_RXD_SPC_PRI_SHIFT () {0xd;}' unless defined(&E1000_RXD_SPC_PRI_SHIFT);
    eval 'sub E1000_RXD_SPC_CFI_MASK () {0x1000;}' unless defined(&E1000_RXD_SPC_CFI_MASK);
    eval 'sub E1000_RXD_SPC_CFI_SHIFT () {0xc;}' unless defined(&E1000_RXD_SPC_CFI_SHIFT);
    eval 'sub E1000_RXD_ERR_FRAME_ERR_MASK () {(  &E1000_RXD_ERR_CE |  &E1000_RXD_ERR_SE |  &E1000_RXD_ERR_SEQ |  &E1000_RXD_ERR_CXE |  &E1000_RXD_ERR_RXE);}' unless defined(&E1000_RXD_ERR_FRAME_ERR_MASK);
    eval 'sub E1000_TXD_DTYP_D () {0x100000;}' unless defined(&E1000_TXD_DTYP_D);
    eval 'sub E1000_TXD_DTYP_C () {0x;}' unless defined(&E1000_TXD_DTYP_C);
    eval 'sub E1000_TXD_POPTS_IXSM () {0x1;}' unless defined(&E1000_TXD_POPTS_IXSM);
    eval 'sub E1000_TXD_POPTS_TXSM () {0x2;}' unless defined(&E1000_TXD_POPTS_TXSM);
    eval 'sub E1000_TXD_CMD_EOP () {0x1000000;}' unless defined(&E1000_TXD_CMD_EOP);
    eval 'sub E1000_TXD_CMD_IFCS () {0x2000000;}' unless defined(&E1000_TXD_CMD_IFCS);
    eval 'sub E1000_TXD_CMD_IC () {0x4000000;}' unless defined(&E1000_TXD_CMD_IC);
    eval 'sub E1000_TXD_CMD_RS () {0x8000000;}' unless defined(&E1000_TXD_CMD_RS);
    eval 'sub E1000_TXD_CMD_RPS () {0x10000000;}' unless defined(&E1000_TXD_CMD_RPS);
    eval 'sub E1000_TXD_CMD_DEXT () {0x20000000;}' unless defined(&E1000_TXD_CMD_DEXT);
    eval 'sub E1000_TXD_CMD_VLE () {0x40000000;}' unless defined(&E1000_TXD_CMD_VLE);
    eval 'sub E1000_TXD_CMD_IDE () {0x80000000;}' unless defined(&E1000_TXD_CMD_IDE);
    eval 'sub E1000_TXD_STAT_DD () {0x1;}' unless defined(&E1000_TXD_STAT_DD);
    eval 'sub E1000_TXD_STAT_EC () {0x2;}' unless defined(&E1000_TXD_STAT_EC);
    eval 'sub E1000_TXD_STAT_LC () {0x4;}' unless defined(&E1000_TXD_STAT_LC);
    eval 'sub E1000_TXD_STAT_TU () {0x8;}' unless defined(&E1000_TXD_STAT_TU);
    eval 'sub E1000_TXD_CMD_TCP () {0x1000000;}' unless defined(&E1000_TXD_CMD_TCP);
    eval 'sub E1000_TXD_CMD_IP () {0x2000000;}' unless defined(&E1000_TXD_CMD_IP);
    eval 'sub E1000_TXD_CMD_TSE () {0x4000000;}' unless defined(&E1000_TXD_CMD_TSE);
    eval 'sub E1000_TXD_STAT_TC () {0x4;}' unless defined(&E1000_TXD_STAT_TC);
    eval 'sub E1000_NUM_UNICAST () {16;}' unless defined(&E1000_NUM_UNICAST);
    eval 'sub E1000_MC_TBL_SIZE () {128;}' unless defined(&E1000_MC_TBL_SIZE);
    eval 'sub E1000_VLAN_FILTER_TBL_SIZE () {128;}' unless defined(&E1000_VLAN_FILTER_TBL_SIZE);
    eval 'sub E1000_NUM_MTA_REGISTERS () {128;}' unless defined(&E1000_NUM_MTA_REGISTERS);
    eval 'sub E1000_WAKEUP_IP_ADDRESS_COUNT_MAX () {4;}' unless defined(&E1000_WAKEUP_IP_ADDRESS_COUNT_MAX);
    eval 'sub E1000_IP4AT_SIZE () { &E1000_WAKEUP_IP_ADDRESS_COUNT_MAX;}' unless defined(&E1000_IP4AT_SIZE);
    eval 'sub E1000_IP6AT_SIZE () {1;}' unless defined(&E1000_IP6AT_SIZE);
    eval 'sub E1000_FLEXIBLE_FILTER_COUNT_MAX () {4;}' unless defined(&E1000_FLEXIBLE_FILTER_COUNT_MAX);
    eval 'sub E1000_FLEXIBLE_FILTER_SIZE_MAX () {128;}' unless defined(&E1000_FLEXIBLE_FILTER_SIZE_MAX);
    eval 'sub E1000_FFLT_SIZE () { &E1000_FLEXIBLE_FILTER_COUNT_MAX;}' unless defined(&E1000_FFLT_SIZE);
    eval 'sub E1000_FFMT_SIZE () { &E1000_FLEXIBLE_FILTER_SIZE_MAX;}' unless defined(&E1000_FFMT_SIZE);
    eval 'sub E1000_FFVT_SIZE () { &E1000_FLEXIBLE_FILTER_SIZE_MAX;}' unless defined(&E1000_FFVT_SIZE);
    eval 'sub E1000_CTRL () {0x;}' unless defined(&E1000_CTRL);
    eval 'sub E1000_STATUS () {0x8;}' unless defined(&E1000_STATUS);
    eval 'sub E1000_EECD () {0x10;}' unless defined(&E1000_EECD);
    eval 'sub E1000_EERD () {0x14;}' unless defined(&E1000_EERD);
    eval 'sub E1000_CTRL_EXT () {0x18;}' unless defined(&E1000_CTRL_EXT);
    eval 'sub E1000_MDIC () {0x20;}' unless defined(&E1000_MDIC);
    eval 'sub E1000_FCAL () {0x28;}' unless defined(&E1000_FCAL);
    eval 'sub E1000_FCAH () {0x2c;}' unless defined(&E1000_FCAH);
    eval 'sub E1000_FCT () {0x30;}' unless defined(&E1000_FCT);
    eval 'sub E1000_VET () {0x38;}' unless defined(&E1000_VET);
    eval 'sub E1000_ICR () {0xc0;}' unless defined(&E1000_ICR);
    eval 'sub E1000_ITR () {0xc4;}' unless defined(&E1000_ITR);
    eval 'sub E1000_ICS () {0xc8;}' unless defined(&E1000_ICS);
    eval 'sub E1000_IMS () {0xd0;}' unless defined(&E1000_IMS);
    eval 'sub E1000_IMC () {0xd8;}' unless defined(&E1000_IMC);
    eval 'sub E1000_RCTL () {0x100;}' unless defined(&E1000_RCTL);
    eval 'sub E1000_FCTTV () {0x170;}' unless defined(&E1000_FCTTV);
    eval 'sub E1000_TXCW () {0x178;}' unless defined(&E1000_TXCW);
    eval 'sub E1000_RXCW () {0x180;}' unless defined(&E1000_RXCW);
    eval 'sub E1000_TCTL () {0x400;}' unless defined(&E1000_TCTL);
    eval 'sub E1000_TIPG () {0x410;}' unless defined(&E1000_TIPG);
    eval 'sub E1000_TBT () {0x448;}' unless defined(&E1000_TBT);
    eval 'sub E1000_AIT () {0x458;}' unless defined(&E1000_AIT);
    eval 'sub E1000_LEDCTL () {0xe00;}' unless defined(&E1000_LEDCTL);
    eval 'sub E1000_PBA () {0x1000;}' unless defined(&E1000_PBA);
    eval 'sub E1000_FCRTL () {0x2160;}' unless defined(&E1000_FCRTL);
    eval 'sub E1000_FCRTH () {0x2168;}' unless defined(&E1000_FCRTH);
    eval 'sub E1000_RDBAL () {0x2800;}' unless defined(&E1000_RDBAL);
    eval 'sub E1000_RDBAH () {0x2804;}' unless defined(&E1000_RDBAH);
    eval 'sub E1000_RDLEN () {0x2808;}' unless defined(&E1000_RDLEN);
    eval 'sub E1000_RDH () {0x2810;}' unless defined(&E1000_RDH);
    eval 'sub E1000_RDT () {0x2818;}' unless defined(&E1000_RDT);
    eval 'sub E1000_RDTR () {0x2820;}' unless defined(&E1000_RDTR);
    eval 'sub E1000_RXDCTL () {0x2828;}' unless defined(&E1000_RXDCTL);
    eval 'sub E1000_RADV () {0x282c;}' unless defined(&E1000_RADV);
    eval 'sub E1000_RSRPD () {0x2c00;}' unless defined(&E1000_RSRPD);
    eval 'sub E1000_TXDMAC () {0x3000;}' unless defined(&E1000_TXDMAC);
    eval 'sub E1000_TDBAL () {0x3800;}' unless defined(&E1000_TDBAL);
    eval 'sub E1000_TDBAH () {0x3804;}' unless defined(&E1000_TDBAH);
    eval 'sub E1000_TDLEN () {0x3808;}' unless defined(&E1000_TDLEN);
    eval 'sub E1000_TDH () {0x3810;}' unless defined(&E1000_TDH);
    eval 'sub E1000_TDT () {0x3818;}' unless defined(&E1000_TDT);
    eval 'sub E1000_TIDV () {0x3820;}' unless defined(&E1000_TIDV);
    eval 'sub E1000_TXDCTL () {0x3828;}' unless defined(&E1000_TXDCTL);
    eval 'sub E1000_TADV () {0x382c;}' unless defined(&E1000_TADV);
    eval 'sub E1000_TSPMT () {0x3830;}' unless defined(&E1000_TSPMT);
    eval 'sub E1000_CRCERRS () {0x4000;}' unless defined(&E1000_CRCERRS);
    eval 'sub E1000_ALGNERRC () {0x4004;}' unless defined(&E1000_ALGNERRC);
    eval 'sub E1000_SYMERRS () {0x4008;}' unless defined(&E1000_SYMERRS);
    eval 'sub E1000_RXERRC () {0x400c;}' unless defined(&E1000_RXERRC);
    eval 'sub E1000_MPC () {0x4010;}' unless defined(&E1000_MPC);
    eval 'sub E1000_SCC () {0x4014;}' unless defined(&E1000_SCC);
    eval 'sub E1000_ECOL () {0x4018;}' unless defined(&E1000_ECOL);
    eval 'sub E1000_MCC () {0x401c;}' unless defined(&E1000_MCC);
    eval 'sub E1000_LATECOL () {0x4020;}' unless defined(&E1000_LATECOL);
    eval 'sub E1000_COLC () {0x4028;}' unless defined(&E1000_COLC);
    eval 'sub E1000_DC () {0x4030;}' unless defined(&E1000_DC);
    eval 'sub E1000_TNCRS () {0x4034;}' unless defined(&E1000_TNCRS);
    eval 'sub E1000_SEC () {0x4038;}' unless defined(&E1000_SEC);
    eval 'sub E1000_CEXTERR () {0x403c;}' unless defined(&E1000_CEXTERR);
    eval 'sub E1000_RLEC () {0x4040;}' unless defined(&E1000_RLEC);
    eval 'sub E1000_XONRXC () {0x4048;}' unless defined(&E1000_XONRXC);
    eval 'sub E1000_XONTXC () {0x404c;}' unless defined(&E1000_XONTXC);
    eval 'sub E1000_XOFFRXC () {0x4050;}' unless defined(&E1000_XOFFRXC);
    eval 'sub E1000_XOFFTXC () {0x4054;}' unless defined(&E1000_XOFFTXC);
    eval 'sub E1000_FCRUC () {0x4058;}' unless defined(&E1000_FCRUC);
    eval 'sub E1000_PRC64 () {0x405c;}' unless defined(&E1000_PRC64);
    eval 'sub E1000_PRC127 () {0x4060;}' unless defined(&E1000_PRC127);
    eval 'sub E1000_PRC255 () {0x4064;}' unless defined(&E1000_PRC255);
    eval 'sub E1000_PRC511 () {0x4068;}' unless defined(&E1000_PRC511);
    eval 'sub E1000_PRC1023 () {0x406c;}' unless defined(&E1000_PRC1023);
    eval 'sub E1000_PRC1522 () {0x4070;}' unless defined(&E1000_PRC1522);
    eval 'sub E1000_GPRC () {0x4074;}' unless defined(&E1000_GPRC);
    eval 'sub E1000_BPRC () {0x4078;}' unless defined(&E1000_BPRC);
    eval 'sub E1000_MPRC () {0x407c;}' unless defined(&E1000_MPRC);
    eval 'sub E1000_GPTC () {0x4080;}' unless defined(&E1000_GPTC);
    eval 'sub E1000_GORCL () {0x4088;}' unless defined(&E1000_GORCL);
    eval 'sub E1000_GORCH () {0x408c;}' unless defined(&E1000_GORCH);
    eval 'sub E1000_GOTCL () {0x4090;}' unless defined(&E1000_GOTCL);
    eval 'sub E1000_GOTCH () {0x4094;}' unless defined(&E1000_GOTCH);
    eval 'sub E1000_RNBC () {0x40a0;}' unless defined(&E1000_RNBC);
    eval 'sub E1000_RUC () {0x40a4;}' unless defined(&E1000_RUC);
    eval 'sub E1000_RFC () {0x40a8;}' unless defined(&E1000_RFC);
    eval 'sub E1000_ROC () {0x40ac;}' unless defined(&E1000_ROC);
    eval 'sub E1000_RJC () {0x40b0;}' unless defined(&E1000_RJC);
    eval 'sub E1000_MGTPRC () {0x40b4;}' unless defined(&E1000_MGTPRC);
    eval 'sub E1000_MGTPDC () {0x40b8;}' unless defined(&E1000_MGTPDC);
    eval 'sub E1000_MGTPTC () {0x40bc;}' unless defined(&E1000_MGTPTC);
    eval 'sub E1000_TORL () {0x40c0;}' unless defined(&E1000_TORL);
    eval 'sub E1000_TORH () {0x40c4;}' unless defined(&E1000_TORH);
    eval 'sub E1000_TOTL () {0x40c8;}' unless defined(&E1000_TOTL);
    eval 'sub E1000_TOTH () {0x40cc;}' unless defined(&E1000_TOTH);
    eval 'sub E1000_TPR () {0x40d0;}' unless defined(&E1000_TPR);
    eval 'sub E1000_TPT () {0x40d4;}' unless defined(&E1000_TPT);
    eval 'sub E1000_PTC64 () {0x40d8;}' unless defined(&E1000_PTC64);
    eval 'sub E1000_PTC127 () {0x40dc;}' unless defined(&E1000_PTC127);
    eval 'sub E1000_PTC255 () {0x40e0;}' unless defined(&E1000_PTC255);
    eval 'sub E1000_PTC511 () {0x40e4;}' unless defined(&E1000_PTC511);
    eval 'sub E1000_PTC1023 () {0x40e8;}' unless defined(&E1000_PTC1023);
    eval 'sub E1000_PTC1522 () {0x40ec;}' unless defined(&E1000_PTC1522);
    eval 'sub E1000_MPTC () {0x40f0;}' unless defined(&E1000_MPTC);
    eval 'sub E1000_BPTC () {0x40f4;}' unless defined(&E1000_BPTC);
    eval 'sub E1000_TSCTC () {0x40f8;}' unless defined(&E1000_TSCTC);
    eval 'sub E1000_TSCTFC () {0x40fc;}' unless defined(&E1000_TSCTFC);
    eval 'sub E1000_RXCSUM () {0x5000;}' unless defined(&E1000_RXCSUM);
    eval 'sub E1000_MTA () {0x5200;}' unless defined(&E1000_MTA);
    eval 'sub E1000_RA () {0x5400;}' unless defined(&E1000_RA);
    eval 'sub E1000_VFTA () {0x5600;}' unless defined(&E1000_VFTA);
    eval 'sub E1000_WUC () {0x5800;}' unless defined(&E1000_WUC);
    eval 'sub E1000_WUFC () {0x5808;}' unless defined(&E1000_WUFC);
    eval 'sub E1000_WUS () {0x5810;}' unless defined(&E1000_WUS);
    eval 'sub E1000_MANC () {0x5820;}' unless defined(&E1000_MANC);
    eval 'sub E1000_IPAV () {0x5838;}' unless defined(&E1000_IPAV);
    eval 'sub E1000_IP4AT () {0x5840;}' unless defined(&E1000_IP4AT);
    eval 'sub E1000_IP6AT () {0x5880;}' unless defined(&E1000_IP6AT);
    eval 'sub E1000_WUPL () {0x5900;}' unless defined(&E1000_WUPL);
    eval 'sub E1000_WUPM () {0x5a00;}' unless defined(&E1000_WUPM);
    eval 'sub E1000_FFLT () {0x5f00;}' unless defined(&E1000_FFLT);
    eval 'sub E1000_FFMT () {0x9000;}' unless defined(&E1000_FFMT);
    eval 'sub E1000_FFVT () {0x9800;}' unless defined(&E1000_FFVT);
    eval 'sub E1000_82542_CTRL () { &E1000_CTRL;}' unless defined(&E1000_82542_CTRL);
    eval 'sub E1000_82542_STATUS () { &E1000_STATUS;}' unless defined(&E1000_82542_STATUS);
    eval 'sub E1000_82542_EECD () { &E1000_EECD;}' unless defined(&E1000_82542_EECD);
    eval 'sub E1000_82542_EERD () { &E1000_EERD;}' unless defined(&E1000_82542_EERD);
    eval 'sub E1000_82542_CTRL_EXT () { &E1000_CTRL_EXT;}' unless defined(&E1000_82542_CTRL_EXT);
    eval 'sub E1000_82542_MDIC () { &E1000_MDIC;}' unless defined(&E1000_82542_MDIC);
    eval 'sub E1000_82542_FCAL () { &E1000_FCAL;}' unless defined(&E1000_82542_FCAL);
    eval 'sub E1000_82542_FCAH () { &E1000_FCAH;}' unless defined(&E1000_82542_FCAH);
    eval 'sub E1000_82542_FCT () { &E1000_FCT;}' unless defined(&E1000_82542_FCT);
    eval 'sub E1000_82542_VET () { &E1000_VET;}' unless defined(&E1000_82542_VET);
    eval 'sub E1000_82542_RA () {0x40;}' unless defined(&E1000_82542_RA);
    eval 'sub E1000_82542_ICR () { &E1000_ICR;}' unless defined(&E1000_82542_ICR);
    eval 'sub E1000_82542_ITR () { &E1000_ITR;}' unless defined(&E1000_82542_ITR);
    eval 'sub E1000_82542_ICS () { &E1000_ICS;}' unless defined(&E1000_82542_ICS);
    eval 'sub E1000_82542_IMS () { &E1000_IMS;}' unless defined(&E1000_82542_IMS);
    eval 'sub E1000_82542_IMC () { &E1000_IMC;}' unless defined(&E1000_82542_IMC);
    eval 'sub E1000_82542_RCTL () { &E1000_RCTL;}' unless defined(&E1000_82542_RCTL);
    eval 'sub E1000_82542_RDTR () {0x108;}' unless defined(&E1000_82542_RDTR);
    eval 'sub E1000_82542_RDBAL () {0x110;}' unless defined(&E1000_82542_RDBAL);
    eval 'sub E1000_82542_RDBAH () {0x114;}' unless defined(&E1000_82542_RDBAH);
    eval 'sub E1000_82542_RDLEN () {0x118;}' unless defined(&E1000_82542_RDLEN);
    eval 'sub E1000_82542_RDH () {0x120;}' unless defined(&E1000_82542_RDH);
    eval 'sub E1000_82542_RDT () {0x128;}' unless defined(&E1000_82542_RDT);
    eval 'sub E1000_82542_FCRTH () {0x160;}' unless defined(&E1000_82542_FCRTH);
    eval 'sub E1000_82542_FCRTL () {0x168;}' unless defined(&E1000_82542_FCRTL);
    eval 'sub E1000_82542_FCTTV () { &E1000_FCTTV;}' unless defined(&E1000_82542_FCTTV);
    eval 'sub E1000_82542_TXCW () { &E1000_TXCW;}' unless defined(&E1000_82542_TXCW);
    eval 'sub E1000_82542_RXCW () { &E1000_RXCW;}' unless defined(&E1000_82542_RXCW);
    eval 'sub E1000_82542_MTA () {0x200;}' unless defined(&E1000_82542_MTA);
    eval 'sub E1000_82542_TCTL () { &E1000_TCTL;}' unless defined(&E1000_82542_TCTL);
    eval 'sub E1000_82542_TIPG () { &E1000_TIPG;}' unless defined(&E1000_82542_TIPG);
    eval 'sub E1000_82542_TDBAL () {0x420;}' unless defined(&E1000_82542_TDBAL);
    eval 'sub E1000_82542_TDBAH () {0x424;}' unless defined(&E1000_82542_TDBAH);
    eval 'sub E1000_82542_TDLEN () {0x428;}' unless defined(&E1000_82542_TDLEN);
    eval 'sub E1000_82542_TDH () {0x430;}' unless defined(&E1000_82542_TDH);
    eval 'sub E1000_82542_TDT () {0x438;}' unless defined(&E1000_82542_TDT);
    eval 'sub E1000_82542_TIDV () {0x440;}' unless defined(&E1000_82542_TIDV);
    eval 'sub E1000_82542_TBT () { &E1000_TBT;}' unless defined(&E1000_82542_TBT);
    eval 'sub E1000_82542_AIT () { &E1000_AIT;}' unless defined(&E1000_82542_AIT);
    eval 'sub E1000_82542_VFTA () {0x600;}' unless defined(&E1000_82542_VFTA);
    eval 'sub E1000_82542_LEDCTL () { &E1000_LEDCTL;}' unless defined(&E1000_82542_LEDCTL);
    eval 'sub E1000_82542_PBA () { &E1000_PBA;}' unless defined(&E1000_82542_PBA);
    eval 'sub E1000_82542_RXDCTL () { &E1000_RXDCTL;}' unless defined(&E1000_82542_RXDCTL);
    eval 'sub E1000_82542_RADV () { &E1000_RADV;}' unless defined(&E1000_82542_RADV);
    eval 'sub E1000_82542_RSRPD () { &E1000_RSRPD;}' unless defined(&E1000_82542_RSRPD);
    eval 'sub E1000_82542_TXDMAC () { &E1000_TXDMAC;}' unless defined(&E1000_82542_TXDMAC);
    eval 'sub E1000_82542_TXDCTL () { &E1000_TXDCTL;}' unless defined(&E1000_82542_TXDCTL);
    eval 'sub E1000_82542_TADV () { &E1000_TADV;}' unless defined(&E1000_82542_TADV);
    eval 'sub E1000_82542_TSPMT () { &E1000_TSPMT;}' unless defined(&E1000_82542_TSPMT);
    eval 'sub E1000_82542_CRCERRS () { &E1000_CRCERRS;}' unless defined(&E1000_82542_CRCERRS);
    eval 'sub E1000_82542_ALGNERRC () { &E1000_ALGNERRC;}' unless defined(&E1000_82542_ALGNERRC);
    eval 'sub E1000_82542_SYMERRS () { &E1000_SYMERRS;}' unless defined(&E1000_82542_SYMERRS);
    eval 'sub E1000_82542_RXERRC () { &E1000_RXERRC;}' unless defined(&E1000_82542_RXERRC);
    eval 'sub E1000_82542_MPC () { &E1000_MPC;}' unless defined(&E1000_82542_MPC);
    eval 'sub E1000_82542_SCC () { &E1000_SCC;}' unless defined(&E1000_82542_SCC);
    eval 'sub E1000_82542_ECOL () { &E1000_ECOL;}' unless defined(&E1000_82542_ECOL);
    eval 'sub E1000_82542_MCC () { &E1000_MCC;}' unless defined(&E1000_82542_MCC);
    eval 'sub E1000_82542_LATECOL () { &E1000_LATECOL;}' unless defined(&E1000_82542_LATECOL);
    eval 'sub E1000_82542_COLC () { &E1000_COLC;}' unless defined(&E1000_82542_COLC);
    eval 'sub E1000_82542_DC () { &E1000_DC;}' unless defined(&E1000_82542_DC);
    eval 'sub E1000_82542_TNCRS () { &E1000_TNCRS;}' unless defined(&E1000_82542_TNCRS);
    eval 'sub E1000_82542_SEC () { &E1000_SEC;}' unless defined(&E1000_82542_SEC);
    eval 'sub E1000_82542_CEXTERR () { &E1000_CEXTERR;}' unless defined(&E1000_82542_CEXTERR);
    eval 'sub E1000_82542_RLEC () { &E1000_RLEC;}' unless defined(&E1000_82542_RLEC);
    eval 'sub E1000_82542_XONRXC () { &E1000_XONRXC;}' unless defined(&E1000_82542_XONRXC);
    eval 'sub E1000_82542_XONTXC () { &E1000_XONTXC;}' unless defined(&E1000_82542_XONTXC);
    eval 'sub E1000_82542_XOFFRXC () { &E1000_XOFFRXC;}' unless defined(&E1000_82542_XOFFRXC);
    eval 'sub E1000_82542_XOFFTXC () { &E1000_XOFFTXC;}' unless defined(&E1000_82542_XOFFTXC);
    eval 'sub E1000_82542_FCRUC () { &E1000_FCRUC;}' unless defined(&E1000_82542_FCRUC);
    eval 'sub E1000_82542_PRC64 () { &E1000_PRC64;}' unless defined(&E1000_82542_PRC64);
    eval 'sub E1000_82542_PRC127 () { &E1000_PRC127;}' unless defined(&E1000_82542_PRC127);
    eval 'sub E1000_82542_PRC255 () { &E1000_PRC255;}' unless defined(&E1000_82542_PRC255);
    eval 'sub E1000_82542_PRC511 () { &E1000_PRC511;}' unless defined(&E1000_82542_PRC511);
    eval 'sub E1000_82542_PRC1023 () { &E1000_PRC1023;}' unless defined(&E1000_82542_PRC1023);
    eval 'sub E1000_82542_PRC1522 () { &E1000_PRC1522;}' unless defined(&E1000_82542_PRC1522);
    eval 'sub E1000_82542_GPRC () { &E1000_GPRC;}' unless defined(&E1000_82542_GPRC);
    eval 'sub E1000_82542_BPRC () { &E1000_BPRC;}' unless defined(&E1000_82542_BPRC);
    eval 'sub E1000_82542_MPRC () { &E1000_MPRC;}' unless defined(&E1000_82542_MPRC);
    eval 'sub E1000_82542_GPTC () { &E1000_GPTC;}' unless defined(&E1000_82542_GPTC);
    eval 'sub E1000_82542_GORCL () { &E1000_GORCL;}' unless defined(&E1000_82542_GORCL);
    eval 'sub E1000_82542_GORCH () { &E1000_GORCH;}' unless defined(&E1000_82542_GORCH);
    eval 'sub E1000_82542_GOTCL () { &E1000_GOTCL;}' unless defined(&E1000_82542_GOTCL);
    eval 'sub E1000_82542_GOTCH () { &E1000_GOTCH;}' unless defined(&E1000_82542_GOTCH);
    eval 'sub E1000_82542_RNBC () { &E1000_RNBC;}' unless defined(&E1000_82542_RNBC);
    eval 'sub E1000_82542_RUC () { &E1000_RUC;}' unless defined(&E1000_82542_RUC);
    eval 'sub E1000_82542_RFC () { &E1000_RFC;}' unless defined(&E1000_82542_RFC);
    eval 'sub E1000_82542_ROC () { &E1000_ROC;}' unless defined(&E1000_82542_ROC);
    eval 'sub E1000_82542_RJC () { &E1000_RJC;}' unless defined(&E1000_82542_RJC);
    eval 'sub E1000_82542_MGTPRC () { &E1000_MGTPRC;}' unless defined(&E1000_82542_MGTPRC);
    eval 'sub E1000_82542_MGTPDC () { &E1000_MGTPDC;}' unless defined(&E1000_82542_MGTPDC);
    eval 'sub E1000_82542_MGTPTC () { &E1000_MGTPTC;}' unless defined(&E1000_82542_MGTPTC);
    eval 'sub E1000_82542_TORL () { &E1000_TORL;}' unless defined(&E1000_82542_TORL);
    eval 'sub E1000_82542_TORH () { &E1000_TORH;}' unless defined(&E1000_82542_TORH);
    eval 'sub E1000_82542_TOTL () { &E1000_TOTL;}' unless defined(&E1000_82542_TOTL);
    eval 'sub E1000_82542_TOTH () { &E1000_TOTH;}' unless defined(&E1000_82542_TOTH);
    eval 'sub E1000_82542_TPR () { &E1000_TPR;}' unless defined(&E1000_82542_TPR);
    eval 'sub E1000_82542_TPT () { &E1000_TPT;}' unless defined(&E1000_82542_TPT);
    eval 'sub E1000_82542_PTC64 () { &E1000_PTC64;}' unless defined(&E1000_82542_PTC64);
    eval 'sub E1000_82542_PTC127 () { &E1000_PTC127;}' unless defined(&E1000_82542_PTC127);
    eval 'sub E1000_82542_PTC255 () { &E1000_PTC255;}' unless defined(&E1000_82542_PTC255);
    eval 'sub E1000_82542_PTC511 () { &E1000_PTC511;}' unless defined(&E1000_82542_PTC511);
    eval 'sub E1000_82542_PTC1023 () { &E1000_PTC1023;}' unless defined(&E1000_82542_PTC1023);
    eval 'sub E1000_82542_PTC1522 () { &E1000_PTC1522;}' unless defined(&E1000_82542_PTC1522);
    eval 'sub E1000_82542_MPTC () { &E1000_MPTC;}' unless defined(&E1000_82542_MPTC);
    eval 'sub E1000_82542_BPTC () { &E1000_BPTC;}' unless defined(&E1000_82542_BPTC);
    eval 'sub E1000_82542_TSCTC () { &E1000_TSCTC;}' unless defined(&E1000_82542_TSCTC);
    eval 'sub E1000_82542_TSCTFC () { &E1000_TSCTFC;}' unless defined(&E1000_82542_TSCTFC);
    eval 'sub E1000_82542_RXCSUM () { &E1000_RXCSUM;}' unless defined(&E1000_82542_RXCSUM);
    eval 'sub E1000_82542_WUC () { &E1000_WUC;}' unless defined(&E1000_82542_WUC);
    eval 'sub E1000_82542_WUFC () { &E1000_WUFC;}' unless defined(&E1000_82542_WUFC);
    eval 'sub E1000_82542_WUS () { &E1000_WUS;}' unless defined(&E1000_82542_WUS);
    eval 'sub E1000_82542_MANC () { &E1000_MANC;}' unless defined(&E1000_82542_MANC);
    eval 'sub E1000_82542_IPAV () { &E1000_IPAV;}' unless defined(&E1000_82542_IPAV);
    eval 'sub E1000_82542_IP4AT () { &E1000_IP4AT;}' unless defined(&E1000_82542_IP4AT);
    eval 'sub E1000_82542_IP6AT () { &E1000_IP6AT;}' unless defined(&E1000_82542_IP6AT);
    eval 'sub E1000_82542_WUPL () { &E1000_WUPL;}' unless defined(&E1000_82542_WUPL);
    eval 'sub E1000_82542_WUPM () { &E1000_WUPM;}' unless defined(&E1000_82542_WUPM);
    eval 'sub E1000_82542_FFLT () { &E1000_FFLT;}' unless defined(&E1000_82542_FFLT);
    eval 'sub E1000_82542_FFMT () { &E1000_FFMT;}' unless defined(&E1000_82542_FFMT);
    eval 'sub E1000_82542_FFVT () { &E1000_FFVT;}' unless defined(&E1000_82542_FFVT);
    eval 'sub E1000_EEPROM_SWDPIN0 () {0x1;}' unless defined(&E1000_EEPROM_SWDPIN0);
    eval 'sub E1000_EEPROM_LED_LOGIC () {0x20;}' unless defined(&E1000_EEPROM_LED_LOGIC);
    eval 'sub E1000_CTRL_FD () {0x1;}' unless defined(&E1000_CTRL_FD);
    eval 'sub E1000_CTRL_BEM () {0x2;}' unless defined(&E1000_CTRL_BEM);
    eval 'sub E1000_CTRL_PRIOR () {0x4;}' unless defined(&E1000_CTRL_PRIOR);
    eval 'sub E1000_CTRL_LRST () {0x8;}' unless defined(&E1000_CTRL_LRST);
    eval 'sub E1000_CTRL_TME () {0x10;}' unless defined(&E1000_CTRL_TME);
    eval 'sub E1000_CTRL_SLE () {0x20;}' unless defined(&E1000_CTRL_SLE);
    eval 'sub E1000_CTRL_ASDE () {0x20;}' unless defined(&E1000_CTRL_ASDE);
    eval 'sub E1000_CTRL_SLU () {0x40;}' unless defined(&E1000_CTRL_SLU);
    eval 'sub E1000_CTRL_ILOS () {0x80;}' unless defined(&E1000_CTRL_ILOS);
    eval 'sub E1000_CTRL_SPD_SEL () {0x300;}' unless defined(&E1000_CTRL_SPD_SEL);
    eval 'sub E1000_CTRL_SPD_10 () {0x;}' unless defined(&E1000_CTRL_SPD_10);
    eval 'sub E1000_CTRL_SPD_100 () {0x100;}' unless defined(&E1000_CTRL_SPD_100);
    eval 'sub E1000_CTRL_SPD_1000 () {0x200;}' unless defined(&E1000_CTRL_SPD_1000);
    eval 'sub E1000_CTRL_BEM32 () {0x400;}' unless defined(&E1000_CTRL_BEM32);
    eval 'sub E1000_CTRL_FRCSPD () {0x800;}' unless defined(&E1000_CTRL_FRCSPD);
    eval 'sub E1000_CTRL_FRCDPX () {0x1000;}' unless defined(&E1000_CTRL_FRCDPX);
    eval 'sub E1000_CTRL_SWDPIN0 () {0x40000;}' unless defined(&E1000_CTRL_SWDPIN0);
    eval 'sub E1000_CTRL_SWDPIN1 () {0x80000;}' unless defined(&E1000_CTRL_SWDPIN1);
    eval 'sub E1000_CTRL_SWDPIN2 () {0x100000;}' unless defined(&E1000_CTRL_SWDPIN2);
    eval 'sub E1000_CTRL_SWDPIN3 () {0x200000;}' unless defined(&E1000_CTRL_SWDPIN3);
    eval 'sub E1000_CTRL_SWDPIO0 () {0x400000;}' unless defined(&E1000_CTRL_SWDPIO0);
    eval 'sub E1000_CTRL_SWDPIO1 () {0x800000;}' unless defined(&E1000_CTRL_SWDPIO1);
    eval 'sub E1000_CTRL_SWDPIO2 () {0x1000000;}' unless defined(&E1000_CTRL_SWDPIO2);
    eval 'sub E1000_CTRL_SWDPIO3 () {0x2000000;}' unless defined(&E1000_CTRL_SWDPIO3);
    eval 'sub E1000_CTRL_RST () {0x4000000;}' unless defined(&E1000_CTRL_RST);
    eval 'sub E1000_CTRL_RFCE () {0x8000000;}' unless defined(&E1000_CTRL_RFCE);
    eval 'sub E1000_CTRL_TFCE () {0x10000000;}' unless defined(&E1000_CTRL_TFCE);
    eval 'sub E1000_CTRL_RTE () {0x20000000;}' unless defined(&E1000_CTRL_RTE);
    eval 'sub E1000_CTRL_VME () {0x40000000;}' unless defined(&E1000_CTRL_VME);
    eval 'sub E1000_CTRL_PHY_RST () {0x80000000;}' unless defined(&E1000_CTRL_PHY_RST);
    eval 'sub E1000_STATUS_FD () {0x1;}' unless defined(&E1000_STATUS_FD);
    eval 'sub E1000_STATUS_LU () {0x2;}' unless defined(&E1000_STATUS_LU);
    eval 'sub E1000_STATUS_FUNC_MASK () {0xc;}' unless defined(&E1000_STATUS_FUNC_MASK);
    eval 'sub E1000_STATUS_FUNC_0 () {0x;}' unless defined(&E1000_STATUS_FUNC_0);
    eval 'sub E1000_STATUS_FUNC_1 () {0x4;}' unless defined(&E1000_STATUS_FUNC_1);
    eval 'sub E1000_STATUS_TXOFF () {0x10;}' unless defined(&E1000_STATUS_TXOFF);
    eval 'sub E1000_STATUS_TBIMODE () {0x20;}' unless defined(&E1000_STATUS_TBIMODE);
    eval 'sub E1000_STATUS_SPEED_MASK () {0xc0;}' unless defined(&E1000_STATUS_SPEED_MASK);
    eval 'sub E1000_STATUS_SPEED_10 () {0x;}' unless defined(&E1000_STATUS_SPEED_10);
    eval 'sub E1000_STATUS_SPEED_100 () {0x40;}' unless defined(&E1000_STATUS_SPEED_100);
    eval 'sub E1000_STATUS_SPEED_1000 () {0x80;}' unless defined(&E1000_STATUS_SPEED_1000);
    eval 'sub E1000_STATUS_ASDV () {0x300;}' unless defined(&E1000_STATUS_ASDV);
    eval 'sub E1000_STATUS_MTXCKOK () {0x400;}' unless defined(&E1000_STATUS_MTXCKOK);
    eval 'sub E1000_STATUS_PCI66 () {0x800;}' unless defined(&E1000_STATUS_PCI66);
    eval 'sub E1000_STATUS_BUS64 () {0x1000;}' unless defined(&E1000_STATUS_BUS64);
    eval 'sub E1000_STATUS_PCIX_MODE () {0x2000;}' unless defined(&E1000_STATUS_PCIX_MODE);
    eval 'sub E1000_STATUS_PCIX_SPEED () {0xc000;}' unless defined(&E1000_STATUS_PCIX_SPEED);
    eval 'sub E1000_STATUS_PCIX_SPEED_66 () {0x;}' unless defined(&E1000_STATUS_PCIX_SPEED_66);
    eval 'sub E1000_STATUS_PCIX_SPEED_100 () {0x4000;}' unless defined(&E1000_STATUS_PCIX_SPEED_100);
    eval 'sub E1000_STATUS_PCIX_SPEED_133 () {0x8000;}' unless defined(&E1000_STATUS_PCIX_SPEED_133);
    eval 'sub E1000_EECD_SK () {0x1;}' unless defined(&E1000_EECD_SK);
    eval 'sub E1000_EECD_CS () {0x2;}' unless defined(&E1000_EECD_CS);
    eval 'sub E1000_EECD_DI () {0x4;}' unless defined(&E1000_EECD_DI);
    eval 'sub E1000_EECD_DO () {0x8;}' unless defined(&E1000_EECD_DO);
    eval 'sub E1000_EECD_FWE_MASK () {0x30;}' unless defined(&E1000_EECD_FWE_MASK);
    eval 'sub E1000_EECD_FWE_DIS () {0x10;}' unless defined(&E1000_EECD_FWE_DIS);
    eval 'sub E1000_EECD_FWE_EN () {0x20;}' unless defined(&E1000_EECD_FWE_EN);
    eval 'sub E1000_EECD_FWE_SHIFT () {4;}' unless defined(&E1000_EECD_FWE_SHIFT);
    eval 'sub E1000_EECD_SIZE () {0x200;}' unless defined(&E1000_EECD_SIZE);
    eval 'sub E1000_EECD_REQ () {0x40;}' unless defined(&E1000_EECD_REQ);
    eval 'sub E1000_EECD_GNT () {0x80;}' unless defined(&E1000_EECD_GNT);
    eval 'sub E1000_EECD_PRES () {0x100;}' unless defined(&E1000_EECD_PRES);
    eval 'sub E1000_EERD_START () {0x1;}' unless defined(&E1000_EERD_START);
    eval 'sub E1000_EERD_DONE () {0x10;}' unless defined(&E1000_EERD_DONE);
    eval 'sub E1000_EERD_ADDR_SHIFT () {8;}' unless defined(&E1000_EERD_ADDR_SHIFT);
    eval 'sub E1000_EERD_ADDR_MASK () {0xff00;}' unless defined(&E1000_EERD_ADDR_MASK);
    eval 'sub E1000_EERD_DATA_SHIFT () {16;}' unless defined(&E1000_EERD_DATA_SHIFT);
    eval 'sub E1000_EERD_DATA_MASK () {0xffff0000;}' unless defined(&E1000_EERD_DATA_MASK);
    eval 'sub E1000_CTRL_EXT_GPI0_EN () {0x1;}' unless defined(&E1000_CTRL_EXT_GPI0_EN);
    eval 'sub E1000_CTRL_EXT_GPI1_EN () {0x2;}' unless defined(&E1000_CTRL_EXT_GPI1_EN);
    eval 'sub E1000_CTRL_EXT_PHYINT_EN () { &E1000_CTRL_EXT_GPI1_EN;}' unless defined(&E1000_CTRL_EXT_PHYINT_EN);
    eval 'sub E1000_CTRL_EXT_GPI2_EN () {0x4;}' unless defined(&E1000_CTRL_EXT_GPI2_EN);
    eval 'sub E1000_CTRL_EXT_GPI3_EN () {0x8;}' unless defined(&E1000_CTRL_EXT_GPI3_EN);
    eval 'sub E1000_CTRL_EXT_SDP4_DATA () {0x10;}' unless defined(&E1000_CTRL_EXT_SDP4_DATA);
    eval 'sub E1000_CTRL_EXT_SDP5_DATA () {0x20;}' unless defined(&E1000_CTRL_EXT_SDP5_DATA);
    eval 'sub E1000_CTRL_EXT_PHY_INT () { &E1000_CTRL_EXT_SDP5_DATA;}' unless defined(&E1000_CTRL_EXT_PHY_INT);
    eval 'sub E1000_CTRL_EXT_SDP6_DATA () {0x40;}' unless defined(&E1000_CTRL_EXT_SDP6_DATA);
    eval 'sub E1000_CTRL_EXT_SDP7_DATA () {0x80;}' unless defined(&E1000_CTRL_EXT_SDP7_DATA);
    eval 'sub E1000_CTRL_EXT_SDP4_DIR () {0x100;}' unless defined(&E1000_CTRL_EXT_SDP4_DIR);
    eval 'sub E1000_CTRL_EXT_SDP5_DIR () {0x200;}' unless defined(&E1000_CTRL_EXT_SDP5_DIR);
    eval 'sub E1000_CTRL_EXT_SDP6_DIR () {0x400;}' unless defined(&E1000_CTRL_EXT_SDP6_DIR);
    eval 'sub E1000_CTRL_EXT_SDP7_DIR () {0x800;}' unless defined(&E1000_CTRL_EXT_SDP7_DIR);
    eval 'sub E1000_CTRL_EXT_ASDCHK () {0x1000;}' unless defined(&E1000_CTRL_EXT_ASDCHK);
    eval 'sub E1000_CTRL_EXT_EE_RST () {0x2000;}' unless defined(&E1000_CTRL_EXT_EE_RST);
    eval 'sub E1000_CTRL_EXT_IPS () {0x4000;}' unless defined(&E1000_CTRL_EXT_IPS);
    eval 'sub E1000_CTRL_EXT_SPD_BYPS () {0x8000;}' unless defined(&E1000_CTRL_EXT_SPD_BYPS);
    eval 'sub E1000_CTRL_EXT_LINK_MODE_MASK () {0xc00000;}' unless defined(&E1000_CTRL_EXT_LINK_MODE_MASK);
    eval 'sub E1000_CTRL_EXT_LINK_MODE_GMII () {0x;}' unless defined(&E1000_CTRL_EXT_LINK_MODE_GMII);
    eval 'sub E1000_CTRL_EXT_LINK_MODE_TBI () {0xc00000;}' unless defined(&E1000_CTRL_EXT_LINK_MODE_TBI);
    eval 'sub E1000_CTRL_EXT_WR_WMARK_MASK () {0x3000000;}' unless defined(&E1000_CTRL_EXT_WR_WMARK_MASK);
    eval 'sub E1000_CTRL_EXT_WR_WMARK_256 () {0x;}' unless defined(&E1000_CTRL_EXT_WR_WMARK_256);
    eval 'sub E1000_CTRL_EXT_WR_WMARK_320 () {0x1000000;}' unless defined(&E1000_CTRL_EXT_WR_WMARK_320);
    eval 'sub E1000_CTRL_EXT_WR_WMARK_384 () {0x2000000;}' unless defined(&E1000_CTRL_EXT_WR_WMARK_384);
    eval 'sub E1000_CTRL_EXT_WR_WMARK_448 () {0x3000000;}' unless defined(&E1000_CTRL_EXT_WR_WMARK_448);
    eval 'sub E1000_MDIC_DATA_MASK () {0xffff;}' unless defined(&E1000_MDIC_DATA_MASK);
    eval 'sub E1000_MDIC_REG_MASK () {0x1f0000;}' unless defined(&E1000_MDIC_REG_MASK);
    eval 'sub E1000_MDIC_REG_SHIFT () {16;}' unless defined(&E1000_MDIC_REG_SHIFT);
    eval 'sub E1000_MDIC_PHY_MASK () {0x3e00000;}' unless defined(&E1000_MDIC_PHY_MASK);
    eval 'sub E1000_MDIC_PHY_SHIFT () {21;}' unless defined(&E1000_MDIC_PHY_SHIFT);
    eval 'sub E1000_MDIC_OP_WRITE () {0x4000000;}' unless defined(&E1000_MDIC_OP_WRITE);
    eval 'sub E1000_MDIC_OP_READ () {0x8000000;}' unless defined(&E1000_MDIC_OP_READ);
    eval 'sub E1000_MDIC_READY () {0x10000000;}' unless defined(&E1000_MDIC_READY);
    eval 'sub E1000_MDIC_INT_EN () {0x20000000;}' unless defined(&E1000_MDIC_INT_EN);
    eval 'sub E1000_MDIC_ERROR () {0x40000000;}' unless defined(&E1000_MDIC_ERROR);
    eval 'sub E1000_LEDCTL_LED0_MODE_MASK () {0xf;}' unless defined(&E1000_LEDCTL_LED0_MODE_MASK);
    eval 'sub E1000_LEDCTL_LED0_MODE_SHIFT () {0;}' unless defined(&E1000_LEDCTL_LED0_MODE_SHIFT);
    eval 'sub E1000_LEDCTL_LED0_IVRT () {0x40;}' unless defined(&E1000_LEDCTL_LED0_IVRT);
    eval 'sub E1000_LEDCTL_LED0_BLINK () {0x80;}' unless defined(&E1000_LEDCTL_LED0_BLINK);
    eval 'sub E1000_LEDCTL_LED1_MODE_MASK () {0xf00;}' unless defined(&E1000_LEDCTL_LED1_MODE_MASK);
    eval 'sub E1000_LEDCTL_LED1_MODE_SHIFT () {8;}' unless defined(&E1000_LEDCTL_LED1_MODE_SHIFT);
    eval 'sub E1000_LEDCTL_LED1_IVRT () {0x4000;}' unless defined(&E1000_LEDCTL_LED1_IVRT);
    eval 'sub E1000_LEDCTL_LED1_BLINK () {0x8000;}' unless defined(&E1000_LEDCTL_LED1_BLINK);
    eval 'sub E1000_LEDCTL_LED2_MODE_MASK () {0xf0000;}' unless defined(&E1000_LEDCTL_LED2_MODE_MASK);
    eval 'sub E1000_LEDCTL_LED2_MODE_SHIFT () {16;}' unless defined(&E1000_LEDCTL_LED2_MODE_SHIFT);
    eval 'sub E1000_LEDCTL_LED2_IVRT () {0x400000;}' unless defined(&E1000_LEDCTL_LED2_IVRT);
    eval 'sub E1000_LEDCTL_LED2_BLINK () {0x800000;}' unless defined(&E1000_LEDCTL_LED2_BLINK);
    eval 'sub E1000_LEDCTL_LED3_MODE_MASK () {0xf000000;}' unless defined(&E1000_LEDCTL_LED3_MODE_MASK);
    eval 'sub E1000_LEDCTL_LED3_MODE_SHIFT () {24;}' unless defined(&E1000_LEDCTL_LED3_MODE_SHIFT);
    eval 'sub E1000_LEDCTL_LED3_IVRT () {0x40000000;}' unless defined(&E1000_LEDCTL_LED3_IVRT);
    eval 'sub E1000_LEDCTL_LED3_BLINK () {0x80000000;}' unless defined(&E1000_LEDCTL_LED3_BLINK);
    eval 'sub E1000_LEDCTL_MODE_LINK_10_1000 () {0x;}' unless defined(&E1000_LEDCTL_MODE_LINK_10_1000);
    eval 'sub E1000_LEDCTL_MODE_LINK_100_1000 () {0x1;}' unless defined(&E1000_LEDCTL_MODE_LINK_100_1000);
    eval 'sub E1000_LEDCTL_MODE_LINK_UP () {0x2;}' unless defined(&E1000_LEDCTL_MODE_LINK_UP);
    eval 'sub E1000_LEDCTL_MODE_ACTIVITY () {0x3;}' unless defined(&E1000_LEDCTL_MODE_ACTIVITY);
    eval 'sub E1000_LEDCTL_MODE_LINK_ACTIVITY () {0x4;}' unless defined(&E1000_LEDCTL_MODE_LINK_ACTIVITY);
    eval 'sub E1000_LEDCTL_MODE_LINK_10 () {0x5;}' unless defined(&E1000_LEDCTL_MODE_LINK_10);
    eval 'sub E1000_LEDCTL_MODE_LINK_100 () {0x6;}' unless defined(&E1000_LEDCTL_MODE_LINK_100);
    eval 'sub E1000_LEDCTL_MODE_LINK_1000 () {0x7;}' unless defined(&E1000_LEDCTL_MODE_LINK_1000);
    eval 'sub E1000_LEDCTL_MODE_PCIX_MODE () {0x8;}' unless defined(&E1000_LEDCTL_MODE_PCIX_MODE);
    eval 'sub E1000_LEDCTL_MODE_FULL_DUPLEX () {0x9;}' unless defined(&E1000_LEDCTL_MODE_FULL_DUPLEX);
    eval 'sub E1000_LEDCTL_MODE_COLLISION () {0xa;}' unless defined(&E1000_LEDCTL_MODE_COLLISION);
    eval 'sub E1000_LEDCTL_MODE_BUS_SPEED () {0xb;}' unless defined(&E1000_LEDCTL_MODE_BUS_SPEED);
    eval 'sub E1000_LEDCTL_MODE_BUS_SIZE () {0xc;}' unless defined(&E1000_LEDCTL_MODE_BUS_SIZE);
    eval 'sub E1000_LEDCTL_MODE_PAUSED () {0xd;}' unless defined(&E1000_LEDCTL_MODE_PAUSED);
    eval 'sub E1000_LEDCTL_MODE_LED_ON () {0xe;}' unless defined(&E1000_LEDCTL_MODE_LED_ON);
    eval 'sub E1000_LEDCTL_MODE_LED_OFF () {0xf;}' unless defined(&E1000_LEDCTL_MODE_LED_OFF);
    eval 'sub E1000_RAH_AV () {0x80000000;}' unless defined(&E1000_RAH_AV);
    eval 'sub E1000_ICR_TXDW () {0x1;}' unless defined(&E1000_ICR_TXDW);
    eval 'sub E1000_ICR_TXQE () {0x2;}' unless defined(&E1000_ICR_TXQE);
    eval 'sub E1000_ICR_LSC () {0x4;}' unless defined(&E1000_ICR_LSC);
    eval 'sub E1000_ICR_RXSEQ () {0x8;}' unless defined(&E1000_ICR_RXSEQ);
    eval 'sub E1000_ICR_RXDMT0 () {0x10;}' unless defined(&E1000_ICR_RXDMT0);
    eval 'sub E1000_ICR_RXO () {0x40;}' unless defined(&E1000_ICR_RXO);
    eval 'sub E1000_ICR_RXT0 () {0x80;}' unless defined(&E1000_ICR_RXT0);
    eval 'sub E1000_ICR_MDAC () {0x200;}' unless defined(&E1000_ICR_MDAC);
    eval 'sub E1000_ICR_RXCFG () {0x400;}' unless defined(&E1000_ICR_RXCFG);
    eval 'sub E1000_ICR_GPI_EN0 () {0x800;}' unless defined(&E1000_ICR_GPI_EN0);
    eval 'sub E1000_ICR_GPI_EN1 () {0x1000;}' unless defined(&E1000_ICR_GPI_EN1);
    eval 'sub E1000_ICR_GPI_EN2 () {0x2000;}' unless defined(&E1000_ICR_GPI_EN2);
    eval 'sub E1000_ICR_GPI_EN3 () {0x4000;}' unless defined(&E1000_ICR_GPI_EN3);
    eval 'sub E1000_ICR_TXD_LOW () {0x8000;}' unless defined(&E1000_ICR_TXD_LOW);
    eval 'sub E1000_ICR_SRPD () {0x10000;}' unless defined(&E1000_ICR_SRPD);
    eval 'sub E1000_ICS_TXDW () { &E1000_ICR_TXDW;}' unless defined(&E1000_ICS_TXDW);
    eval 'sub E1000_ICS_TXQE () { &E1000_ICR_TXQE;}' unless defined(&E1000_ICS_TXQE);
    eval 'sub E1000_ICS_LSC () { &E1000_ICR_LSC;}' unless defined(&E1000_ICS_LSC);
    eval 'sub E1000_ICS_RXSEQ () { &E1000_ICR_RXSEQ;}' unless defined(&E1000_ICS_RXSEQ);
    eval 'sub E1000_ICS_RXDMT0 () { &E1000_ICR_RXDMT0;}' unless defined(&E1000_ICS_RXDMT0);
    eval 'sub E1000_ICS_RXO () { &E1000_ICR_RXO;}' unless defined(&E1000_ICS_RXO);
    eval 'sub E1000_ICS_RXT0 () { &E1000_ICR_RXT0;}' unless defined(&E1000_ICS_RXT0);
    eval 'sub E1000_ICS_MDAC () { &E1000_ICR_MDAC;}' unless defined(&E1000_ICS_MDAC);
    eval 'sub E1000_ICS_RXCFG () { &E1000_ICR_RXCFG;}' unless defined(&E1000_ICS_RXCFG);
    eval 'sub E1000_ICS_GPI_EN0 () { &E1000_ICR_GPI_EN0;}' unless defined(&E1000_ICS_GPI_EN0);
    eval 'sub E1000_ICS_GPI_EN1 () { &E1000_ICR_GPI_EN1;}' unless defined(&E1000_ICS_GPI_EN1);
    eval 'sub E1000_ICS_GPI_EN2 () { &E1000_ICR_GPI_EN2;}' unless defined(&E1000_ICS_GPI_EN2);
    eval 'sub E1000_ICS_GPI_EN3 () { &E1000_ICR_GPI_EN3;}' unless defined(&E1000_ICS_GPI_EN3);
    eval 'sub E1000_ICS_TXD_LOW () { &E1000_ICR_TXD_LOW;}' unless defined(&E1000_ICS_TXD_LOW);
    eval 'sub E1000_ICS_SRPD () { &E1000_ICR_SRPD;}' unless defined(&E1000_ICS_SRPD);
    eval 'sub E1000_IMS_TXDW () { &E1000_ICR_TXDW;}' unless defined(&E1000_IMS_TXDW);
    eval 'sub E1000_IMS_TXQE () { &E1000_ICR_TXQE;}' unless defined(&E1000_IMS_TXQE);
    eval 'sub E1000_IMS_LSC () { &E1000_ICR_LSC;}' unless defined(&E1000_IMS_LSC);
    eval 'sub E1000_IMS_RXSEQ () { &E1000_ICR_RXSEQ;}' unless defined(&E1000_IMS_RXSEQ);
    eval 'sub E1000_IMS_RXDMT0 () { &E1000_ICR_RXDMT0;}' unless defined(&E1000_IMS_RXDMT0);
    eval 'sub E1000_IMS_RXO () { &E1000_ICR_RXO;}' unless defined(&E1000_IMS_RXO);
    eval 'sub E1000_IMS_RXT0 () { &E1000_ICR_RXT0;}' unless defined(&E1000_IMS_RXT0);
    eval 'sub E1000_IMS_MDAC () { &E1000_ICR_MDAC;}' unless defined(&E1000_IMS_MDAC);
    eval 'sub E1000_IMS_RXCFG () { &E1000_ICR_RXCFG;}' unless defined(&E1000_IMS_RXCFG);
    eval 'sub E1000_IMS_GPI_EN0 () { &E1000_ICR_GPI_EN0;}' unless defined(&E1000_IMS_GPI_EN0);
    eval 'sub E1000_IMS_GPI_EN1 () { &E1000_ICR_GPI_EN1;}' unless defined(&E1000_IMS_GPI_EN1);
    eval 'sub E1000_IMS_GPI_EN2 () { &E1000_ICR_GPI_EN2;}' unless defined(&E1000_IMS_GPI_EN2);
    eval 'sub E1000_IMS_GPI_EN3 () { &E1000_ICR_GPI_EN3;}' unless defined(&E1000_IMS_GPI_EN3);
    eval 'sub E1000_IMS_TXD_LOW () { &E1000_ICR_TXD_LOW;}' unless defined(&E1000_IMS_TXD_LOW);
    eval 'sub E1000_IMS_SRPD () { &E1000_ICR_SRPD;}' unless defined(&E1000_IMS_SRPD);
    eval 'sub E1000_IMC_TXDW () { &E1000_ICR_TXDW;}' unless defined(&E1000_IMC_TXDW);
    eval 'sub E1000_IMC_TXQE () { &E1000_ICR_TXQE;}' unless defined(&E1000_IMC_TXQE);
    eval 'sub E1000_IMC_LSC () { &E1000_ICR_LSC;}' unless defined(&E1000_IMC_LSC);
    eval 'sub E1000_IMC_RXSEQ () { &E1000_ICR_RXSEQ;}' unless defined(&E1000_IMC_RXSEQ);
    eval 'sub E1000_IMC_RXDMT0 () { &E1000_ICR_RXDMT0;}' unless defined(&E1000_IMC_RXDMT0);
    eval 'sub E1000_IMC_RXO () { &E1000_ICR_RXO;}' unless defined(&E1000_IMC_RXO);
    eval 'sub E1000_IMC_RXT0 () { &E1000_ICR_RXT0;}' unless defined(&E1000_IMC_RXT0);
    eval 'sub E1000_IMC_MDAC () { &E1000_ICR_MDAC;}' unless defined(&E1000_IMC_MDAC);
    eval 'sub E1000_IMC_RXCFG () { &E1000_ICR_RXCFG;}' unless defined(&E1000_IMC_RXCFG);
    eval 'sub E1000_IMC_GPI_EN0 () { &E1000_ICR_GPI_EN0;}' unless defined(&E1000_IMC_GPI_EN0);
    eval 'sub E1000_IMC_GPI_EN1 () { &E1000_ICR_GPI_EN1;}' unless defined(&E1000_IMC_GPI_EN1);
    eval 'sub E1000_IMC_GPI_EN2 () { &E1000_ICR_GPI_EN2;}' unless defined(&E1000_IMC_GPI_EN2);
    eval 'sub E1000_IMC_GPI_EN3 () { &E1000_ICR_GPI_EN3;}' unless defined(&E1000_IMC_GPI_EN3);
    eval 'sub E1000_IMC_TXD_LOW () { &E1000_ICR_TXD_LOW;}' unless defined(&E1000_IMC_TXD_LOW);
    eval 'sub E1000_IMC_SRPD () { &E1000_ICR_SRPD;}' unless defined(&E1000_IMC_SRPD);
    eval 'sub E1000_RCTL_RST () {0x1;}' unless defined(&E1000_RCTL_RST);
    eval 'sub E1000_RCTL_EN () {0x2;}' unless defined(&E1000_RCTL_EN);
    eval 'sub E1000_RCTL_SBP () {0x4;}' unless defined(&E1000_RCTL_SBP);
    eval 'sub E1000_RCTL_UPE () {0x8;}' unless defined(&E1000_RCTL_UPE);
    eval 'sub E1000_RCTL_MPE () {0x10;}' unless defined(&E1000_RCTL_MPE);
    eval 'sub E1000_RCTL_LPE () {0x20;}' unless defined(&E1000_RCTL_LPE);
    eval 'sub E1000_RCTL_LBM_NO () {0x;}' unless defined(&E1000_RCTL_LBM_NO);
    eval 'sub E1000_RCTL_LBM_MAC () {0x40;}' unless defined(&E1000_RCTL_LBM_MAC);
    eval 'sub E1000_RCTL_LBM_SLP () {0x80;}' unless defined(&E1000_RCTL_LBM_SLP);
    eval 'sub E1000_RCTL_LBM_TCVR () {0xc0;}' unless defined(&E1000_RCTL_LBM_TCVR);
    eval 'sub E1000_RCTL_RDMTS_HALF () {0x;}' unless defined(&E1000_RCTL_RDMTS_HALF);
    eval 'sub E1000_RCTL_RDMTS_QUAT () {0x100;}' unless defined(&E1000_RCTL_RDMTS_QUAT);
    eval 'sub E1000_RCTL_RDMTS_EIGTH () {0x200;}' unless defined(&E1000_RCTL_RDMTS_EIGTH);
    eval 'sub E1000_RCTL_MO_SHIFT () {12;}' unless defined(&E1000_RCTL_MO_SHIFT);
    eval 'sub E1000_RCTL_MO_0 () {0x;}' unless defined(&E1000_RCTL_MO_0);
    eval 'sub E1000_RCTL_MO_1 () {0x1000;}' unless defined(&E1000_RCTL_MO_1);
    eval 'sub E1000_RCTL_MO_2 () {0x2000;}' unless defined(&E1000_RCTL_MO_2);
    eval 'sub E1000_RCTL_MO_3 () {0x3000;}' unless defined(&E1000_RCTL_MO_3);
    eval 'sub E1000_RCTL_MDR () {0x4000;}' unless defined(&E1000_RCTL_MDR);
    eval 'sub E1000_RCTL_BAM () {0x8000;}' unless defined(&E1000_RCTL_BAM);
    eval 'sub E1000_RCTL_SZ_2048 () {0x;}' unless defined(&E1000_RCTL_SZ_2048);
    eval 'sub E1000_RCTL_SZ_1024 () {0x10000;}' unless defined(&E1000_RCTL_SZ_1024);
    eval 'sub E1000_RCTL_SZ_512 () {0x20000;}' unless defined(&E1000_RCTL_SZ_512);
    eval 'sub E1000_RCTL_SZ_256 () {0x30000;}' unless defined(&E1000_RCTL_SZ_256);
    eval 'sub E1000_RCTL_SZ_16384 () {0x10000;}' unless defined(&E1000_RCTL_SZ_16384);
    eval 'sub E1000_RCTL_SZ_8192 () {0x20000;}' unless defined(&E1000_RCTL_SZ_8192);
    eval 'sub E1000_RCTL_SZ_4096 () {0x30000;}' unless defined(&E1000_RCTL_SZ_4096);
    eval 'sub E1000_RCTL_VFE () {0x40000;}' unless defined(&E1000_RCTL_VFE);
    eval 'sub E1000_RCTL_CFIEN () {0x80000;}' unless defined(&E1000_RCTL_CFIEN);
    eval 'sub E1000_RCTL_CFI () {0x100000;}' unless defined(&E1000_RCTL_CFI);
    eval 'sub E1000_RCTL_DPF () {0x400000;}' unless defined(&E1000_RCTL_DPF);
    eval 'sub E1000_RCTL_PMCF () {0x800000;}' unless defined(&E1000_RCTL_PMCF);
    eval 'sub E1000_RCTL_BSEX () {0x2000000;}' unless defined(&E1000_RCTL_BSEX);
    eval 'sub E1000_RDT_DELAY () {0xffff;}' unless defined(&E1000_RDT_DELAY);
    eval 'sub E1000_RDT_FPDB () {0x80000000;}' unless defined(&E1000_RDT_FPDB);
    eval 'sub E1000_RDLEN_LEN () {0x7ff80;}' unless defined(&E1000_RDLEN_LEN);
    eval 'sub E1000_RDH_RDH () {0xffff;}' unless defined(&E1000_RDH_RDH);
    eval 'sub E1000_RDT_RDT () {0xffff;}' unless defined(&E1000_RDT_RDT);
    eval 'sub E1000_FCRTH_RTH () {0xfff8;}' unless defined(&E1000_FCRTH_RTH);
    eval 'sub E1000_FCRTH_XFCE () {0x80000000;}' unless defined(&E1000_FCRTH_XFCE);
    eval 'sub E1000_FCRTL_RTL () {0xfff8;}' unless defined(&E1000_FCRTL_RTL);
    eval 'sub E1000_FCRTL_XONE () {0x80000000;}' unless defined(&E1000_FCRTL_XONE);
    eval 'sub E1000_RXDCTL_PTHRESH () {0x3f;}' unless defined(&E1000_RXDCTL_PTHRESH);
    eval 'sub E1000_RXDCTL_HTHRESH () {0x3f00;}' unless defined(&E1000_RXDCTL_HTHRESH);
    eval 'sub E1000_RXDCTL_WTHRESH () {0x3f0000;}' unless defined(&E1000_RXDCTL_WTHRESH);
    eval 'sub E1000_RXDCTL_GRAN () {0x1000000;}' unless defined(&E1000_RXDCTL_GRAN);
    eval 'sub E1000_TXDCTL_PTHRESH () {0xff;}' unless defined(&E1000_TXDCTL_PTHRESH);
    eval 'sub E1000_TXDCTL_HTHRESH () {0xff00;}' unless defined(&E1000_TXDCTL_HTHRESH);
    eval 'sub E1000_TXDCTL_WTHRESH () {0xff0000;}' unless defined(&E1000_TXDCTL_WTHRESH);
    eval 'sub E1000_TXDCTL_GRAN () {0x1000000;}' unless defined(&E1000_TXDCTL_GRAN);
    eval 'sub E1000_TXDCTL_LWTHRESH () {0xfe000000;}' unless defined(&E1000_TXDCTL_LWTHRESH);
    eval 'sub E1000_TXCW_FD () {0x20;}' unless defined(&E1000_TXCW_FD);
    eval 'sub E1000_TXCW_HD () {0x40;}' unless defined(&E1000_TXCW_HD);
    eval 'sub E1000_TXCW_PAUSE () {0x80;}' unless defined(&E1000_TXCW_PAUSE);
    eval 'sub E1000_TXCW_ASM_DIR () {0x100;}' unless defined(&E1000_TXCW_ASM_DIR);
    eval 'sub E1000_TXCW_PAUSE_MASK () {0x180;}' unless defined(&E1000_TXCW_PAUSE_MASK);
    eval 'sub E1000_TXCW_RF () {0x3000;}' unless defined(&E1000_TXCW_RF);
    eval 'sub E1000_TXCW_NP () {0x8000;}' unless defined(&E1000_TXCW_NP);
    eval 'sub E1000_TXCW_CW () {0xffff;}' unless defined(&E1000_TXCW_CW);
    eval 'sub E1000_TXCW_TXC () {0x40000000;}' unless defined(&E1000_TXCW_TXC);
    eval 'sub E1000_TXCW_ANE () {0x80000000;}' unless defined(&E1000_TXCW_ANE);
    eval 'sub E1000_RXCW_CW () {0xffff;}' unless defined(&E1000_RXCW_CW);
    eval 'sub E1000_RXCW_NC () {0x4000000;}' unless defined(&E1000_RXCW_NC);
    eval 'sub E1000_RXCW_IV () {0x8000000;}' unless defined(&E1000_RXCW_IV);
    eval 'sub E1000_RXCW_CC () {0x10000000;}' unless defined(&E1000_RXCW_CC);
    eval 'sub E1000_RXCW_C () {0x20000000;}' unless defined(&E1000_RXCW_C);
    eval 'sub E1000_RXCW_SYNCH () {0x40000000;}' unless defined(&E1000_RXCW_SYNCH);
    eval 'sub E1000_RXCW_ANC () {0x80000000;}' unless defined(&E1000_RXCW_ANC);
    eval 'sub E1000_TCTL_RST () {0x1;}' unless defined(&E1000_TCTL_RST);
    eval 'sub E1000_TCTL_EN () {0x2;}' unless defined(&E1000_TCTL_EN);
    eval 'sub E1000_TCTL_BCE () {0x4;}' unless defined(&E1000_TCTL_BCE);
    eval 'sub E1000_TCTL_PSP () {0x8;}' unless defined(&E1000_TCTL_PSP);
    eval 'sub E1000_TCTL_CT () {0xff0;}' unless defined(&E1000_TCTL_CT);
    eval 'sub E1000_TCTL_COLD () {0x3ff000;}' unless defined(&E1000_TCTL_COLD);
    eval 'sub E1000_TCTL_SWXOFF () {0x400000;}' unless defined(&E1000_TCTL_SWXOFF);
    eval 'sub E1000_TCTL_PBE () {0x800000;}' unless defined(&E1000_TCTL_PBE);
    eval 'sub E1000_TCTL_RTLC () {0x1000000;}' unless defined(&E1000_TCTL_RTLC);
    eval 'sub E1000_TCTL_NRTU () {0x2000000;}' unless defined(&E1000_TCTL_NRTU);
    eval 'sub E1000_RXCSUM_PCSS_MASK () {0xff;}' unless defined(&E1000_RXCSUM_PCSS_MASK);
    eval 'sub E1000_RXCSUM_IPOFL () {0x100;}' unless defined(&E1000_RXCSUM_IPOFL);
    eval 'sub E1000_RXCSUM_TUOFL () {0x200;}' unless defined(&E1000_RXCSUM_TUOFL);
    eval 'sub E1000_RXCSUM_IPV6OFL () {0x400;}' unless defined(&E1000_RXCSUM_IPV6OFL);
    eval 'sub E1000_WUC_APME () {0x1;}' unless defined(&E1000_WUC_APME);
    eval 'sub E1000_WUC_PME_EN () {0x2;}' unless defined(&E1000_WUC_PME_EN);
    eval 'sub E1000_WUC_PME_STATUS () {0x4;}' unless defined(&E1000_WUC_PME_STATUS);
    eval 'sub E1000_WUC_APMPME () {0x8;}' unless defined(&E1000_WUC_APMPME);
    eval 'sub E1000_WUFC_LNKC () {0x1;}' unless defined(&E1000_WUFC_LNKC);
    eval 'sub E1000_WUFC_MAG () {0x2;}' unless defined(&E1000_WUFC_MAG);
    eval 'sub E1000_WUFC_EX () {0x4;}' unless defined(&E1000_WUFC_EX);
    eval 'sub E1000_WUFC_MC () {0x8;}' unless defined(&E1000_WUFC_MC);
    eval 'sub E1000_WUFC_BC () {0x10;}' unless defined(&E1000_WUFC_BC);
    eval 'sub E1000_WUFC_ARP () {0x20;}' unless defined(&E1000_WUFC_ARP);
    eval 'sub E1000_WUFC_IPV4 () {0x40;}' unless defined(&E1000_WUFC_IPV4);
    eval 'sub E1000_WUFC_IPV6 () {0x80;}' unless defined(&E1000_WUFC_IPV6);
    eval 'sub E1000_WUFC_FLX0 () {0x10000;}' unless defined(&E1000_WUFC_FLX0);
    eval 'sub E1000_WUFC_FLX1 () {0x20000;}' unless defined(&E1000_WUFC_FLX1);
    eval 'sub E1000_WUFC_FLX2 () {0x40000;}' unless defined(&E1000_WUFC_FLX2);
    eval 'sub E1000_WUFC_FLX3 () {0x80000;}' unless defined(&E1000_WUFC_FLX3);
    eval 'sub E1000_WUFC_ALL_FILTERS () {0xf00ff;}' unless defined(&E1000_WUFC_ALL_FILTERS);
    eval 'sub E1000_WUFC_FLX_OFFSET () {16;}' unless defined(&E1000_WUFC_FLX_OFFSET);
    eval 'sub E1000_WUFC_FLX_FILTERS () {0xf0000;}' unless defined(&E1000_WUFC_FLX_FILTERS);
    eval 'sub E1000_WUS_LNKC () {0x1;}' unless defined(&E1000_WUS_LNKC);
    eval 'sub E1000_WUS_MAG () {0x2;}' unless defined(&E1000_WUS_MAG);
    eval 'sub E1000_WUS_EX () {0x4;}' unless defined(&E1000_WUS_EX);
    eval 'sub E1000_WUS_MC () {0x8;}' unless defined(&E1000_WUS_MC);
    eval 'sub E1000_WUS_BC () {0x10;}' unless defined(&E1000_WUS_BC);
    eval 'sub E1000_WUS_ARP () {0x20;}' unless defined(&E1000_WUS_ARP);
    eval 'sub E1000_WUS_IPV4 () {0x40;}' unless defined(&E1000_WUS_IPV4);
    eval 'sub E1000_WUS_IPV6 () {0x80;}' unless defined(&E1000_WUS_IPV6);
    eval 'sub E1000_WUS_FLX0 () {0x10000;}' unless defined(&E1000_WUS_FLX0);
    eval 'sub E1000_WUS_FLX1 () {0x20000;}' unless defined(&E1000_WUS_FLX1);
    eval 'sub E1000_WUS_FLX2 () {0x40000;}' unless defined(&E1000_WUS_FLX2);
    eval 'sub E1000_WUS_FLX3 () {0x80000;}' unless defined(&E1000_WUS_FLX3);
    eval 'sub E1000_WUS_FLX_FILTERS () {0xf0000;}' unless defined(&E1000_WUS_FLX_FILTERS);
    eval 'sub E1000_MANC_SMBUS_EN () {0x1;}' unless defined(&E1000_MANC_SMBUS_EN);
    eval 'sub E1000_MANC_ASF_EN () {0x2;}' unless defined(&E1000_MANC_ASF_EN);
    eval 'sub E1000_MANC_R_ON_FORCE () {0x4;}' unless defined(&E1000_MANC_R_ON_FORCE);
    eval 'sub E1000_MANC_RMCP_EN () {0x100;}' unless defined(&E1000_MANC_RMCP_EN);
    eval 'sub E1000_MANC_0298_EN () {0x200;}' unless defined(&E1000_MANC_0298_EN);
    eval 'sub E1000_MANC_IPV4_EN () {0x400;}' unless defined(&E1000_MANC_IPV4_EN);
    eval 'sub E1000_MANC_IPV6_EN () {0x800;}' unless defined(&E1000_MANC_IPV6_EN);
    eval 'sub E1000_MANC_SNAP_EN () {0x1000;}' unless defined(&E1000_MANC_SNAP_EN);
    eval 'sub E1000_MANC_ARP_EN () {0x2000;}' unless defined(&E1000_MANC_ARP_EN);
    eval 'sub E1000_MANC_NEIGHBOR_EN () {0x4000;}' unless defined(&E1000_MANC_NEIGHBOR_EN);
    eval 'sub E1000_MANC_TCO_RESET () {0x10000;}' unless defined(&E1000_MANC_TCO_RESET);
    eval 'sub E1000_MANC_RCV_TCO_EN () {0x20000;}' unless defined(&E1000_MANC_RCV_TCO_EN);
    eval 'sub E1000_MANC_REPORT_STATUS () {0x40000;}' unless defined(&E1000_MANC_REPORT_STATUS);
    eval 'sub E1000_MANC_SMB_REQ () {0x1000000;}' unless defined(&E1000_MANC_SMB_REQ);
    eval 'sub E1000_MANC_SMB_GNT () {0x2000000;}' unless defined(&E1000_MANC_SMB_GNT);
    eval 'sub E1000_MANC_SMB_CLK_IN () {0x4000000;}' unless defined(&E1000_MANC_SMB_CLK_IN);
    eval 'sub E1000_MANC_SMB_DATA_IN () {0x8000000;}' unless defined(&E1000_MANC_SMB_DATA_IN);
    eval 'sub E1000_MANC_SMB_DATA_OUT () {0x10000000;}' unless defined(&E1000_MANC_SMB_DATA_OUT);
    eval 'sub E1000_MANC_SMB_CLK_OUT () {0x20000000;}' unless defined(&E1000_MANC_SMB_CLK_OUT);
    eval 'sub E1000_MANC_SMB_DATA_OUT_SHIFT () {28;}' unless defined(&E1000_MANC_SMB_DATA_OUT_SHIFT);
    eval 'sub E1000_MANC_SMB_CLK_OUT_SHIFT () {29;}' unless defined(&E1000_MANC_SMB_CLK_OUT_SHIFT);
    eval 'sub E1000_WUPL_LENGTH_MASK () {0xfff;}' unless defined(&E1000_WUPL_LENGTH_MASK);
    eval 'sub E1000_MDALIGN () {4096;}' unless defined(&E1000_MDALIGN);
    eval 'sub EEPROM_READ_OPCODE () {0x6;}' unless defined(&EEPROM_READ_OPCODE);
    eval 'sub EEPROM_WRITE_OPCODE () {0x5;}' unless defined(&EEPROM_WRITE_OPCODE);
    eval 'sub EEPROM_ERASE_OPCODE () {0x7;}' unless defined(&EEPROM_ERASE_OPCODE);
    eval 'sub EEPROM_EWEN_OPCODE () {0x13;}' unless defined(&EEPROM_EWEN_OPCODE);
    eval 'sub EEPROM_EWDS_OPCODE () {0x10;}' unless defined(&EEPROM_EWDS_OPCODE);
    eval 'sub EEPROM_COMPAT () {0x3;}' unless defined(&EEPROM_COMPAT);
    eval 'sub EEPROM_ID_LED_SETTINGS () {0x4;}' unless defined(&EEPROM_ID_LED_SETTINGS);
    eval 'sub EEPROM_INIT_CONTROL1_REG () {0xa;}' unless defined(&EEPROM_INIT_CONTROL1_REG);
    eval 'sub EEPROM_INIT_CONTROL2_REG () {0xf;}' unless defined(&EEPROM_INIT_CONTROL2_REG);
    eval 'sub EEPROM_FLASH_VERSION () {0x32;}' unless defined(&EEPROM_FLASH_VERSION);
    eval 'sub EEPROM_CHECKSUM_REG () {0x3f;}' unless defined(&EEPROM_CHECKSUM_REG);
    eval 'sub ID_LED_RESERVED_0000 () {0x;}' unless defined(&ID_LED_RESERVED_0000);
    eval 'sub ID_LED_RESERVED_FFFF () {0xffff;}' unless defined(&ID_LED_RESERVED_FFFF);
    eval 'sub ID_LED_DEFAULT () {(( &ID_LED_OFF1_ON2 << 12) | ( &ID_LED_OFF1_OFF2 << 8) | ( &ID_LED_DEF1_DEF2 << 4) | ( &ID_LED_DEF1_DEF2));}' unless defined(&ID_LED_DEFAULT);
    eval 'sub ID_LED_DEF1_DEF2 () {0x1;}' unless defined(&ID_LED_DEF1_DEF2);
    eval 'sub ID_LED_DEF1_ON2 () {0x2;}' unless defined(&ID_LED_DEF1_ON2);
    eval 'sub ID_LED_DEF1_OFF2 () {0x3;}' unless defined(&ID_LED_DEF1_OFF2);
    eval 'sub ID_LED_ON1_DEF2 () {0x4;}' unless defined(&ID_LED_ON1_DEF2);
    eval 'sub ID_LED_ON1_ON2 () {0x5;}' unless defined(&ID_LED_ON1_ON2);
    eval 'sub ID_LED_ON1_OFF2 () {0x6;}' unless defined(&ID_LED_ON1_OFF2);
    eval 'sub ID_LED_OFF1_DEF2 () {0x7;}' unless defined(&ID_LED_OFF1_DEF2);
    eval 'sub ID_LED_OFF1_ON2 () {0x8;}' unless defined(&ID_LED_OFF1_ON2);
    eval 'sub ID_LED_OFF1_OFF2 () {0x9;}' unless defined(&ID_LED_OFF1_OFF2);
    eval 'sub EEPROM_COMPAT_SERVER () {0x400;}' unless defined(&EEPROM_COMPAT_SERVER);
    eval 'sub EEPROM_COMPAT_CLIENT () {0x200;}' unless defined(&EEPROM_COMPAT_CLIENT);
    eval 'sub EEPROM_WORD0A_ILOS () {0x10;}' unless defined(&EEPROM_WORD0A_ILOS);
    eval 'sub EEPROM_WORD0A_SWDPIO () {0x1e0;}' unless defined(&EEPROM_WORD0A_SWDPIO);
    eval 'sub EEPROM_WORD0A_LRST () {0x200;}' unless defined(&EEPROM_WORD0A_LRST);
    eval 'sub EEPROM_WORD0A_FD () {0x400;}' unless defined(&EEPROM_WORD0A_FD);
    eval 'sub EEPROM_WORD0A_66MHZ () {0x800;}' unless defined(&EEPROM_WORD0A_66MHZ);
    eval 'sub EEPROM_WORD0F_PAUSE_MASK () {0x3000;}' unless defined(&EEPROM_WORD0F_PAUSE_MASK);
    eval 'sub EEPROM_WORD0F_PAUSE () {0x1000;}' unless defined(&EEPROM_WORD0F_PAUSE);
    eval 'sub EEPROM_WORD0F_ASM_DIR () {0x2000;}' unless defined(&EEPROM_WORD0F_ASM_DIR);
    eval 'sub EEPROM_WORD0F_ANE () {0x800;}' unless defined(&EEPROM_WORD0F_ANE);
    eval 'sub EEPROM_WORD0F_SWPDIO_EXT () {0xf0;}' unless defined(&EEPROM_WORD0F_SWPDIO_EXT);
    eval 'sub EEPROM_SUM () {0xbaba;}' unless defined(&EEPROM_SUM);
    eval 'sub EEPROM_NODE_ADDRESS_BYTE_0 () {0;}' unless defined(&EEPROM_NODE_ADDRESS_BYTE_0);
    eval 'sub EEPROM_PBA_BYTE_1 () {8;}' unless defined(&EEPROM_PBA_BYTE_1);
    eval 'sub PBA_SIZE () {4;}' unless defined(&PBA_SIZE);
    eval 'sub E1000_COLLISION_THRESHOLD () {16;}' unless defined(&E1000_COLLISION_THRESHOLD);
    eval 'sub E1000_CT_SHIFT () {4;}' unless defined(&E1000_CT_SHIFT);
    eval 'sub E1000_COLLISION_DISTANCE () {64;}' unless defined(&E1000_COLLISION_DISTANCE);
    eval 'sub E1000_FDX_COLLISION_DISTANCE () { &E1000_COLLISION_DISTANCE;}' unless defined(&E1000_FDX_COLLISION_DISTANCE);
    eval 'sub E1000_HDX_COLLISION_DISTANCE () { &E1000_COLLISION_DISTANCE;}' unless defined(&E1000_HDX_COLLISION_DISTANCE);
    eval 'sub E1000_GB_HDX_COLLISION_DISTANCE () {512;}' unless defined(&E1000_GB_HDX_COLLISION_DISTANCE);
    eval 'sub E1000_COLD_SHIFT () {12;}' unless defined(&E1000_COLD_SHIFT);
    eval 'sub REQ_TX_DESCRIPTOR_MULTIPLE () {8;}' unless defined(&REQ_TX_DESCRIPTOR_MULTIPLE);
    eval 'sub REQ_RX_DESCRIPTOR_MULTIPLE () {8;}' unless defined(&REQ_RX_DESCRIPTOR_MULTIPLE);
    eval 'sub DEFAULT_82542_TIPG_IPGT () {10;}' unless defined(&DEFAULT_82542_TIPG_IPGT);
    eval 'sub DEFAULT_82543_TIPG_IPGT_FIBER () {9;}' unless defined(&DEFAULT_82543_TIPG_IPGT_FIBER);
    eval 'sub DEFAULT_82543_TIPG_IPGT_COPPER () {8;}' unless defined(&DEFAULT_82543_TIPG_IPGT_COPPER);
    eval 'sub E1000_TIPG_IPGT_MASK () {0x3ff;}' unless defined(&E1000_TIPG_IPGT_MASK);
    eval 'sub E1000_TIPG_IPGR1_MASK () {0xffc00;}' unless defined(&E1000_TIPG_IPGR1_MASK);
    eval 'sub E1000_TIPG_IPGR2_MASK () {0x3ff00000;}' unless defined(&E1000_TIPG_IPGR2_MASK);
    eval 'sub DEFAULT_82542_TIPG_IPGR1 () {2;}' unless defined(&DEFAULT_82542_TIPG_IPGR1);
    eval 'sub DEFAULT_82543_TIPG_IPGR1 () {8;}' unless defined(&DEFAULT_82543_TIPG_IPGR1);
    eval 'sub E1000_TIPG_IPGR1_SHIFT () {10;}' unless defined(&E1000_TIPG_IPGR1_SHIFT);
    eval 'sub DEFAULT_82542_TIPG_IPGR2 () {10;}' unless defined(&DEFAULT_82542_TIPG_IPGR2);
    eval 'sub DEFAULT_82543_TIPG_IPGR2 () {6;}' unless defined(&DEFAULT_82543_TIPG_IPGR2);
    eval 'sub E1000_TIPG_IPGR2_SHIFT () {20;}' unless defined(&E1000_TIPG_IPGR2_SHIFT);
    eval 'sub E1000_TXDMAC_DPP () {0x1;}' unless defined(&E1000_TXDMAC_DPP);
    eval 'sub TX_THRESHOLD_START () {8;}' unless defined(&TX_THRESHOLD_START);
    eval 'sub TX_THRESHOLD_INCREMENT () {10;}' unless defined(&TX_THRESHOLD_INCREMENT);
    eval 'sub TX_THRESHOLD_DECREMENT () {1;}' unless defined(&TX_THRESHOLD_DECREMENT);
    eval 'sub TX_THRESHOLD_STOP () {190;}' unless defined(&TX_THRESHOLD_STOP);
    eval 'sub TX_THRESHOLD_DISABLE () {0;}' unless defined(&TX_THRESHOLD_DISABLE);
    eval 'sub TX_THRESHOLD_TIMER_MS () {10000;}' unless defined(&TX_THRESHOLD_TIMER_MS);
    eval 'sub MIN_NUM_XMITS () {1000;}' unless defined(&MIN_NUM_XMITS);
    eval 'sub IFS_MAX () {80;}' unless defined(&IFS_MAX);
    eval 'sub IFS_STEP () {10;}' unless defined(&IFS_STEP);
    eval 'sub IFS_MIN () {40;}' unless defined(&IFS_MIN);
    eval 'sub IFS_RATIO () {4;}' unless defined(&IFS_RATIO);
    eval 'sub E1000_PBA_16K () {0x10;}' unless defined(&E1000_PBA_16K);
    eval 'sub E1000_PBA_24K () {0x18;}' unless defined(&E1000_PBA_24K);
    eval 'sub E1000_PBA_40K () {0x28;}' unless defined(&E1000_PBA_40K);
    eval 'sub E1000_PBA_48K () {0x30;}' unless defined(&E1000_PBA_48K);
    eval 'sub FLOW_CONTROL_ADDRESS_LOW () {0xc28001;}' unless defined(&FLOW_CONTROL_ADDRESS_LOW);
    eval 'sub FLOW_CONTROL_ADDRESS_HIGH () {0x100;}' unless defined(&FLOW_CONTROL_ADDRESS_HIGH);
    eval 'sub FLOW_CONTROL_TYPE () {0x8808;}' unless defined(&FLOW_CONTROL_TYPE);
    eval 'sub FC_DEFAULT_HI_THRESH () {(0x8000);}' unless defined(&FC_DEFAULT_HI_THRESH);
    eval 'sub FC_DEFAULT_LO_THRESH () {(0x4000);}' unless defined(&FC_DEFAULT_LO_THRESH);
    eval 'sub FC_DEFAULT_TX_TIMER () {(0x100);}' unless defined(&FC_DEFAULT_TX_TIMER);
    eval 'sub PCIX_COMMAND_REGISTER () {0xe6;}' unless defined(&PCIX_COMMAND_REGISTER);
    eval 'sub PCIX_STATUS_REGISTER_LO () {0xe8;}' unless defined(&PCIX_STATUS_REGISTER_LO);
    eval 'sub PCIX_STATUS_REGISTER_HI () {0xea;}' unless defined(&PCIX_STATUS_REGISTER_HI);
    eval 'sub PCIX_COMMAND_MMRBC_MASK () {0xc;}' unless defined(&PCIX_COMMAND_MMRBC_MASK);
    eval 'sub PCIX_COMMAND_MMRBC_SHIFT () {0x2;}' unless defined(&PCIX_COMMAND_MMRBC_SHIFT);
    eval 'sub PCIX_STATUS_HI_MMRBC_MASK () {0x60;}' unless defined(&PCIX_STATUS_HI_MMRBC_MASK);
    eval 'sub PCIX_STATUS_HI_MMRBC_SHIFT () {0x5;}' unless defined(&PCIX_STATUS_HI_MMRBC_SHIFT);
    eval 'sub PAUSE_SHIFT () {5;}' unless defined(&PAUSE_SHIFT);
    eval 'sub SWDPIO_SHIFT () {17;}' unless defined(&SWDPIO_SHIFT);
    eval 'sub SWDPIO__EXT_SHIFT () {4;}' unless defined(&SWDPIO__EXT_SHIFT);
    eval 'sub ILOS_SHIFT () {3;}' unless defined(&ILOS_SHIFT);
    eval 'sub RECEIVE_BUFFER_ALIGN_SIZE () {(256);}' unless defined(&RECEIVE_BUFFER_ALIGN_SIZE);
    eval 'sub LINK_UP_TIMEOUT () {500;}' unless defined(&LINK_UP_TIMEOUT);
    eval 'sub E1000_TX_BUFFER_SIZE () {(1514);}' unless defined(&E1000_TX_BUFFER_SIZE);
    eval 'sub CARRIER_EXTENSION () {0xf;}' unless defined(&CARRIER_EXTENSION);
    eval 'sub TBI_ACCEPT {
        local($adapter, $status, $errors, $length, $last_byte) = @_;
	    eval q((($adapter)-> &tbi_compatibility_on  && ((($errors) &  &E1000_RXD_ERR_FRAME_ERR_MASK) ==  &E1000_RXD_ERR_CE)  && (($last_byte) ==  &CARRIER_EXTENSION)  && ((($status) &  &E1000_RXD_STAT_VP) ? ((($length) > (($adapter)-> &min_frame_size -  &VLAN_TAG_SIZE))  && (($length) <= (($adapter)-> &max_frame_size + 1))) : ((($length) > ($adapter)-> &min_frame_size)  && (($length) <= (($adapter)-> &max_frame_size +  &VLAN_TAG_SIZE + 1))))));
    }' unless defined(&TBI_ACCEPT);
    eval 'sub E1000_CTRL_PHY_RESET_DIR () { &E1000_CTRL_SWDPIO0;}' unless defined(&E1000_CTRL_PHY_RESET_DIR);
    eval 'sub E1000_CTRL_PHY_RESET () { &E1000_CTRL_SWDPIN0;}' unless defined(&E1000_CTRL_PHY_RESET);
    eval 'sub E1000_CTRL_MDIO_DIR () { &E1000_CTRL_SWDPIO2;}' unless defined(&E1000_CTRL_MDIO_DIR);
    eval 'sub E1000_CTRL_MDIO () { &E1000_CTRL_SWDPIN2;}' unless defined(&E1000_CTRL_MDIO);
    eval 'sub E1000_CTRL_MDC_DIR () { &E1000_CTRL_SWDPIO3;}' unless defined(&E1000_CTRL_MDC_DIR);
    eval 'sub E1000_CTRL_MDC () { &E1000_CTRL_SWDPIN3;}' unless defined(&E1000_CTRL_MDC);
    eval 'sub E1000_CTRL_PHY_RESET_DIR4 () { &E1000_CTRL_EXT_SDP4_DIR;}' unless defined(&E1000_CTRL_PHY_RESET_DIR4);
    eval 'sub E1000_CTRL_PHY_RESET4 () { &E1000_CTRL_EXT_SDP4_DATA;}' unless defined(&E1000_CTRL_PHY_RESET4);
    eval 'sub PHY_CTRL () {0x;}' unless defined(&PHY_CTRL);
    eval 'sub PHY_STATUS () {0x1;}' unless defined(&PHY_STATUS);
    eval 'sub PHY_ID1 () {0x2;}' unless defined(&PHY_ID1);
    eval 'sub PHY_ID2 () {0x3;}' unless defined(&PHY_ID2);
    eval 'sub PHY_AUTONEG_ADV () {0x4;}' unless defined(&PHY_AUTONEG_ADV);
    eval 'sub PHY_LP_ABILITY () {0x5;}' unless defined(&PHY_LP_ABILITY);
    eval 'sub PHY_AUTONEG_EXP () {0x6;}' unless defined(&PHY_AUTONEG_EXP);
    eval 'sub PHY_NEXT_PAGE_TX () {0x7;}' unless defined(&PHY_NEXT_PAGE_TX);
    eval 'sub PHY_LP_NEXT_PAGE () {0x8;}' unless defined(&PHY_LP_NEXT_PAGE);
    eval 'sub PHY_1000T_CTRL () {0x9;}' unless defined(&PHY_1000T_CTRL);
    eval 'sub PHY_1000T_STATUS () {0xa;}' unless defined(&PHY_1000T_STATUS);
    eval 'sub PHY_EXT_STATUS () {0xf;}' unless defined(&PHY_EXT_STATUS);
    eval 'sub M88E1000_PHY_SPEC_CTRL () {0x10;}' unless defined(&M88E1000_PHY_SPEC_CTRL);
    eval 'sub M88E1000_PHY_SPEC_STATUS () {0x11;}' unless defined(&M88E1000_PHY_SPEC_STATUS);
    eval 'sub M88E1000_INT_ENABLE () {0x12;}' unless defined(&M88E1000_INT_ENABLE);
    eval 'sub M88E1000_INT_STATUS () {0x13;}' unless defined(&M88E1000_INT_STATUS);
    eval 'sub M88E1000_EXT_PHY_SPEC_CTRL () {0x14;}' unless defined(&M88E1000_EXT_PHY_SPEC_CTRL);
    eval 'sub M88E1000_RX_ERR_CNTR () {0x15;}' unless defined(&M88E1000_RX_ERR_CNTR);
    eval 'sub MAX_PHY_REG_ADDRESS () {0x1f;}' unless defined(&MAX_PHY_REG_ADDRESS);
    eval 'sub MII_CR_SPEED_SELECT_MSB () {0x40;}' unless defined(&MII_CR_SPEED_SELECT_MSB);
    eval 'sub MII_CR_COLL_TEST_ENABLE () {0x80;}' unless defined(&MII_CR_COLL_TEST_ENABLE);
    eval 'sub MII_CR_FULL_DUPLEX () {0x100;}' unless defined(&MII_CR_FULL_DUPLEX);
    eval 'sub MII_CR_RESTART_AUTO_NEG () {0x200;}' unless defined(&MII_CR_RESTART_AUTO_NEG);
    eval 'sub MII_CR_ISOLATE () {0x400;}' unless defined(&MII_CR_ISOLATE);
    eval 'sub MII_CR_POWER_DOWN () {0x800;}' unless defined(&MII_CR_POWER_DOWN);
    eval 'sub MII_CR_AUTO_NEG_EN () {0x1000;}' unless defined(&MII_CR_AUTO_NEG_EN);
    eval 'sub MII_CR_SPEED_SELECT_LSB () {0x2000;}' unless defined(&MII_CR_SPEED_SELECT_LSB);
    eval 'sub MII_CR_LOOPBACK () {0x4000;}' unless defined(&MII_CR_LOOPBACK);
    eval 'sub MII_CR_RESET () {0x8000;}' unless defined(&MII_CR_RESET);
    eval 'sub MII_SR_EXTENDED_CAPS () {0x1;}' unless defined(&MII_SR_EXTENDED_CAPS);
    eval 'sub MII_SR_JABBER_DETECT () {0x2;}' unless defined(&MII_SR_JABBER_DETECT);
    eval 'sub MII_SR_LINK_STATUS () {0x4;}' unless defined(&MII_SR_LINK_STATUS);
    eval 'sub MII_SR_AUTONEG_CAPS () {0x8;}' unless defined(&MII_SR_AUTONEG_CAPS);
    eval 'sub MII_SR_REMOTE_FAULT () {0x10;}' unless defined(&MII_SR_REMOTE_FAULT);
    eval 'sub MII_SR_AUTONEG_COMPLETE () {0x20;}' unless defined(&MII_SR_AUTONEG_COMPLETE);
    eval 'sub MII_SR_PREAMBLE_SUPPRESS () {0x40;}' unless defined(&MII_SR_PREAMBLE_SUPPRESS);
    eval 'sub MII_SR_EXTENDED_STATUS () {0x100;}' unless defined(&MII_SR_EXTENDED_STATUS);
    eval 'sub MII_SR_100T2_HD_CAPS () {0x200;}' unless defined(&MII_SR_100T2_HD_CAPS);
    eval 'sub MII_SR_100T2_FD_CAPS () {0x400;}' unless defined(&MII_SR_100T2_FD_CAPS);
    eval 'sub MII_SR_10T_HD_CAPS () {0x800;}' unless defined(&MII_SR_10T_HD_CAPS);
    eval 'sub MII_SR_10T_FD_CAPS () {0x1000;}' unless defined(&MII_SR_10T_FD_CAPS);
    eval 'sub MII_SR_100X_HD_CAPS () {0x2000;}' unless defined(&MII_SR_100X_HD_CAPS);
    eval 'sub MII_SR_100X_FD_CAPS () {0x4000;}' unless defined(&MII_SR_100X_FD_CAPS);
    eval 'sub MII_SR_100T4_CAPS () {0x8000;}' unless defined(&MII_SR_100T4_CAPS);
    eval 'sub NWAY_AR_SELECTOR_FIELD () {0x1;}' unless defined(&NWAY_AR_SELECTOR_FIELD);
    eval 'sub NWAY_AR_10T_HD_CAPS () {0x20;}' unless defined(&NWAY_AR_10T_HD_CAPS);
    eval 'sub NWAY_AR_10T_FD_CAPS () {0x40;}' unless defined(&NWAY_AR_10T_FD_CAPS);
    eval 'sub NWAY_AR_100TX_HD_CAPS () {0x80;}' unless defined(&NWAY_AR_100TX_HD_CAPS);
    eval 'sub NWAY_AR_100TX_FD_CAPS () {0x100;}' unless defined(&NWAY_AR_100TX_FD_CAPS);
    eval 'sub NWAY_AR_100T4_CAPS () {0x200;}' unless defined(&NWAY_AR_100T4_CAPS);
    eval 'sub NWAY_AR_PAUSE () {0x400;}' unless defined(&NWAY_AR_PAUSE);
    eval 'sub NWAY_AR_ASM_DIR () {0x800;}' unless defined(&NWAY_AR_ASM_DIR);
    eval 'sub NWAY_AR_REMOTE_FAULT () {0x2000;}' unless defined(&NWAY_AR_REMOTE_FAULT);
    eval 'sub NWAY_AR_NEXT_PAGE () {0x8000;}' unless defined(&NWAY_AR_NEXT_PAGE);
    eval 'sub NWAY_LPAR_SELECTOR_FIELD () {0x;}' unless defined(&NWAY_LPAR_SELECTOR_FIELD);
    eval 'sub NWAY_LPAR_10T_HD_CAPS () {0x20;}' unless defined(&NWAY_LPAR_10T_HD_CAPS);
    eval 'sub NWAY_LPAR_10T_FD_CAPS () {0x40;}' unless defined(&NWAY_LPAR_10T_FD_CAPS);
    eval 'sub NWAY_LPAR_100TX_HD_CAPS () {0x80;}' unless defined(&NWAY_LPAR_100TX_HD_CAPS);
    eval 'sub NWAY_LPAR_100TX_FD_CAPS () {0x100;}' unless defined(&NWAY_LPAR_100TX_FD_CAPS);
    eval 'sub NWAY_LPAR_100T4_CAPS () {0x200;}' unless defined(&NWAY_LPAR_100T4_CAPS);
    eval 'sub NWAY_LPAR_PAUSE () {0x400;}' unless defined(&NWAY_LPAR_PAUSE);
    eval 'sub NWAY_LPAR_ASM_DIR () {0x800;}' unless defined(&NWAY_LPAR_ASM_DIR);
    eval 'sub NWAY_LPAR_REMOTE_FAULT () {0x2000;}' unless defined(&NWAY_LPAR_REMOTE_FAULT);
    eval 'sub NWAY_LPAR_ACKNOWLEDGE () {0x4000;}' unless defined(&NWAY_LPAR_ACKNOWLEDGE);
    eval 'sub NWAY_LPAR_NEXT_PAGE () {0x8000;}' unless defined(&NWAY_LPAR_NEXT_PAGE);
    eval 'sub NWAY_ER_LP_NWAY_CAPS () {0x1;}' unless defined(&NWAY_ER_LP_NWAY_CAPS);
    eval 'sub NWAY_ER_PAGE_RXD () {0x2;}' unless defined(&NWAY_ER_PAGE_RXD);
    eval 'sub NWAY_ER_NEXT_PAGE_CAPS () {0x4;}' unless defined(&NWAY_ER_NEXT_PAGE_CAPS);
    eval 'sub NWAY_ER_LP_NEXT_PAGE_CAPS () {0x8;}' unless defined(&NWAY_ER_LP_NEXT_PAGE_CAPS);
    eval 'sub NWAY_ER_PAR_DETECT_FAULT () {0x100;}' unless defined(&NWAY_ER_PAR_DETECT_FAULT);
    eval 'sub NPTX_MSG_CODE_FIELD () {0x1;}' unless defined(&NPTX_MSG_CODE_FIELD);
    eval 'sub NPTX_TOGGLE () {0x800;}' unless defined(&NPTX_TOGGLE);
    eval 'sub NPTX_ACKNOWLDGE2 () {0x1000;}' unless defined(&NPTX_ACKNOWLDGE2);
    eval 'sub NPTX_MSG_PAGE () {0x2000;}' unless defined(&NPTX_MSG_PAGE);
    eval 'sub NPTX_NEXT_PAGE () {0x8000;}' unless defined(&NPTX_NEXT_PAGE);
    eval 'sub LP_RNPR_MSG_CODE_FIELD () {0x1;}' unless defined(&LP_RNPR_MSG_CODE_FIELD);
    eval 'sub LP_RNPR_TOGGLE () {0x800;}' unless defined(&LP_RNPR_TOGGLE);
    eval 'sub LP_RNPR_ACKNOWLDGE2 () {0x1000;}' unless defined(&LP_RNPR_ACKNOWLDGE2);
    eval 'sub LP_RNPR_MSG_PAGE () {0x2000;}' unless defined(&LP_RNPR_MSG_PAGE);
    eval 'sub LP_RNPR_ACKNOWLDGE () {0x4000;}' unless defined(&LP_RNPR_ACKNOWLDGE);
    eval 'sub LP_RNPR_NEXT_PAGE () {0x8000;}' unless defined(&LP_RNPR_NEXT_PAGE);
    eval 'sub CR_1000T_ASYM_PAUSE () {0x80;}' unless defined(&CR_1000T_ASYM_PAUSE);
    eval 'sub CR_1000T_HD_CAPS () {0x100;}' unless defined(&CR_1000T_HD_CAPS);
    eval 'sub CR_1000T_FD_CAPS () {0x200;}' unless defined(&CR_1000T_FD_CAPS);
    eval 'sub CR_1000T_REPEATER_DTE () {0x400;}' unless defined(&CR_1000T_REPEATER_DTE);
    eval 'sub CR_1000T_MS_VALUE () {0x800;}' unless defined(&CR_1000T_MS_VALUE);
    eval 'sub CR_1000T_MS_ENABLE () {0x1000;}' unless defined(&CR_1000T_MS_ENABLE);
    eval 'sub CR_1000T_TEST_MODE_NORMAL () {0x;}' unless defined(&CR_1000T_TEST_MODE_NORMAL);
    eval 'sub CR_1000T_TEST_MODE_1 () {0x2000;}' unless defined(&CR_1000T_TEST_MODE_1);
    eval 'sub CR_1000T_TEST_MODE_2 () {0x4000;}' unless defined(&CR_1000T_TEST_MODE_2);
    eval 'sub CR_1000T_TEST_MODE_3 () {0x6000;}' unless defined(&CR_1000T_TEST_MODE_3);
    eval 'sub CR_1000T_TEST_MODE_4 () {0x8000;}' unless defined(&CR_1000T_TEST_MODE_4);
    eval 'sub SR_1000T_IDLE_ERROR_CNT () {0xff;}' unless defined(&SR_1000T_IDLE_ERROR_CNT);
    eval 'sub SR_1000T_ASYM_PAUSE_DIR () {0x100;}' unless defined(&SR_1000T_ASYM_PAUSE_DIR);
    eval 'sub SR_1000T_LP_HD_CAPS () {0x400;}' unless defined(&SR_1000T_LP_HD_CAPS);
    eval 'sub SR_1000T_LP_FD_CAPS () {0x800;}' unless defined(&SR_1000T_LP_FD_CAPS);
    eval 'sub SR_1000T_REMOTE_RX_STATUS () {0x1000;}' unless defined(&SR_1000T_REMOTE_RX_STATUS);
    eval 'sub SR_1000T_LOCAL_RX_STATUS () {0x2000;}' unless defined(&SR_1000T_LOCAL_RX_STATUS);
    eval 'sub SR_1000T_MS_CONFIG_RES () {0x4000;}' unless defined(&SR_1000T_MS_CONFIG_RES);
    eval 'sub SR_1000T_MS_CONFIG_FAULT () {0x8000;}' unless defined(&SR_1000T_MS_CONFIG_FAULT);
    eval 'sub SR_1000T_REMOTE_RX_STATUS_SHIFT () {12;}' unless defined(&SR_1000T_REMOTE_RX_STATUS_SHIFT);
    eval 'sub SR_1000T_LOCAL_RX_STATUS_SHIFT () {13;}' unless defined(&SR_1000T_LOCAL_RX_STATUS_SHIFT);
    eval 'sub IEEE_ESR_1000T_HD_CAPS () {0x1000;}' unless defined(&IEEE_ESR_1000T_HD_CAPS);
    eval 'sub IEEE_ESR_1000T_FD_CAPS () {0x2000;}' unless defined(&IEEE_ESR_1000T_FD_CAPS);
    eval 'sub IEEE_ESR_1000X_HD_CAPS () {0x4000;}' unless defined(&IEEE_ESR_1000X_HD_CAPS);
    eval 'sub IEEE_ESR_1000X_FD_CAPS () {0x8000;}' unless defined(&IEEE_ESR_1000X_FD_CAPS);
    eval 'sub PHY_TX_POLARITY_MASK () {0x100;}' unless defined(&PHY_TX_POLARITY_MASK);
    eval 'sub PHY_TX_NORMAL_POLARITY () {0;}' unless defined(&PHY_TX_NORMAL_POLARITY);
    eval 'sub AUTO_POLARITY_DISABLE () {0x10;}' unless defined(&AUTO_POLARITY_DISABLE);
    eval 'sub M88E1000_PSCR_JABBER_DISABLE () {0x1;}' unless defined(&M88E1000_PSCR_JABBER_DISABLE);
    eval 'sub M88E1000_PSCR_POLARITY_REVERSAL () {0x2;}' unless defined(&M88E1000_PSCR_POLARITY_REVERSAL);
    eval 'sub M88E1000_PSCR_SQE_TEST () {0x4;}' unless defined(&M88E1000_PSCR_SQE_TEST);
    eval 'sub M88E1000_PSCR_CLK125_DISABLE () {0x10;}' unless defined(&M88E1000_PSCR_CLK125_DISABLE);
    eval 'sub M88E1000_PSCR_MDI_MANUAL_MODE () {0x;}' unless defined(&M88E1000_PSCR_MDI_MANUAL_MODE);
    eval 'sub M88E1000_PSCR_MDIX_MANUAL_MODE () {0x20;}' unless defined(&M88E1000_PSCR_MDIX_MANUAL_MODE);
    eval 'sub M88E1000_PSCR_AUTO_X_1000T () {0x40;}' unless defined(&M88E1000_PSCR_AUTO_X_1000T);
    eval 'sub M88E1000_PSCR_AUTO_X_MODE () {0x60;}' unless defined(&M88E1000_PSCR_AUTO_X_MODE);
    eval 'sub M88E1000_PSCR_10BT_EXT_DIST_ENABLE () {0x80;}' unless defined(&M88E1000_PSCR_10BT_EXT_DIST_ENABLE);
    eval 'sub M88E1000_PSCR_MII_5BIT_ENABLE () {0x100;}' unless defined(&M88E1000_PSCR_MII_5BIT_ENABLE);
    eval 'sub M88E1000_PSCR_SCRAMBLER_DISABLE () {0x200;}' unless defined(&M88E1000_PSCR_SCRAMBLER_DISABLE);
    eval 'sub M88E1000_PSCR_FORCE_LINK_GOOD () {0x400;}' unless defined(&M88E1000_PSCR_FORCE_LINK_GOOD);
    eval 'sub M88E1000_PSCR_ASSERT_CRS_ON_TX () {0x800;}' unless defined(&M88E1000_PSCR_ASSERT_CRS_ON_TX);
    eval 'sub M88E1000_PSCR_POLARITY_REVERSAL_SHIFT () {1;}' unless defined(&M88E1000_PSCR_POLARITY_REVERSAL_SHIFT);
    eval 'sub M88E1000_PSCR_AUTO_X_MODE_SHIFT () {5;}' unless defined(&M88E1000_PSCR_AUTO_X_MODE_SHIFT);
    eval 'sub M88E1000_PSCR_10BT_EXT_DIST_ENABLE_SHIFT () {7;}' unless defined(&M88E1000_PSCR_10BT_EXT_DIST_ENABLE_SHIFT);
    eval 'sub M88E1000_PSSR_JABBER () {0x1;}' unless defined(&M88E1000_PSSR_JABBER);
    eval 'sub M88E1000_PSSR_REV_POLARITY () {0x2;}' unless defined(&M88E1000_PSSR_REV_POLARITY);
    eval 'sub M88E1000_PSSR_MDIX () {0x40;}' unless defined(&M88E1000_PSSR_MDIX);
    eval 'sub M88E1000_PSSR_CABLE_LENGTH () {0x380;}' unless defined(&M88E1000_PSSR_CABLE_LENGTH);
    eval 'sub M88E1000_PSSR_LINK () {0x400;}' unless defined(&M88E1000_PSSR_LINK);
    eval 'sub M88E1000_PSSR_SPD_DPLX_RESOLVED () {0x800;}' unless defined(&M88E1000_PSSR_SPD_DPLX_RESOLVED);
    eval 'sub M88E1000_PSSR_PAGE_RCVD () {0x1000;}' unless defined(&M88E1000_PSSR_PAGE_RCVD);
    eval 'sub M88E1000_PSSR_DPLX () {0x2000;}' unless defined(&M88E1000_PSSR_DPLX);
    eval 'sub M88E1000_PSSR_SPEED () {0xc000;}' unless defined(&M88E1000_PSSR_SPEED);
    eval 'sub M88E1000_PSSR_10MBS () {0x;}' unless defined(&M88E1000_PSSR_10MBS);
    eval 'sub M88E1000_PSSR_100MBS () {0x4000;}' unless defined(&M88E1000_PSSR_100MBS);
    eval 'sub M88E1000_PSSR_1000MBS () {0x8000;}' unless defined(&M88E1000_PSSR_1000MBS);
    eval 'sub M88E1000_PSSR_REV_POLARITY_SHIFT () {1;}' unless defined(&M88E1000_PSSR_REV_POLARITY_SHIFT);
    eval 'sub M88E1000_PSSR_MDIX_SHIFT () {6;}' unless defined(&M88E1000_PSSR_MDIX_SHIFT);
    eval 'sub M88E1000_PSSR_CABLE_LENGTH_SHIFT () {7;}' unless defined(&M88E1000_PSSR_CABLE_LENGTH_SHIFT);
    eval 'sub M88E1000_EPSCR_FIBER_LOOPBACK () {0x4000;}' unless defined(&M88E1000_EPSCR_FIBER_LOOPBACK);
    eval 'sub M88E1000_EPSCR_DOWN_NO_IDLE () {0x8000;}' unless defined(&M88E1000_EPSCR_DOWN_NO_IDLE);
    eval 'sub M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK () {0xc00;}' unless defined(&M88E1000_EPSCR_MASTER_DOWNSHIFT_MASK);
    eval 'sub M88E1000_EPSCR_MASTER_DOWNSHIFT_1X () {0x;}' unless defined(&M88E1000_EPSCR_MASTER_DOWNSHIFT_1X);
    eval 'sub M88E1000_EPSCR_MASTER_DOWNSHIFT_2X () {0x400;}' unless defined(&M88E1000_EPSCR_MASTER_DOWNSHIFT_2X);
    eval 'sub M88E1000_EPSCR_MASTER_DOWNSHIFT_3X () {0x800;}' unless defined(&M88E1000_EPSCR_MASTER_DOWNSHIFT_3X);
    eval 'sub M88E1000_EPSCR_MASTER_DOWNSHIFT_4X () {0xc00;}' unless defined(&M88E1000_EPSCR_MASTER_DOWNSHIFT_4X);
    eval 'sub M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK () {0x300;}' unless defined(&M88E1000_EPSCR_SLAVE_DOWNSHIFT_MASK);
    eval 'sub M88E1000_EPSCR_SLAVE_DOWNSHIFT_DIS () {0x;}' unless defined(&M88E1000_EPSCR_SLAVE_DOWNSHIFT_DIS);
    eval 'sub M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X () {0x100;}' unless defined(&M88E1000_EPSCR_SLAVE_DOWNSHIFT_1X);
    eval 'sub M88E1000_EPSCR_SLAVE_DOWNSHIFT_2X () {0x200;}' unless defined(&M88E1000_EPSCR_SLAVE_DOWNSHIFT_2X);
    eval 'sub M88E1000_EPSCR_SLAVE_DOWNSHIFT_3X () {0x300;}' unless defined(&M88E1000_EPSCR_SLAVE_DOWNSHIFT_3X);
    eval 'sub M88E1000_EPSCR_TX_CLK_2_5 () {0x60;}' unless defined(&M88E1000_EPSCR_TX_CLK_2_5);
    eval 'sub M88E1000_EPSCR_TX_CLK_25 () {0x70;}' unless defined(&M88E1000_EPSCR_TX_CLK_25);
    eval 'sub M88E1000_EPSCR_TX_CLK_0 () {0x;}' unless defined(&M88E1000_EPSCR_TX_CLK_0);
    eval 'sub M88E1000_E_PHY_ID () {0x1410c50;}' unless defined(&M88E1000_E_PHY_ID);
    eval 'sub M88E1000_I_PHY_ID () {0x1410c30;}' unless defined(&M88E1000_I_PHY_ID);
    eval 'sub M88E1011_I_PHY_ID () {0x1410c20;}' unless defined(&M88E1011_I_PHY_ID);
    eval 'sub M88E1000_12_PHY_ID () { &M88E1000_E_PHY_ID;}' unless defined(&M88E1000_12_PHY_ID);
    eval 'sub M88E1000_14_PHY_ID () { &M88E1000_E_PHY_ID;}' unless defined(&M88E1000_14_PHY_ID);
    eval 'sub PHY_PREAMBLE () {0xffffffff;}' unless defined(&PHY_PREAMBLE);
    eval 'sub PHY_SOF () {0x1;}' unless defined(&PHY_SOF);
    eval 'sub PHY_OP_READ () {0x2;}' unless defined(&PHY_OP_READ);
    eval 'sub PHY_OP_WRITE () {0x1;}' unless defined(&PHY_OP_WRITE);
    eval 'sub PHY_TURNAROUND () {0x2;}' unless defined(&PHY_TURNAROUND);
    eval 'sub PHY_PREAMBLE_SIZE () {32;}' unless defined(&PHY_PREAMBLE_SIZE);
    eval 'sub MII_CR_SPEED_1000 () {0x40;}' unless defined(&MII_CR_SPEED_1000);
    eval 'sub MII_CR_SPEED_100 () {0x2000;}' unless defined(&MII_CR_SPEED_100);
    eval 'sub MII_CR_SPEED_10 () {0x;}' unless defined(&MII_CR_SPEED_10);
    eval 'sub E1000_PHY_ADDRESS () {0x1;}' unless defined(&E1000_PHY_ADDRESS);
    eval 'sub PHY_AUTO_NEG_TIME () {45;}' unless defined(&PHY_AUTO_NEG_TIME);
    eval 'sub PHY_FORCE_TIME () {20;}' unless defined(&PHY_FORCE_TIME);
    eval 'sub PHY_REVISION_MASK () {0xfffffff0;}' unless defined(&PHY_REVISION_MASK);
    eval 'sub DEVICE_SPEED_MASK () {0x300;}' unless defined(&DEVICE_SPEED_MASK);
    eval 'sub REG4_SPEED_MASK () {0x1e0;}' unless defined(&REG4_SPEED_MASK);
    eval 'sub REG9_SPEED_MASK () {0x300;}' unless defined(&REG9_SPEED_MASK);
    eval 'sub ADVERTISE_10_HALF () {0x1;}' unless defined(&ADVERTISE_10_HALF);
    eval 'sub ADVERTISE_10_FULL () {0x2;}' unless defined(&ADVERTISE_10_FULL);
    eval 'sub ADVERTISE_100_HALF () {0x4;}' unless defined(&ADVERTISE_100_HALF);
    eval 'sub ADVERTISE_100_FULL () {0x8;}' unless defined(&ADVERTISE_100_FULL);
    eval 'sub ADVERTISE_1000_HALF () {0x10;}' unless defined(&ADVERTISE_1000_HALF);
    eval 'sub ADVERTISE_1000_FULL () {0x20;}' unless defined(&ADVERTISE_1000_FULL);
    eval 'sub AUTONEG_ADVERTISE_SPEED_DEFAULT () {0x2f;}' unless defined(&AUTONEG_ADVERTISE_SPEED_DEFAULT);
}
1;
