require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&EG_COMMAND)) {
    sub EG_COMMAND () {	0x;}
}
unless(defined(&EG_STATUS)) {
    sub EG_STATUS () {	0x2;}
}
unless(defined(&EG_DATA)) {
    sub EG_DATA () {	0x4;}
}
unless(defined(&EG_CONTROL)) {
    sub EG_CONTROL () {	0x6;}
}
unless(defined(&EG_IO_PORTS)) {
    sub EG_IO_PORTS () {	8;}
}
unless(defined(&EG_CTL_ATTN)) {
    sub EG_CTL_ATTN () {	0x80;}
}
unless(defined(&EG_CTL_FLSH)) {
    sub EG_CTL_FLSH () {	0x40;}
}
unless(defined(&EG_CTL_RESET)) {
    sub EG_CTL_RESET () {	( &EG_CTL_ATTN| &EG_CTL_FLSH);}
}
unless(defined(&EG_CTL_DMAE)) {
    sub EG_CTL_DMAE () {	0x20;}
}
unless(defined(&EG_CTL_DIR)) {
    sub EG_CTL_DIR () {	0x10;}
}
unless(defined(&EG_CTL_TCEN)) {
    sub EG_CTL_TCEN () {	0x8;}
}
unless(defined(&EG_CTL_CMDE)) {
    sub EG_CTL_CMDE () {	0x4;}
}
unless(defined(&EG_CTL_HSF2)) {
    sub EG_CTL_HSF2 () {	0x2;}
}
unless(defined(&EG_CTL_HSF1)) {
    sub EG_CTL_HSF1 () {	0x1;}
}
unless(defined(&EG_STAT_HRDY)) {
    sub EG_STAT_HRDY () {	0x80;}
}
unless(defined(&EG_STAT_HCRE)) {
    sub EG_STAT_HCRE () {	0x40;}
}
unless(defined(&EG_STAT_ACRF)) {
    sub EG_STAT_ACRF () {	0x20;}
}
unless(defined(&EG_STAT_DIR)) {
    sub EG_STAT_DIR () {	0x10;}
}
unless(defined(&EG_STAT_DONE)) {
    sub EG_STAT_DONE () {	0x8;}
}
unless(defined(&EG_STAT_ASF3)) {
    sub EG_STAT_ASF3 () {	0x4;}
}
unless(defined(&EG_STAT_ASF2)) {
    sub EG_STAT_ASF2 () {	0x2;}
}
unless(defined(&EG_STAT_ASF1)) {
    sub EG_STAT_ASF1 () {	0x1;}
}
unless(defined(&EG_PCB_NULL)) {
    sub EG_PCB_NULL () {	0x;}
}
unless(defined(&EG_PCB_ACCEPT)) {
    sub EG_PCB_ACCEPT () {	0x1;}
}
unless(defined(&EG_PCB_REJECT)) {
    sub EG_PCB_REJECT () {	0x2;}
}
unless(defined(&EG_PCB_DONE)) {
    sub EG_PCB_DONE () {	0x3;}
}
unless(defined(&EG_PCB_STAT)) {
    sub EG_PCB_STAT () {	0x3;}
}
unless(defined(&EG_CMD_CONFIG82586)) {
    sub EG_CMD_CONFIG82586 () {	0x2;}
}
unless(defined(&EG_CMD_GETEADDR)) {
    sub EG_CMD_GETEADDR () {	0x3;}
}
unless(defined(&EG_CMD_RECVPACKET)) {
    sub EG_CMD_RECVPACKET () {	0x8;}
}
unless(defined(&EG_CMD_SENDPACKET)) {
    sub EG_CMD_SENDPACKET () {	0x9;}
}
unless(defined(&EG_CMD_GETSTATS)) {
    sub EG_CMD_GETSTATS () {	0xa;}
}
unless(defined(&EG_CMD_SETEADDR)) {
    sub EG_CMD_SETEADDR () {	0x10;}
}
unless(defined(&EG_CMD_GETINFO)) {
    sub EG_CMD_GETINFO () {	0x11;}
}
unless(defined(&EG_RSP_CONFIG82586)) {
    sub EG_RSP_CONFIG82586 () {	0x32;}
}
unless(defined(&EG_RSP_GETEADDR)) {
    sub EG_RSP_GETEADDR () {	0x33;}
}
unless(defined(&EG_RSP_RECVPACKET)) {
    sub EG_RSP_RECVPACKET () {	0x38;}
}
unless(defined(&EG_RSP_SENDPACKET)) {
    sub EG_RSP_SENDPACKET () {	0x39;}
}
unless(defined(&EG_RSP_GETSTATS)) {
    sub EG_RSP_GETSTATS () {	0x3a;}
}
unless(defined(&EG_RSP_SETEADDR)) {
    sub EG_RSP_SETEADDR () {	0x40;}
}
unless(defined(&EG_RSP_GETINFO)) {
    sub EG_RSP_GETINFO () {	0x41;}
}
1;
