require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&LEBLEN)) {
    sub LEBLEN () {	1536;}
}
unless(defined(&LEMINSIZE)) {
    sub LEMINSIZE () {	60;}
}
unless(defined(&LE_INITADDR)) {
    sub LE_INITADDR {
	my($sc) = @_;
	eval q(( ($sc->{sc_initaddr})));
    }
}
unless(defined(&LE_RMDADDR)) {
    sub LE_RMDADDR {
	my($sc, $bix) = @_;
	eval q(( ($sc->{sc_rmdaddr}) + $sizeof{'struct lermd'} * ($bix)));
    }
}
unless(defined(&LE_TMDADDR)) {
    sub LE_TMDADDR {
	my($sc, $bix) = @_;
	eval q(( ($sc->{sc_tmdaddr}) + $sizeof{'struct letmd'} * ($bix)));
    }
}
unless(defined(&LE_RBUFADDR)) {
    sub LE_RBUFADDR {
	my($sc, $bix) = @_;
	eval q(( ($sc->{sc_rbufaddr[$bix]})));
    }
}
unless(defined(&LE_TBUFADDR)) {
    sub LE_TBUFADDR {
	my($sc, $bix) = @_;
	eval q(( ($sc->{sc_tbufaddr[$bix]})));
    }
}
unless(defined(&LE_BCNT)) {
    sub LE_BCNT {
	my($x) = @_;
	eval q((~($x) + 1));
    }
}
unless(defined(&LE_CSR0)) {
    sub LE_CSR0 () {	0x;}
}
unless(defined(&LE_CSR1)) {
    sub LE_CSR1 () {	0x1;}
}
unless(defined(&LE_CSR2)) {
    sub LE_CSR2 () {	0x2;}
}
unless(defined(&LE_CSR3)) {
    sub LE_CSR3 () {	0x3;}
}
unless(defined(&LE_CSR4)) {
    sub LE_CSR4 () {	0x4;}
}
unless(defined(&LE_CSR5)) {
    sub LE_CSR5 () {	0x5;}
}
unless(defined(&LE_CSR6)) {
    sub LE_CSR6 () {	0x6;}
}
unless(defined(&LE_CSR7)) {
    sub LE_CSR7 () {	0x7;}
}
unless(defined(&LE_CSR8)) {
    sub LE_CSR8 () {	0x8;}
}
unless(defined(&LE_CSR9)) {
    sub LE_CSR9 () {	0x9;}
}
unless(defined(&LE_CSR10)) {
    sub LE_CSR10 () {	0xa;}
}
unless(defined(&LE_CSR11)) {
    sub LE_CSR11 () {	0xb;}
}
unless(defined(&LE_CSR12)) {
    sub LE_CSR12 () {	0xc;}
}
unless(defined(&LE_CSR13)) {
    sub LE_CSR13 () {	0xd;}
}
unless(defined(&LE_CSR14)) {
    sub LE_CSR14 () {	0xe;}
}
unless(defined(&LE_CSR15)) {
    sub LE_CSR15 () {	0xf;}
}
unless(defined(&LE_CSR16)) {
    sub LE_CSR16 () {	0x10;}
}
unless(defined(&LE_CSR17)) {
    sub LE_CSR17 () {	0x11;}
}
unless(defined(&LE_CSR18)) {
    sub LE_CSR18 () {	0x12;}
}
unless(defined(&LE_CSR19)) {
    sub LE_CSR19 () {	0x13;}
}
unless(defined(&LE_CSR20)) {
    sub LE_CSR20 () {	0x14;}
}
unless(defined(&LE_CSR21)) {
    sub LE_CSR21 () {	0x15;}
}
unless(defined(&LE_CSR22)) {
    sub LE_CSR22 () {	0x16;}
}
unless(defined(&LE_CSR23)) {
    sub LE_CSR23 () {	0x17;}
}
unless(defined(&LE_CSR24)) {
    sub LE_CSR24 () {	0x18;}
}
unless(defined(&LE_CSR25)) {
    sub LE_CSR25 () {	0x19;}
}
unless(defined(&LE_CSR26)) {
    sub LE_CSR26 () {	0x1a;}
}
unless(defined(&LE_CSR27)) {
    sub LE_CSR27 () {	0x1b;}
}
unless(defined(&LE_CSR28)) {
    sub LE_CSR28 () {	0x1c;}
}
unless(defined(&LE_CSR29)) {
    sub LE_CSR29 () {	0x1d;}
}
unless(defined(&LE_CSR30)) {
    sub LE_CSR30 () {	0x1e;}
}
unless(defined(&LE_CSR31)) {
    sub LE_CSR31 () {	0x1f;}
}
unless(defined(&LE_CSR32)) {
    sub LE_CSR32 () {	0x20;}
}
unless(defined(&LE_CSR33)) {
    sub LE_CSR33 () {	0x21;}
}
unless(defined(&LE_CSR34)) {
    sub LE_CSR34 () {	0x22;}
}
unless(defined(&LE_CSR35)) {
    sub LE_CSR35 () {	0x23;}
}
unless(defined(&LE_CSR36)) {
    sub LE_CSR36 () {	0x24;}
}
unless(defined(&LE_CSR37)) {
    sub LE_CSR37 () {	0x25;}
}
unless(defined(&LE_CSR38)) {
    sub LE_CSR38 () {	0x26;}
}
unless(defined(&LE_CSR39)) {
    sub LE_CSR39 () {	0x27;}
}
unless(defined(&LE_CSR40)) {
    sub LE_CSR40 () {	0x28;}
}
unless(defined(&LE_CSR41)) {
    sub LE_CSR41 () {	0x29;}
}
unless(defined(&LE_CSR42)) {
    sub LE_CSR42 () {	0x2a;}
}
unless(defined(&LE_CSR43)) {
    sub LE_CSR43 () {	0x2b;}
}
unless(defined(&LE_CSR44)) {
    sub LE_CSR44 () {	0x2c;}
}
unless(defined(&LE_CSR45)) {
    sub LE_CSR45 () {	0x2d;}
}
unless(defined(&LE_CSR46)) {
    sub LE_CSR46 () {	0x2e;}
}
unless(defined(&LE_CSR47)) {
    sub LE_CSR47 () {	0x2f;}
}
unless(defined(&LE_CSR48)) {
    sub LE_CSR48 () {	0x30;}
}
unless(defined(&LE_CSR49)) {
    sub LE_CSR49 () {	0x31;}
}
unless(defined(&LE_CSR58)) {
    sub LE_CSR58 () {	0x3a;}
}
unless(defined(&LE_CSR60)) {
    sub LE_CSR60 () {	0x3c;}
}
unless(defined(&LE_CSR61)) {
    sub LE_CSR61 () {	0x3d;}
}
unless(defined(&LE_CSR62)) {
    sub LE_CSR62 () {	0x3e;}
}
unless(defined(&LE_CSR63)) {
    sub LE_CSR63 () {	0x3f;}
}
unless(defined(&LE_CSR64)) {
    sub LE_CSR64 () {	0x40;}
}
unless(defined(&LE_CSR65)) {
    sub LE_CSR65 () {	0x41;}
}
unless(defined(&LE_CSR66)) {
    sub LE_CSR66 () {	0x42;}
}
unless(defined(&LE_CSR67)) {
    sub LE_CSR67 () {	0x43;}
}
unless(defined(&LE_CSR72)) {
    sub LE_CSR72 () {	0x48;}
}
unless(defined(&LE_CSR74)) {
    sub LE_CSR74 () {	0x4a;}
}
unless(defined(&LE_CSR76)) {
    sub LE_CSR76 () {	0x4c;}
}
unless(defined(&LE_CSR78)) {
    sub LE_CSR78 () {	0x4e;}
}
unless(defined(&LE_CSR80)) {
    sub LE_CSR80 () {	0x50;}
}
unless(defined(&LE_CSR82)) {
    sub LE_CSR82 () {	0x52;}
}
unless(defined(&LE_CSR84)) {
    sub LE_CSR84 () {	0x54;}
}
unless(defined(&LE_CSR85)) {
    sub LE_CSR85 () {	0x55;}
}
unless(defined(&LE_CSR86)) {
    sub LE_CSR86 () {	0x56;}
}
unless(defined(&LE_CSR88)) {
    sub LE_CSR88 () {	0x58;}
}
unless(defined(&LE_CSR89)) {
    sub LE_CSR89 () {	0x59;}
}
unless(defined(&LE_CSR92)) {
    sub LE_CSR92 () {	0x5c;}
}
unless(defined(&LE_CSR100)) {
    sub LE_CSR100 () {	0x64;}
}
unless(defined(&LE_CSR112)) {
    sub LE_CSR112 () {	0x70;}
}
unless(defined(&LE_CSR114)) {
    sub LE_CSR114 () {	0x72;}
}
unless(defined(&LE_CSR116)) {
    sub LE_CSR116 () {	0x74;}
}
unless(defined(&LE_CSR122)) {
    sub LE_CSR122 () {	0x7a;}
}
unless(defined(&LE_CSR124)) {
    sub LE_CSR124 () {	0x7c;}
}
unless(defined(&LE_CSR125)) {
    sub LE_CSR125 () {	0x7d;}
}
unless(defined(&LE_BCR0)) {
    sub LE_BCR0 () {	0x;}
}
unless(defined(&LE_BCR1)) {
    sub LE_BCR1 () {	0x1;}
}
unless(defined(&LE_BCR2)) {
    sub LE_BCR2 () {	0x2;}
}
unless(defined(&LE_BCR4)) {
    sub LE_BCR4 () {	0x4;}
}
unless(defined(&LE_BCR5)) {
    sub LE_BCR5 () {	0x5;}
}
unless(defined(&LE_BCR6)) {
    sub LE_BCR6 () {	0x6;}
}
unless(defined(&LE_BCR7)) {
    sub LE_BCR7 () {	0x7;}
}
unless(defined(&LE_BCR9)) {
    sub LE_BCR9 () {	0x9;}
}
unless(defined(&LE_BCR16)) {
    sub LE_BCR16 () {	0x10;}
}
unless(defined(&LE_BCR17)) {
    sub LE_BCR17 () {	0x11;}
}
unless(defined(&LE_BCR18)) {
    sub LE_BCR18 () {	0x12;}
}
unless(defined(&LE_BCR19)) {
    sub LE_BCR19 () {	0x13;}
}
unless(defined(&LE_BCR20)) {
    sub LE_BCR20 () {	0x14;}
}
unless(defined(&LE_BCR22)) {
    sub LE_BCR22 () {	0x16;}
}
unless(defined(&LE_BCR23)) {
    sub LE_BCR23 () {	0x17;}
}
unless(defined(&LE_BCR24)) {
    sub LE_BCR24 () {	0x18;}
}
unless(defined(&LE_BCR25)) {
    sub LE_BCR25 () {	0x19;}
}
unless(defined(&LE_BCR26)) {
    sub LE_BCR26 () {	0x1a;}
}
unless(defined(&LE_BCR27)) {
    sub LE_BCR27 () {	0x1b;}
}
unless(defined(&LE_BCR28)) {
    sub LE_BCR28 () {	0x1c;}
}
unless(defined(&LE_BCR29)) {
    sub LE_BCR29 () {	0x1d;}
}
unless(defined(&LE_BCR30)) {
    sub LE_BCR30 () {	0x1e;}
}
unless(defined(&LE_BCR31)) {
    sub LE_BCR31 () {	0x1f;}
}
unless(defined(&LE_BCR32)) {
    sub LE_BCR32 () {	0x20;}
}
unless(defined(&LE_BCR33)) {
    sub LE_BCR33 () {	0x21;}
}
unless(defined(&LE_BCR34)) {
    sub LE_BCR34 () {	0x22;}
}
unless(defined(&LE_BCR35)) {
    sub LE_BCR35 () {	0x23;}
}
unless(defined(&LE_BCR36)) {
    sub LE_BCR36 () {	0x24;}
}
unless(defined(&LE_BCR37)) {
    sub LE_BCR37 () {	0x25;}
}
unless(defined(&LE_BCR38)) {
    sub LE_BCR38 () {	0x26;}
}
unless(defined(&LE_BCR39)) {
    sub LE_BCR39 () {	0x27;}
}
unless(defined(&LE_BCR40)) {
    sub LE_BCR40 () {	0x28;}
}
unless(defined(&LE_BCR41)) {
    sub LE_BCR41 () {	0x29;}
}
unless(defined(&LE_BCR42)) {
    sub LE_BCR42 () {	0x2a;}
}
unless(defined(&LE_BCR43)) {
    sub LE_BCR43 () {	0x2b;}
}
unless(defined(&LE_BCR44)) {
    sub LE_BCR44 () {	0x2c;}
}
unless(defined(&LE_BCR45)) {
    sub LE_BCR45 () {	0x2d;}
}
unless(defined(&LE_BCR46)) {
    sub LE_BCR46 () {	0x2e;}
}
unless(defined(&LE_BCR47)) {
    sub LE_BCR47 () {	0x2f;}
}
unless(defined(&LE_BCR48)) {
    sub LE_BCR48 () {	0x30;}
}
unless(defined(&LE_BCR49)) {
    sub LE_BCR49 () {	0x31;}
}
unless(defined(&LE_C0_ERR)) {
    sub LE_C0_ERR () {	0x8000;}
}
unless(defined(&LE_C0_BABL)) {
    sub LE_C0_BABL () {	0x4000;}
}
unless(defined(&LE_C0_CERR)) {
    sub LE_C0_CERR () {	0x2000;}
}
unless(defined(&LE_C0_MISS)) {
    sub LE_C0_MISS () {	0x1000;}
}
unless(defined(&LE_C0_MERR)) {
    sub LE_C0_MERR () {	0x800;}
}
unless(defined(&LE_C0_RINT)) {
    sub LE_C0_RINT () {	0x400;}
}
unless(defined(&LE_C0_TINT)) {
    sub LE_C0_TINT () {	0x200;}
}
unless(defined(&LE_C0_IDON)) {
    sub LE_C0_IDON () {	0x100;}
}
unless(defined(&LE_C0_INTR)) {
    sub LE_C0_INTR () {	0x80;}
}
unless(defined(&LE_C0_INEA)) {
    sub LE_C0_INEA () {	0x40;}
}
unless(defined(&LE_C0_RXON)) {
    sub LE_C0_RXON () {	0x20;}
}
unless(defined(&LE_C0_TXON)) {
    sub LE_C0_TXON () {	0x10;}
}
unless(defined(&LE_C0_TDMD)) {
    sub LE_C0_TDMD () {	0x8;}
}
unless(defined(&LE_C0_STOP)) {
    sub LE_C0_STOP () {	0x4;}
}
unless(defined(&LE_C0_STRT)) {
    sub LE_C0_STRT () {	0x2;}
}
unless(defined(&LE_C0_INIT)) {
    sub LE_C0_INIT () {	0x1;}
}
unless(defined(&LE_C0_BITS)) {
    sub LE_C0_BITS () {	"\20\20ERR\17BABL\16CERR\15MISS\14MERR\13RINT\12TINT\11IDON\10INTR\07INEA\06RXON\05TXON\04TDMD\03STOP\02STRT\01INIT";}
}
unless(defined(&LE_C3_BABLM)) {
    sub LE_C3_BABLM () {	0x4000;}
}
unless(defined(&LE_C3_MISSM)) {
    sub LE_C3_MISSM () {	0x1000;}
}
unless(defined(&LE_C3_MERRM)) {
    sub LE_C3_MERRM () {	0x800;}
}
unless(defined(&LE_C3_RINTM)) {
    sub LE_C3_RINTM () {	0x400;}
}
unless(defined(&LE_C3_TINTM)) {
    sub LE_C3_TINTM () {	0x200;}
}
unless(defined(&LE_C3_IDONM)) {
    sub LE_C3_IDONM () {	0x100;}
}
unless(defined(&LE_C3_DXSUFLO)) {
    sub LE_C3_DXSUFLO () {	0x40;}
}
unless(defined(&LE_C3_LAPPEN)) {
    sub LE_C3_LAPPEN () {	0x20;}
}
unless(defined(&LE_C3_DXMT2PD)) {
    sub LE_C3_DXMT2PD () {	0x10;}
}
unless(defined(&LE_C3_EMBA)) {
    sub LE_C3_EMBA () {	0x8;}
}
unless(defined(&LE_C3_BSWP)) {
    sub LE_C3_BSWP () {	0x4;}
}
unless(defined(&LE_C3_ACON)) {
    sub LE_C3_ACON () {	0x2;}
}
unless(defined(&LE_C3_BCON)) {
    sub LE_C3_BCON () {	0x1;}
}
unless(defined(&LE_C4_EN124)) {
    sub LE_C4_EN124 () {	0x8000;}
}
unless(defined(&LE_C4_DMAPLUS)) {
    sub LE_C4_DMAPLUS () {	0x4000;}
}
unless(defined(&LE_C4_TIMER)) {
    sub LE_C4_TIMER () {	0x2000;}
}
unless(defined(&LE_C4_TXDPOLL)) {
    sub LE_C4_TXDPOLL () {	0x1000;}
}
unless(defined(&LE_C4_APAD_XMT)) {
    sub LE_C4_APAD_XMT () {	0x800;}
}
unless(defined(&LE_C4_ASTRP_RCV)) {
    sub LE_C4_ASTRP_RCV () {	0x400;}
}
unless(defined(&LE_C4_MFCO)) {
    sub LE_C4_MFCO () {	0x200;}
}
unless(defined(&LE_C4_MFCOM)) {
    sub LE_C4_MFCOM () {	0x100;}
}
unless(defined(&LE_C4_UINTCMD)) {
    sub LE_C4_UINTCMD () {	0x80;}
}
unless(defined(&LE_C4_UINT)) {
    sub LE_C4_UINT () {	0x40;}
}
unless(defined(&LE_C4_RCVCCO)) {
    sub LE_C4_RCVCCO () {	0x20;}
}
unless(defined(&LE_C4_RCVCCOM)) {
    sub LE_C4_RCVCCOM () {	0x10;}
}
unless(defined(&LE_C4_TXSTRT)) {
    sub LE_C4_TXSTRT () {	0x8;}
}
unless(defined(&LE_C4_TXSTRTM)) {
    sub LE_C4_TXSTRTM () {	0x4;}
}
unless(defined(&LE_C5_TOKINTD)) {
    sub LE_C5_TOKINTD () {	0x8000;}
}
unless(defined(&LE_C5_LTINTEN)) {
    sub LE_C5_LTINTEN () {	0x4000;}
}
unless(defined(&LE_C5_SINT)) {
    sub LE_C5_SINT () {	0x800;}
}
unless(defined(&LE_C5_SINTE)) {
    sub LE_C5_SINTE () {	0x400;}
}
unless(defined(&LE_C5_EXDINT)) {
    sub LE_C5_EXDINT () {	0x80;}
}
unless(defined(&LE_C5_EXDINTE)) {
    sub LE_C5_EXDINTE () {	0x40;}
}
unless(defined(&LE_C5_MPPLBA)) {
    sub LE_C5_MPPLBA () {	0x20;}
}
unless(defined(&LE_C5_MPINT)) {
    sub LE_C5_MPINT () {	0x10;}
}
unless(defined(&LE_C5_MPINTE)) {
    sub LE_C5_MPINTE () {	0x8;}
}
unless(defined(&LE_C5_MPEN)) {
    sub LE_C5_MPEN () {	0x4;}
}
unless(defined(&LE_C5_MPMODE)) {
    sub LE_C5_MPMODE () {	0x2;}
}
unless(defined(&LE_C5_SPND)) {
    sub LE_C5_SPND () {	0x1;}
}
unless(defined(&LE_C6_TLEN)) {
    sub LE_C6_TLEN () {	0xf000;}
}
unless(defined(&LE_C6_RLEN)) {
    sub LE_C6_RLEN () {	0xf00;}
}
unless(defined(&LE_C7_FASTSPNDE)) {
    sub LE_C7_FASTSPNDE () {	0x8000;}
}
unless(defined(&LE_C7_RDMD)) {
    sub LE_C7_RDMD () {	0x2000;}
}
unless(defined(&LE_C7_RDXPOLL)) {
    sub LE_C7_RDXPOLL () {	0x1000;}
}
unless(defined(&LE_C7_STINT)) {
    sub LE_C7_STINT () {	0x800;}
}
unless(defined(&LE_C7_STINTE)) {
    sub LE_C7_STINTE () {	0x400;}
}
unless(defined(&LE_C7_MREINT)) {
    sub LE_C7_MREINT () {	0x200;}
}
unless(defined(&LE_C7_MREINTE)) {
    sub LE_C7_MREINTE () {	0x100;}
}
unless(defined(&LE_C7_MAPINT)) {
    sub LE_C7_MAPINT () {	0x80;}
}
unless(defined(&LE_C7_MAPINTE)) {
    sub LE_C7_MAPINTE () {	0x40;}
}
unless(defined(&LE_C7_MCCINT)) {
    sub LE_C7_MCCINT () {	0x20;}
}
unless(defined(&LE_C7_MCCINTE)) {
    sub LE_C7_MCCINTE () {	0x10;}
}
unless(defined(&LE_C7_MCCIINT)) {
    sub LE_C7_MCCIINT () {	0x8;}
}
unless(defined(&LE_C7_MCCIINTE)) {
    sub LE_C7_MCCIINTE () {	0x4;}
}
unless(defined(&LE_C7_MIIPDTINT)) {
    sub LE_C7_MIIPDTINT () {	0x2;}
}
unless(defined(&LE_C7_MIIPDTINTE)) {
    sub LE_C7_MIIPDTINTE () {	0x1;}
}
unless(defined(&LE_C15_PROM)) {
    sub LE_C15_PROM () {	0x8000;}
}
unless(defined(&LE_C15_DRCVBC)) {
    sub LE_C15_DRCVBC () {	0x4000;}
}
unless(defined(&LE_C15_DRCVPA)) {
    sub LE_C15_DRCVPA () {	0x2000;}
}
unless(defined(&LE_C15_DLNKTST)) {
    sub LE_C15_DLNKTST () {	0x1000;}
}
unless(defined(&LE_C15_DAPC)) {
    sub LE_C15_DAPC () {	0x800;}
}
unless(defined(&LE_C15_MENDECL)) {
    sub LE_C15_MENDECL () {	0x400;}
}
unless(defined(&LE_C15_LRT)) {
    sub LE_C15_LRT () {	0x200;}
}
unless(defined(&LE_C15_TSEL)) {
    sub LE_C15_TSEL () {	0x200;}
}
unless(defined(&LE_C15_PORTSEL)) {
    sub LE_C15_PORTSEL {
	my($x) = @_;
	eval q((($x) << 7));
    }
}
unless(defined(&LE_C15_INTL)) {
    sub LE_C15_INTL () {	0x40;}
}
unless(defined(&LE_C15_DRTY)) {
    sub LE_C15_DRTY () {	0x20;}
}
unless(defined(&LE_C15_FCOLL)) {
    sub LE_C15_FCOLL () {	0x10;}
}
unless(defined(&LE_C15_DXMTFCS)) {
    sub LE_C15_DXMTFCS () {	0x8;}
}
unless(defined(&LE_C15_LOOP)) {
    sub LE_C15_LOOP () {	0x4;}
}
unless(defined(&LE_C15_DTX)) {
    sub LE_C15_DTX () {	0x2;}
}
unless(defined(&LE_C15_DRX)) {
    sub LE_C15_DRX () {	0x1;}
}
unless(defined(&PORTSEL_AUI)) {
    sub PORTSEL_AUI () {	0;}
}
unless(defined(&PORTSEL_10T)) {
    sub PORTSEL_10T () {	1;}
}
unless(defined(&PORTSEL_GPSI)) {
    sub PORTSEL_GPSI () {	2;}
}
unless(defined(&PORTSEL_MII)) {
    sub PORTSEL_MII () {	3;}
}
unless(defined(&PORTSEL_MASK)) {
    sub PORTSEL_MASK () {	3;}
}
unless(defined(&LE_C80_RCVFW)) {
    sub LE_C80_RCVFW {
	my($x) = @_;
	eval q((($x) << 12));
    }
}
unless(defined(&LE_C80_RCVFW_MAX)) {
    sub LE_C80_RCVFW_MAX () {	3;}
}
unless(defined(&LE_C80_XMTSP)) {
    sub LE_C80_XMTSP {
	my($x) = @_;
	eval q((($x) << 10));
    }
}
unless(defined(&LE_C80_XMTSP_MAX)) {
    sub LE_C80_XMTSP_MAX () {	3;}
}
unless(defined(&LE_C80_XMTFW)) {
    sub LE_C80_XMTFW {
	my($x) = @_;
	eval q((($x) << 8));
    }
}
unless(defined(&LE_C80_XMTFW_MAX)) {
    sub LE_C80_XMTFW_MAX () {	3;}
}
unless(defined(&LE_C80_DMATC)) {
    sub LE_C80_DMATC () {	0xff;}
}
unless(defined(&LE_C116_PME_EN_OVR)) {
    sub LE_C116_PME_EN_OVR () {	0x400;}
}
unless(defined(&LE_C116_LCDET)) {
    sub LE_C116_LCDET () {	0x200;}
}
unless(defined(&LE_C116_LCMODE)) {
    sub LE_C116_LCMODE () {	0x100;}
}
unless(defined(&LE_C116_PMAT)) {
    sub LE_C116_PMAT () {	0x80;}
}
unless(defined(&LE_C116_EMPPLBA)) {
    sub LE_C116_EMPPLBA () {	0x40;}
}
unless(defined(&LE_C116_MPMAT)) {
    sub LE_C116_MPMAT () {	0x20;}
}
unless(defined(&LE_C116_MPPEN)) {
    sub LE_C116_MPPEN () {	0x10;}
}
unless(defined(&LE_C116_RST_POL)) {
    sub LE_C116_RST_POL () {	0x1;}
}
unless(defined(&LE_C122_RCVALGN)) {
    sub LE_C122_RCVALGN () {	0x1;}
}
unless(defined(&LE_C124_RPA)) {
    sub LE_C124_RPA () {	0x8;}
}
unless(defined(&LE_C125_IPG)) {
    sub LE_C125_IPG () {	0xff00;}
}
unless(defined(&LE_C125_IFS1)) {
    sub LE_C125_IFS1 () {	0xff;}
}
unless(defined(&LE_B0_MSRDA)) {
    sub LE_B0_MSRDA () {	0xffff;}
}
unless(defined(&LE_B1_MSWRA)) {
    sub LE_B1_MSWRA () {	0xffff;}
}
unless(defined(&LE_B2_PHYSSELEN)) {
    sub LE_B2_PHYSSELEN () {	0x2000;}
}
unless(defined(&LE_B2_LEDPE)) {
    sub LE_B2_LEDPE () {	0x1000;}
}
unless(defined(&LE_B2_APROMWE)) {
    sub LE_B2_APROMWE () {	0x100;}
}
unless(defined(&LE_B2_INTLEVEL)) {
    sub LE_B2_INTLEVEL () {	0x80;}
}
unless(defined(&LE_B2_DXCVRCTL)) {
    sub LE_B2_DXCVRCTL () {	0x20;}
}
unless(defined(&LE_B2_DXCVRPOL)) {
    sub LE_B2_DXCVRPOL () {	0x10;}
}
unless(defined(&LE_B2_EADISEL)) {
    sub LE_B2_EADISEL () {	0x8;}
}
unless(defined(&LE_B2_AWAKE)) {
    sub LE_B2_AWAKE () {	0x4;}
}
unless(defined(&LE_B2_ASEL)) {
    sub LE_B2_ASEL () {	0x2;}
}
unless(defined(&LE_B2_XMAUSEL)) {
    sub LE_B2_XMAUSEL () {	0x1;}
}
unless(defined(&LE_B4_LEDOUT)) {
    sub LE_B4_LEDOUT () {	0x8000;}
}
unless(defined(&LE_B4_LEDPOL)) {
    sub LE_B4_LEDPOL () {	0x4000;}
}
unless(defined(&LE_B4_LEDDIS)) {
    sub LE_B4_LEDDIS () {	0x2000;}
}
unless(defined(&LE_B4_100E)) {
    sub LE_B4_100E () {	0x1000;}
}
unless(defined(&LE_B4_MPSE)) {
    sub LE_B4_MPSE () {	0x200;}
}
unless(defined(&LE_B4_FDLSE)) {
    sub LE_B4_FDLSE () {	0x100;}
}
unless(defined(&LE_B4_PSE)) {
    sub LE_B4_PSE () {	0x80;}
}
unless(defined(&LE_B4_LNKSE)) {
    sub LE_B4_LNKSE () {	0x40;}
}
unless(defined(&LE_B4_RCVME)) {
    sub LE_B4_RCVME () {	0x20;}
}
unless(defined(&LE_B4_XMTE)) {
    sub LE_B4_XMTE () {	0x10;}
}
unless(defined(&LE_B4_POWER)) {
    sub LE_B4_POWER () {	0x8;}
}
unless(defined(&LE_B4_RCVE)) {
    sub LE_B4_RCVE () {	0x4;}
}
unless(defined(&LE_B4_SPEED)) {
    sub LE_B4_SPEED () {	0x2;}
}
unless(defined(&LE_B4_COLE)) {
    sub LE_B4_COLE () {	0x1;}
}
unless(defined(&LE_B9_FDRPAD)) {
    sub LE_B9_FDRPAD () {	0x4;}
}
unless(defined(&LE_B9_AUIFD)) {
    sub LE_B9_AUIFD () {	0x2;}
}
unless(defined(&LE_B9_FDEN)) {
    sub LE_B9_FDEN () {	0x1;}
}
unless(defined(&LE_B18_ROMTMG)) {
    sub LE_B18_ROMTMG () {	0xf000;}
}
unless(defined(&LE_B18_NOUFLO)) {
    sub LE_B18_NOUFLO () {	0x800;}
}
unless(defined(&LE_B18_MEMCMD)) {
    sub LE_B18_MEMCMD () {	0x200;}
}
unless(defined(&LE_B18_EXTREQ)) {
    sub LE_B18_EXTREQ () {	0x100;}
}
unless(defined(&LE_B18_DWIO)) {
    sub LE_B18_DWIO () {	0x80;}
}
unless(defined(&LE_B18_BREADE)) {
    sub LE_B18_BREADE () {	0x40;}
}
unless(defined(&LE_B18_BWRITE)) {
    sub LE_B18_BWRITE () {	0x20;}
}
unless(defined(&LE_B18_PHYSEL1)) {
    sub LE_B18_PHYSEL1 () {	0x10;}
}
unless(defined(&LE_B18_PHYSEL0)) {
    sub LE_B18_PHYSEL0 () {	0x8;}
}
unless(defined(&LE_B18_LINBC)) {
    sub LE_B18_LINBC () {	0x7;}
}
unless(defined(&LE_B19_PVALID)) {
    sub LE_B19_PVALID () {	0x8000;}
}
unless(defined(&LE_B19_PREAD)) {
    sub LE_B19_PREAD () {	0x4000;}
}
unless(defined(&LE_B19_EEDET)) {
    sub LE_B19_EEDET () {	0x2000;}
}
unless(defined(&LE_B19_EEN)) {
    sub LE_B19_EEN () {	0x10;}
}
unless(defined(&LE_B19_ECS)) {
    sub LE_B19_ECS () {	0x4;}
}
unless(defined(&LE_B19_ESK)) {
    sub LE_B19_ESK () {	0x2;}
}
unless(defined(&LE_B19_EDI)) {
    sub LE_B19_EDI () {	0x1;}
}
unless(defined(&LE_B19_EDO)) {
    sub LE_B19_EDO () {	0x1;}
}
unless(defined(&LE_B20_APERREN)) {
    sub LE_B20_APERREN () {	0x400;}
}
unless(defined(&LE_B20_CSRPCNET)) {
    sub LE_B20_CSRPCNET () {	0x200;}
}
unless(defined(&LE_B20_SSIZE32)) {
    sub LE_B20_SSIZE32 () {	0x100;}
}
unless(defined(&LE_B20_SSTYLE)) {
    sub LE_B20_SSTYLE () {	0x7;}
}
unless(defined(&LE_B20_SSTYLE_LANCE)) {
    sub LE_B20_SSTYLE_LANCE () {	0;}
}
unless(defined(&LE_B20_SSTYPE_ILACC)) {
    sub LE_B20_SSTYPE_ILACC () {	1;}
}
unless(defined(&LE_B20_SSTYLE_PCNETPCI2)) {
    sub LE_B20_SSTYLE_PCNETPCI2 () {	2;}
}
unless(defined(&LE_B20_SSTYLE_PCNETPCI3)) {
    sub LE_B20_SSTYLE_PCNETPCI3 () {	3;}
}
unless(defined(&LE_B25_SRAM_SIZE)) {
    sub LE_B25_SRAM_SIZE () {	0xff;}
}
unless(defined(&LE_B26_SRAM_BND)) {
    sub LE_B26_SRAM_BND () {	0xff;}
}
unless(defined(&LE_B27_PTRTST)) {
    sub LE_B27_PTRTST () {	0x8000;}
}
unless(defined(&LE_B27_LOLATRX)) {
    sub LE_B27_LOLATRX () {	0x4000;}
}
unless(defined(&LE_B27_EBCS)) {
    sub LE_B27_EBCS () {	0x38;}
}
unless(defined(&LE_B27_CLK_FAC)) {
    sub LE_B27_CLK_FAC () {	0x7;}
}
unless(defined(&LE_B28_EADDRL)) {
    sub LE_B28_EADDRL () {	0xffff;}
}
unless(defined(&LE_B29_FLASH)) {
    sub LE_B29_FLASH () {	0x8000;}
}
unless(defined(&LE_B29_LAAINC)) {
    sub LE_B29_LAAINC () {	0x4000;}
}
unless(defined(&LE_B29_EPADDRU)) {
    sub LE_B29_EPADDRU () {	0x7;}
}
unless(defined(&LE_B30_EBDATA)) {
    sub LE_B30_EBDATA () {	0xffff;}
}
unless(defined(&LE_B31_STVAL)) {
    sub LE_B31_STVAL () {	0xffff;}
}
unless(defined(&LE_B32_ANTST)) {
    sub LE_B32_ANTST () {	0x8000;}
}
unless(defined(&LE_B32_MIIPD)) {
    sub LE_B32_MIIPD () {	0x4000;}
}
unless(defined(&LE_B32_FMDC)) {
    sub LE_B32_FMDC () {	0x3000;}
}
unless(defined(&LE_B32_APEP)) {
    sub LE_B32_APEP () {	0x800;}
}
unless(defined(&LE_B32_APDW)) {
    sub LE_B32_APDW () {	0x700;}
}
unless(defined(&LE_B32_DANAS)) {
    sub LE_B32_DANAS () {	0x80;}
}
unless(defined(&LE_B32_XPHYRST)) {
    sub LE_B32_XPHYRST () {	0x40;}
}
unless(defined(&LE_B32_XPHYANE)) {
    sub LE_B32_XPHYANE () {	0x20;}
}
unless(defined(&LE_B32_XPHYFD)) {
    sub LE_B32_XPHYFD () {	0x10;}
}
unless(defined(&LE_B32_XPHYSP)) {
    sub LE_B32_XPHYSP () {	0x8;}
}
unless(defined(&LE_B32_MIIILP)) {
    sub LE_B32_MIIILP () {	0x2;}
}
unless(defined(&LE_B33_SHADOW)) {
    sub LE_B33_SHADOW () {	0x8000;}
}
unless(defined(&LE_B33_MII_SEL)) {
    sub LE_B33_MII_SEL () {	0x4000;}
}
unless(defined(&LE_B33_ACOMP)) {
    sub LE_B33_ACOMP () {	0x2000;}
}
unless(defined(&LE_B33_LINK)) {
    sub LE_B33_LINK () {	0x1000;}
}
unless(defined(&LE_B33_FDX)) {
    sub LE_B33_FDX () {	0x800;}
}
unless(defined(&LE_B33_SPEED)) {
    sub LE_B33_SPEED () {	0x400;}
}
unless(defined(&LE_B33_PHYAD)) {
    sub LE_B33_PHYAD () {	0x3e0;}
}
unless(defined(&PHYAD_SHIFT)) {
    sub PHYAD_SHIFT () {	5;}
}
unless(defined(&LE_B33_REGAD)) {
    sub LE_B33_REGAD () {	0x1f;}
}
unless(defined(&LE_B34_MIIMD)) {
    sub LE_B34_MIIMD () {	0xffff;}
}
unless(defined(&LE_B49_PCNET)) {
    sub LE_B49_PCNET () {	0x8000;}
}
unless(defined(&LE_B49_PHYSEL_D)) {
    sub LE_B49_PHYSEL_D () {	0x300;}
}
unless(defined(&LE_B49_PHYSEL_L)) {
    sub LE_B49_PHYSEL_L () {	0x10;}
}
unless(defined(&LE_B49_PHYSEL)) {
    sub LE_B49_PHYSEL () {	0x3;}
}
unless(defined(&LE_MODE_PROM)) {
    sub LE_MODE_PROM () {	0x8000;}
}
unless(defined(&LE_MODE_DRCVBC)) {
    sub LE_MODE_DRCVBC () {	0x4000;}
}
unless(defined(&LE_MODE_DRCVPA)) {
    sub LE_MODE_DRCVPA () {	0x2000;}
}
unless(defined(&LE_MODE_DLNKTST)) {
    sub LE_MODE_DLNKTST () {	0x1000;}
}
unless(defined(&LE_MODE_DAPC)) {
    sub LE_MODE_DAPC () {	0x800;}
}
unless(defined(&LE_MODE_MENDECL)) {
    sub LE_MODE_MENDECL () {	0x400;}
}
unless(defined(&LE_MODE_LRTTSEL)) {
    sub LE_MODE_LRTTSEL () {	0x200;}
}
unless(defined(&LE_MODE_PSEL1)) {
    sub LE_MODE_PSEL1 () {	0x100;}
}
unless(defined(&LE_MODE_PSEL0)) {
    sub LE_MODE_PSEL0 () {	0x80;}
}
unless(defined(&LE_MODE_INTL)) {
    sub LE_MODE_INTL () {	0x40;}
}
unless(defined(&LE_MODE_DRTY)) {
    sub LE_MODE_DRTY () {	0x20;}
}
unless(defined(&LE_MODE_COLL)) {
    sub LE_MODE_COLL () {	0x10;}
}
unless(defined(&LE_MODE_DTCR)) {
    sub LE_MODE_DTCR () {	0x8;}
}
unless(defined(&LE_MODE_LOOP)) {
    sub LE_MODE_LOOP () {	0x4;}
}
unless(defined(&LE_MODE_DTX)) {
    sub LE_MODE_DTX () {	0x2;}
}
unless(defined(&LE_MODE_DRX)) {
    sub LE_MODE_DRX () {	0x1;}
}
unless(defined(&LE_MODE_NORMAL)) {
    sub LE_MODE_NORMAL () {	0;}
}
unless(defined(&CHIPID_MANFID)) {
    sub CHIPID_MANFID {
	my($x) = @_;
	eval q(((($x) >> 1) & 0x3ff));
    }
}
unless(defined(&CHIPID_PARTID)) {
    sub CHIPID_PARTID {
	my($x) = @_;
	eval q(((($x) >> 12) & 0xffff));
    }
}
unless(defined(&CHIPID_VER)) {
    sub CHIPID_VER {
	my($x) = @_;
	eval q(((($x) >> 28) & 0x7));
    }
}
unless(defined(&PARTID_Am79c960)) {
    sub PARTID_Am79c960 () {	0x3;}
}
unless(defined(&PARTID_Am79c961)) {
    sub PARTID_Am79c961 () {	0x2260;}
}
unless(defined(&PARTID_Am79c961A)) {
    sub PARTID_Am79c961A () {	0x2261;}
}
unless(defined(&PARTID_Am79c965)) {
    sub PARTID_Am79c965 () {	0x2430;}
}
unless(defined(&PARTID_Am79c970)) {
    sub PARTID_Am79c970 () {	0x2430;}
}
unless(defined(&PARTID_Am79c970A)) {
    sub PARTID_Am79c970A () {	0x2621;}
}
unless(defined(&PARTID_Am79c971)) {
    sub PARTID_Am79c971 () {	0x2623;}
}
unless(defined(&PARTID_Am79c972)) {
    sub PARTID_Am79c972 () {	0x2624;}
}
unless(defined(&PARTID_Am79c973)) {
    sub PARTID_Am79c973 () {	0x2625;}
}
unless(defined(&PARTID_Am79c978)) {
    sub PARTID_Am79c978 () {	0x2626;}
}
unless(defined(&PARTID_Am79c975)) {
    sub PARTID_Am79c975 () {	0x2627;}
}
unless(defined(&PARTID_Am79c976)) {
    sub PARTID_Am79c976 () {	0x2628;}
}
1;
