require '_h2ph_pre.ph';

unless(defined(&SK_VENDORID)) {
    sub SK_VENDORID () {	0x1148;}
}
unless(defined(&SK_DEVICEID_GE)) {
    sub SK_DEVICEID_GE () {	0x4300;}
}
unless(defined(&SK_WIN_BASE)) {
    sub SK_WIN_BASE () {	0x80;}
}
unless(defined(&SK_WIN_LEN)) {
    sub SK_WIN_LEN () {	0x80;}
}
unless(defined(&SK_WIN_MASK)) {
    sub SK_WIN_MASK () {	0x3f80;}
}
unless(defined(&SK_REG_MASK)) {
    sub SK_REG_MASK () {	0x7f;}
}
unless(defined(&SK_WIN)) {
    sub SK_WIN {
	local($reg) = @_;
	eval q(((($reg) &  &SK_WIN_MASK) /  &SK_WIN_LEN));
    }
}
unless(defined(&SK_REG)) {
    sub SK_REG {
	local($reg) = @_;
	eval q((($reg) &  &SK_REG_MASK));
    }
}
unless(defined(&SK_PORT_A)) {
    sub SK_PORT_A () {	0;}
}
unless(defined(&SK_PORT_B)) {
    sub SK_PORT_B () {	1;}
}
unless(defined(&SK_IF_READ_4)) {
    sub SK_IF_READ_4 {
	local($sc_if, $skip, $reg) = @_;
	eval q( &sk_win_read_4( ($sc_if->{sk_softc}), $reg + (( ($sc_if->{sk_port}) * ($skip + 1)) *  &SK_WIN_LEN)));
    }
}
unless(defined(&SK_IF_READ_2)) {
    sub SK_IF_READ_2 {
	local($sc_if, $skip, $reg) = @_;
	eval q( &sk_win_read_2( ($sc_if->{sk_softc}), $reg + (( ($sc_if->{sk_port}) * ($skip + 1)) *  &SK_WIN_LEN)));
    }
}
unless(defined(&SK_IF_READ_1)) {
    sub SK_IF_READ_1 {
	local($sc_if, $skip, $reg) = @_;
	eval q( &sk_win_read_1( ($sc_if->{sk_softc}), $reg + (( ($sc_if->{sk_port}) * ($skip + 1)) *  &SK_WIN_LEN)));
    }
}
unless(defined(&SK_IF_WRITE_4)) {
    sub SK_IF_WRITE_4 {
	local($sc_if, $skip, $reg, $val) = @_;
	eval q( &sk_win_write_4( ($sc_if->{sk_softc}), $reg + (( ($sc_if->{sk_port}) * ($skip + 1)) *  &SK_WIN_LEN), $val));
    }
}
unless(defined(&SK_IF_WRITE_2)) {
    sub SK_IF_WRITE_2 {
	local($sc_if, $skip, $reg, $val) = @_;
	eval q( &sk_win_write_2( ($sc_if->{sk_softc}), $reg + (( ($sc_if->{sk_port}) * ($skip + 1)) *  &SK_WIN_LEN), $val));
    }
}
unless(defined(&SK_IF_WRITE_1)) {
    sub SK_IF_WRITE_1 {
	local($sc_if, $skip, $reg, $val) = @_;
	eval q( &sk_win_write_1( ($sc_if->{sk_softc}), $reg + (( ($sc_if->{sk_port}) * ($skip + 1)) *  &SK_WIN_LEN), $val));
    }
}
unless(defined(&SK_RAP)) {
    sub SK_RAP () {	0x;}
}
unless(defined(&SK_CSR)) {
    sub SK_CSR () {	0x4;}
}
unless(defined(&SK_LED)) {
    sub SK_LED () {	0x6;}
}
unless(defined(&SK_ISR)) {
    sub SK_ISR () {	0x8;}
}
unless(defined(&SK_IMR)) {
    sub SK_IMR () {	0xc;}
}
unless(defined(&SK_IESR)) {
    sub SK_IESR () {	0x10;}
}
unless(defined(&SK_IEMR)) {
    sub SK_IEMR () {	0x14;}
}
unless(defined(&SK_ISSR)) {
    sub SK_ISSR () {	0x18;}
}
unless(defined(&SK_XM_IMR0)) {
    sub SK_XM_IMR0 () {	0x20;}
}
unless(defined(&SK_XM_ISR0)) {
    sub SK_XM_ISR0 () {	0x28;}
}
unless(defined(&SK_XM_PHYADDR0)) {
    sub SK_XM_PHYADDR0 () {	0x30;}
}
unless(defined(&SK_XM_PHYDATA0)) {
    sub SK_XM_PHYDATA0 () {	0x34;}
}
unless(defined(&SK_XM_IMR1)) {
    sub SK_XM_IMR1 () {	0x40;}
}
unless(defined(&SK_XM_ISR1)) {
    sub SK_XM_ISR1 () {	0x48;}
}
unless(defined(&SK_XM_PHYADDR1)) {
    sub SK_XM_PHYADDR1 () {	0x50;}
}
unless(defined(&SK_XM_PHYDATA1)) {
    sub SK_XM_PHYDATA1 () {	0x54;}
}
unless(defined(&SK_BMU_RX_CSR0)) {
    sub SK_BMU_RX_CSR0 () {	0x60;}
}
unless(defined(&SK_BMU_RX_CSR1)) {
    sub SK_BMU_RX_CSR1 () {	0x64;}
}
unless(defined(&SK_BMU_TXS_CSR0)) {
    sub SK_BMU_TXS_CSR0 () {	0x68;}
}
unless(defined(&SK_BMU_TXA_CSR0)) {
    sub SK_BMU_TXA_CSR0 () {	0x6c;}
}
unless(defined(&SK_BMU_TXS_CSR1)) {
    sub SK_BMU_TXS_CSR1 () {	0x70;}
}
unless(defined(&SK_BMU_TXA_CSR1)) {
    sub SK_BMU_TXA_CSR1 () {	0x74;}
}
unless(defined(&SK_CSR_SW_RESET)) {
    sub SK_CSR_SW_RESET () {	0x1;}
}
unless(defined(&SK_CSR_SW_UNRESET)) {
    sub SK_CSR_SW_UNRESET () {	0x2;}
}
unless(defined(&SK_CSR_MASTER_RESET)) {
    sub SK_CSR_MASTER_RESET () {	0x4;}
}
unless(defined(&SK_CSR_MASTER_UNRESET)) {
    sub SK_CSR_MASTER_UNRESET () {	0x8;}
}
unless(defined(&SK_CSR_MASTER_STOP)) {
    sub SK_CSR_MASTER_STOP () {	0x10;}
}
unless(defined(&SK_CSR_MASTER_DONE)) {
    sub SK_CSR_MASTER_DONE () {	0x20;}
}
unless(defined(&SK_CSR_SW_IRQ_CLEAR)) {
    sub SK_CSR_SW_IRQ_CLEAR () {	0x40;}
}
unless(defined(&SK_CSR_SW_IRQ_SET)) {
    sub SK_CSR_SW_IRQ_SET () {	0x80;}
}
unless(defined(&SK_CSR_SLOTSIZE)) {
    sub SK_CSR_SLOTSIZE () {	0x100;}
}
unless(defined(&SK_CSR_BUSCLOCK)) {
    sub SK_CSR_BUSCLOCK () {	0x200;}
}
unless(defined(&SK_LED_GREEN_OFF)) {
    sub SK_LED_GREEN_OFF () {	0x1;}
}
unless(defined(&SK_LED_GREEN_ON)) {
    sub SK_LED_GREEN_ON () {	0x2;}
}
unless(defined(&SK_ISR_TX2_AS_CHECK)) {
    sub SK_ISR_TX2_AS_CHECK () {	0x1;}
}
unless(defined(&SK_ISR_TX2_AS_EOF)) {
    sub SK_ISR_TX2_AS_EOF () {	0x2;}
}
unless(defined(&SK_ISR_TX2_AS_EOB)) {
    sub SK_ISR_TX2_AS_EOB () {	0x4;}
}
unless(defined(&SK_ISR_TX2_S_CHECK)) {
    sub SK_ISR_TX2_S_CHECK () {	0x8;}
}
unless(defined(&SK_ISR_TX2_S_EOF)) {
    sub SK_ISR_TX2_S_EOF () {	0x10;}
}
unless(defined(&SK_ISR_TX2_S_EOB)) {
    sub SK_ISR_TX2_S_EOB () {	0x20;}
}
unless(defined(&SK_ISR_TX1_AS_CHECK)) {
    sub SK_ISR_TX1_AS_CHECK () {	0x40;}
}
unless(defined(&SK_ISR_TX1_AS_EOF)) {
    sub SK_ISR_TX1_AS_EOF () {	0x80;}
}
unless(defined(&SK_ISR_TX1_AS_EOB)) {
    sub SK_ISR_TX1_AS_EOB () {	0x100;}
}
unless(defined(&SK_ISR_TX1_S_CHECK)) {
    sub SK_ISR_TX1_S_CHECK () {	0x200;}
}
unless(defined(&SK_ISR_TX1_S_EOF)) {
    sub SK_ISR_TX1_S_EOF () {	0x400;}
}
unless(defined(&SK_ISR_TX1_S_EOB)) {
    sub SK_ISR_TX1_S_EOB () {	0x800;}
}
unless(defined(&SK_ISR_RX2_CHECK)) {
    sub SK_ISR_RX2_CHECK () {	0x1000;}
}
unless(defined(&SK_ISR_RX2_EOF)) {
    sub SK_ISR_RX2_EOF () {	0x2000;}
}
unless(defined(&SK_ISR_RX2_EOB)) {
    sub SK_ISR_RX2_EOB () {	0x4000;}
}
unless(defined(&SK_ISR_RX1_CHECK)) {
    sub SK_ISR_RX1_CHECK () {	0x8000;}
}
unless(defined(&SK_ISR_RX1_EOF)) {
    sub SK_ISR_RX1_EOF () {	0x10000;}
}
unless(defined(&SK_ISR_RX1_EOB)) {
    sub SK_ISR_RX1_EOB () {	0x20000;}
}
unless(defined(&SK_ISR_LINK2_OFLOW)) {
    sub SK_ISR_LINK2_OFLOW () {	0x40000;}
}
unless(defined(&SK_ISR_MAC2)) {
    sub SK_ISR_MAC2 () {	0x80000;}
}
unless(defined(&SK_ISR_LINK1_OFLOW)) {
    sub SK_ISR_LINK1_OFLOW () {	0x100000;}
}
unless(defined(&SK_ISR_MAC1)) {
    sub SK_ISR_MAC1 () {	0x200000;}
}
unless(defined(&SK_ISR_TIMER)) {
    sub SK_ISR_TIMER () {	0x400000;}
}
unless(defined(&SK_ISR_EXTERNAL_REG)) {
    sub SK_ISR_EXTERNAL_REG () {	0x800000;}
}
unless(defined(&SK_ISR_SW)) {
    sub SK_ISR_SW () {	0x1000000;}
}
unless(defined(&SK_ISR_I2C_RDY)) {
    sub SK_ISR_I2C_RDY () {	0x2000000;}
}
unless(defined(&SK_ISR_TX2_TIMEO)) {
    sub SK_ISR_TX2_TIMEO () {	0x4000000;}
}
unless(defined(&SK_ISR_TX1_TIMEO)) {
    sub SK_ISR_TX1_TIMEO () {	0x8000000;}
}
unless(defined(&SK_ISR_RX2_TIMEO)) {
    sub SK_ISR_RX2_TIMEO () {	0x10000000;}
}
unless(defined(&SK_ISR_RX1_TIMEO)) {
    sub SK_ISR_RX1_TIMEO () {	0x20000000;}
}
unless(defined(&SK_ISR_RSVD)) {
    sub SK_ISR_RSVD () {	0x40000000;}
}
unless(defined(&SK_ISR_HWERR)) {
    sub SK_ISR_HWERR () {	0x80000000;}
}
unless(defined(&SK_IMR_TX2_AS_CHECK)) {
    sub SK_IMR_TX2_AS_CHECK () {	0x1;}
}
unless(defined(&SK_IMR_TX2_AS_EOF)) {
    sub SK_IMR_TX2_AS_EOF () {	0x2;}
}
unless(defined(&SK_IMR_TX2_AS_EOB)) {
    sub SK_IMR_TX2_AS_EOB () {	0x4;}
}
unless(defined(&SK_IMR_TX2_S_CHECK)) {
    sub SK_IMR_TX2_S_CHECK () {	0x8;}
}
unless(defined(&SK_IMR_TX2_S_EOF)) {
    sub SK_IMR_TX2_S_EOF () {	0x10;}
}
unless(defined(&SK_IMR_TX2_S_EOB)) {
    sub SK_IMR_TX2_S_EOB () {	0x20;}
}
unless(defined(&SK_IMR_TX1_AS_CHECK)) {
    sub SK_IMR_TX1_AS_CHECK () {	0x40;}
}
unless(defined(&SK_IMR_TX1_AS_EOF)) {
    sub SK_IMR_TX1_AS_EOF () {	0x80;}
}
unless(defined(&SK_IMR_TX1_AS_EOB)) {
    sub SK_IMR_TX1_AS_EOB () {	0x100;}
}
unless(defined(&SK_IMR_TX1_S_CHECK)) {
    sub SK_IMR_TX1_S_CHECK () {	0x200;}
}
unless(defined(&SK_IMR_TX1_S_EOF)) {
    sub SK_IMR_TX1_S_EOF () {	0x400;}
}
unless(defined(&SK_IMR_TX1_S_EOB)) {
    sub SK_IMR_TX1_S_EOB () {	0x800;}
}
unless(defined(&SK_IMR_RX2_CHECK)) {
    sub SK_IMR_RX2_CHECK () {	0x1000;}
}
unless(defined(&SK_IMR_RX2_EOF)) {
    sub SK_IMR_RX2_EOF () {	0x2000;}
}
unless(defined(&SK_IMR_RX2_EOB)) {
    sub SK_IMR_RX2_EOB () {	0x4000;}
}
unless(defined(&SK_IMR_RX1_CHECK)) {
    sub SK_IMR_RX1_CHECK () {	0x8000;}
}
unless(defined(&SK_IMR_RX1_EOF)) {
    sub SK_IMR_RX1_EOF () {	0x10000;}
}
unless(defined(&SK_IMR_RX1_EOB)) {
    sub SK_IMR_RX1_EOB () {	0x20000;}
}
unless(defined(&SK_IMR_LINK2_OFLOW)) {
    sub SK_IMR_LINK2_OFLOW () {	0x40000;}
}
unless(defined(&SK_IMR_MAC2)) {
    sub SK_IMR_MAC2 () {	0x80000;}
}
unless(defined(&SK_IMR_LINK1_OFLOW)) {
    sub SK_IMR_LINK1_OFLOW () {	0x100000;}
}
unless(defined(&SK_IMR_MAC1)) {
    sub SK_IMR_MAC1 () {	0x200000;}
}
unless(defined(&SK_IMR_TIMER)) {
    sub SK_IMR_TIMER () {	0x400000;}
}
unless(defined(&SK_IMR_EXTERNAL_REG)) {
    sub SK_IMR_EXTERNAL_REG () {	0x800000;}
}
unless(defined(&SK_IMR_SW)) {
    sub SK_IMR_SW () {	0x1000000;}
}
unless(defined(&SK_IMR_I2C_RDY)) {
    sub SK_IMR_I2C_RDY () {	0x2000000;}
}
unless(defined(&SK_IMR_TX2_TIMEO)) {
    sub SK_IMR_TX2_TIMEO () {	0x4000000;}
}
unless(defined(&SK_IMR_TX1_TIMEO)) {
    sub SK_IMR_TX1_TIMEO () {	0x8000000;}
}
unless(defined(&SK_IMR_RX2_TIMEO)) {
    sub SK_IMR_RX2_TIMEO () {	0x10000000;}
}
unless(defined(&SK_IMR_RX1_TIMEO)) {
    sub SK_IMR_RX1_TIMEO () {	0x20000000;}
}
unless(defined(&SK_IMR_RSVD)) {
    sub SK_IMR_RSVD () {	0x40000000;}
}
unless(defined(&SK_IMR_HWERR)) {
    sub SK_IMR_HWERR () {	0x80000000;}
}
unless(defined(&SK_INTRS1)) {
    sub SK_INTRS1 () {	( &SK_IMR_RX1_EOF| &SK_IMR_TX1_S_EOF| &SK_IMR_MAC1);}
}
unless(defined(&SK_INTRS2)) {
    sub SK_INTRS2 () {	( &SK_IMR_RX2_EOF| &SK_IMR_TX2_S_EOF| &SK_IMR_MAC2);}
}
unless(defined(&SK_IESR_PAR_RX2)) {
    sub SK_IESR_PAR_RX2 () {	0x1;}
}
unless(defined(&SK_IESR_PAR_RX1)) {
    sub SK_IESR_PAR_RX1 () {	0x2;}
}
unless(defined(&SK_IESR_PAR_MAC2)) {
    sub SK_IESR_PAR_MAC2 () {	0x4;}
}
unless(defined(&SK_IESR_PAR_MAC1)) {
    sub SK_IESR_PAR_MAC1 () {	0x8;}
}
unless(defined(&SK_IESR_PAR_WR_RAM)) {
    sub SK_IESR_PAR_WR_RAM () {	0x10;}
}
unless(defined(&SK_IESR_PAR_RD_RAM)) {
    sub SK_IESR_PAR_RD_RAM () {	0x20;}
}
unless(defined(&SK_IESR_NO_TSTAMP_MAC2)) {
    sub SK_IESR_NO_TSTAMP_MAC2 () {	0x40;}
}
unless(defined(&SK_IESR_NO_TSTAMO_MAC1)) {
    sub SK_IESR_NO_TSTAMO_MAC1 () {	0x80;}
}
unless(defined(&SK_IESR_NO_STS_MAC2)) {
    sub SK_IESR_NO_STS_MAC2 () {	0x100;}
}
unless(defined(&SK_IESR_NO_STS_MAC1)) {
    sub SK_IESR_NO_STS_MAC1 () {	0x200;}
}
unless(defined(&SK_IESR_IRQ_STS)) {
    sub SK_IESR_IRQ_STS () {	0x400;}
}
unless(defined(&SK_IESR_MASTERERR)) {
    sub SK_IESR_MASTERERR () {	0x800;}
}
unless(defined(&SK_IEMR_PAR_RX2)) {
    sub SK_IEMR_PAR_RX2 () {	0x1;}
}
unless(defined(&SK_IEMR_PAR_RX1)) {
    sub SK_IEMR_PAR_RX1 () {	0x2;}
}
unless(defined(&SK_IEMR_PAR_MAC2)) {
    sub SK_IEMR_PAR_MAC2 () {	0x4;}
}
unless(defined(&SK_IEMR_PAR_MAC1)) {
    sub SK_IEMR_PAR_MAC1 () {	0x8;}
}
unless(defined(&SK_IEMR_PAR_WR_RAM)) {
    sub SK_IEMR_PAR_WR_RAM () {	0x10;}
}
unless(defined(&SK_IEMR_PAR_RD_RAM)) {
    sub SK_IEMR_PAR_RD_RAM () {	0x20;}
}
unless(defined(&SK_IEMR_NO_TSTAMP_MAC2)) {
    sub SK_IEMR_NO_TSTAMP_MAC2 () {	0x40;}
}
unless(defined(&SK_IEMR_NO_TSTAMO_MAC1)) {
    sub SK_IEMR_NO_TSTAMO_MAC1 () {	0x80;}
}
unless(defined(&SK_IEMR_NO_STS_MAC2)) {
    sub SK_IEMR_NO_STS_MAC2 () {	0x100;}
}
unless(defined(&SK_IEMR_NO_STS_MAC1)) {
    sub SK_IEMR_NO_STS_MAC1 () {	0x200;}
}
unless(defined(&SK_IEMR_IRQ_STS)) {
    sub SK_IEMR_IRQ_STS () {	0x400;}
}
unless(defined(&SK_IEMR_MASTERERR)) {
    sub SK_IEMR_MASTERERR () {	0x800;}
}
unless(defined(&SK_MAC0_0)) {
    sub SK_MAC0_0 () {	0x100;}
}
unless(defined(&SK_MAC0_1)) {
    sub SK_MAC0_1 () {	0x104;}
}
unless(defined(&SK_MAC1_0)) {
    sub SK_MAC1_0 () {	0x108;}
}
unless(defined(&SK_MAC1_1)) {
    sub SK_MAC1_1 () {	0x10c;}
}
unless(defined(&SK_MAC2_0)) {
    sub SK_MAC2_0 () {	0x110;}
}
unless(defined(&SK_MAC2_1)) {
    sub SK_MAC2_1 () {	0x114;}
}
unless(defined(&SK_CONNTYPE)) {
    sub SK_CONNTYPE () {	0x118;}
}
unless(defined(&SK_PMDTYPE)) {
    sub SK_PMDTYPE () {	0x119;}
}
unless(defined(&SK_CONFIG)) {
    sub SK_CONFIG () {	0x11a;}
}
unless(defined(&SK_CHIPVER)) {
    sub SK_CHIPVER () {	0x11b;}
}
unless(defined(&SK_EPROM0)) {
    sub SK_EPROM0 () {	0x11c;}
}
unless(defined(&SK_EPROM1)) {
    sub SK_EPROM1 () {	0x11d;}
}
unless(defined(&SK_EPROM2)) {
    sub SK_EPROM2 () {	0x11e;}
}
unless(defined(&SK_EPROM3)) {
    sub SK_EPROM3 () {	0x11f;}
}
unless(defined(&SK_EP_ADDR)) {
    sub SK_EP_ADDR () {	0x120;}
}
unless(defined(&SK_EP_DATA)) {
    sub SK_EP_DATA () {	0x124;}
}
unless(defined(&SK_EP_LOADCTL)) {
    sub SK_EP_LOADCTL () {	0x128;}
}
unless(defined(&SK_EP_LOADTST)) {
    sub SK_EP_LOADTST () {	0x129;}
}
unless(defined(&SK_TIMERINIT)) {
    sub SK_TIMERINIT () {	0x130;}
}
unless(defined(&SK_TIMER)) {
    sub SK_TIMER () {	0x134;}
}
unless(defined(&SK_TIMERCTL)) {
    sub SK_TIMERCTL () {	0x138;}
}
unless(defined(&SK_TIMERTST)) {
    sub SK_TIMERTST () {	0x139;}
}
unless(defined(&SK_IMTIMERINIT)) {
    sub SK_IMTIMERINIT () {	0x140;}
}
unless(defined(&SK_IMTIMER)) {
    sub SK_IMTIMER () {	0x144;}
}
unless(defined(&SK_IMTIMERCTL)) {
    sub SK_IMTIMERCTL () {	0x148;}
}
unless(defined(&SK_IMTIMERTST)) {
    sub SK_IMTIMERTST () {	0x149;}
}
unless(defined(&SK_IMMR)) {
    sub SK_IMMR () {	0x14c;}
}
unless(defined(&SK_IHWEMR)) {
    sub SK_IHWEMR () {	0x150;}
}
unless(defined(&SK_TESTCTL1)) {
    sub SK_TESTCTL1 () {	0x158;}
}
unless(defined(&SK_TESTCTL2)) {
    sub SK_TESTCTL2 () {	0x159;}
}
unless(defined(&SK_GPIO)) {
    sub SK_GPIO () {	0x15c;}
}
unless(defined(&SK_I2CHWCTL)) {
    sub SK_I2CHWCTL () {	0x160;}
}
unless(defined(&SK_I2CHWDATA)) {
    sub SK_I2CHWDATA () {	0x164;}
}
unless(defined(&SK_I2CHWIRQ)) {
    sub SK_I2CHWIRQ () {	0x168;}
}
unless(defined(&SK_I2CSW)) {
    sub SK_I2CSW () {	0x16c;}
}
unless(defined(&SK_BLNKINIT)) {
    sub SK_BLNKINIT () {	0x170;}
}
unless(defined(&SK_BLNKCOUNT)) {
    sub SK_BLNKCOUNT () {	0x174;}
}
unless(defined(&SK_BLNKCTL)) {
    sub SK_BLNKCTL () {	0x178;}
}
unless(defined(&SK_BLNKSTS)) {
    sub SK_BLNKSTS () {	0x179;}
}
unless(defined(&SK_BLNKTST)) {
    sub SK_BLNKTST () {	0x17a;}
}
unless(defined(&SK_IMCTL_STOP)) {
    sub SK_IMCTL_STOP () {	0x2;}
}
unless(defined(&SK_IMCTL_START)) {
    sub SK_IMCTL_START () {	0x4;}
}
unless(defined(&SK_IMTIMER_TICKS)) {
    sub SK_IMTIMER_TICKS () {	54;}
}
unless(defined(&SK_IM_USECS)) {
    sub SK_IM_USECS {
	local($x) = @_;
	eval q((($x) *  &SK_IMTIMER_TICKS));
    }
}
unless(defined(&SK_RAMSIZE_512K_64)) {
    sub SK_RAMSIZE_512K_64 () {	0x1;}
}
unless(defined(&SK_RAMSIZE_1024K_128)) {
    sub SK_RAMSIZE_1024K_128 () {	0x2;}
}
unless(defined(&SK_RAMSIZE_1024K_64)) {
    sub SK_RAMSIZE_1024K_64 () {	0x3;}
}
unless(defined(&SK_RAMSIZE_2048K_128)) {
    sub SK_RAMSIZE_2048K_128 () {	0x4;}
}
unless(defined(&SK_RBOFF_0)) {
    sub SK_RBOFF_0 () {	0x;}
}
unless(defined(&SK_RBOFF_80000)) {
    sub SK_RBOFF_80000 () {	0x80000;}
}
unless(defined(&SK_PHYTYPE_XMAC)) {
    sub SK_PHYTYPE_XMAC () {	0;}
}
unless(defined(&SK_PHYTYPE_BCOM)) {
    sub SK_PHYTYPE_BCOM () {	1;}
}
unless(defined(&SK_PHYTYPE_LONE)) {
    sub SK_PHYTYPE_LONE () {	2;}
}
unless(defined(&SK_PHYTYPE_NAT)) {
    sub SK_PHYTYPE_NAT () {	3;}
}
unless(defined(&SK_PHYADDR_XMAC)) {
    sub SK_PHYADDR_XMAC () {	0x;}
}
unless(defined(&SK_PHYADDR_BCOM)) {
    sub SK_PHYADDR_BCOM () {	0x1;}
}
unless(defined(&SK_PHYADDR_LONE)) {
    sub SK_PHYADDR_LONE () {	0x3;}
}
unless(defined(&SK_PHYADDR_NAT)) {
    sub SK_PHYADDR_NAT () {	0x;}
}
unless(defined(&SK_CONFIG_SINGLEMAC)) {
    sub SK_CONFIG_SINGLEMAC () {	0x1;}
}
unless(defined(&SK_CONFIG_DIS_DSL_CLK)) {
    sub SK_CONFIG_DIS_DSL_CLK () {	0x2;}
}
unless(defined(&SK_PMD_1000BASELX)) {
    sub SK_PMD_1000BASELX () {	0x4c;}
}
unless(defined(&SK_PMD_1000BASESX)) {
    sub SK_PMD_1000BASESX () {	0x53;}
}
unless(defined(&SK_PMD_1000BASECX)) {
    sub SK_PMD_1000BASECX () {	0x43;}
}
unless(defined(&SK_PMD_1000BASETX)) {
    sub SK_PMD_1000BASETX () {	0x54;}
}
unless(defined(&SK_GPIO_DAT0)) {
    sub SK_GPIO_DAT0 () {	0x1;}
}
unless(defined(&SK_GPIO_DAT1)) {
    sub SK_GPIO_DAT1 () {	0x2;}
}
unless(defined(&SK_GPIO_DAT2)) {
    sub SK_GPIO_DAT2 () {	0x4;}
}
unless(defined(&SK_GPIO_DAT3)) {
    sub SK_GPIO_DAT3 () {	0x8;}
}
unless(defined(&SK_GPIO_DAT4)) {
    sub SK_GPIO_DAT4 () {	0x10;}
}
unless(defined(&SK_GPIO_DAT5)) {
    sub SK_GPIO_DAT5 () {	0x20;}
}
unless(defined(&SK_GPIO_DAT6)) {
    sub SK_GPIO_DAT6 () {	0x40;}
}
unless(defined(&SK_GPIO_DAT7)) {
    sub SK_GPIO_DAT7 () {	0x80;}
}
unless(defined(&SK_GPIO_DAT8)) {
    sub SK_GPIO_DAT8 () {	0x100;}
}
unless(defined(&SK_GPIO_DAT9)) {
    sub SK_GPIO_DAT9 () {	0x200;}
}
unless(defined(&SK_GPIO_DIR0)) {
    sub SK_GPIO_DIR0 () {	0x10000;}
}
unless(defined(&SK_GPIO_DIR1)) {
    sub SK_GPIO_DIR1 () {	0x20000;}
}
unless(defined(&SK_GPIO_DIR2)) {
    sub SK_GPIO_DIR2 () {	0x40000;}
}
unless(defined(&SK_GPIO_DIR3)) {
    sub SK_GPIO_DIR3 () {	0x80000;}
}
unless(defined(&SK_GPIO_DIR4)) {
    sub SK_GPIO_DIR4 () {	0x100000;}
}
unless(defined(&SK_GPIO_DIR5)) {
    sub SK_GPIO_DIR5 () {	0x200000;}
}
unless(defined(&SK_GPIO_DIR6)) {
    sub SK_GPIO_DIR6 () {	0x400000;}
}
unless(defined(&SK_GPIO_DIR7)) {
    sub SK_GPIO_DIR7 () {	0x800000;}
}
unless(defined(&SK_GPIO_DIR8)) {
    sub SK_GPIO_DIR8 () {	0x1000000;}
}
unless(defined(&SK_GPIO_DIR9)) {
    sub SK_GPIO_DIR9 () {	0x2000000;}
}
unless(defined(&SK_RAMADDR)) {
    sub SK_RAMADDR () {	0x180;}
}
unless(defined(&SK_RAMDATA0)) {
    sub SK_RAMDATA0 () {	0x184;}
}
unless(defined(&SK_RAMDATA1)) {
    sub SK_RAMDATA1 () {	0x188;}
}
unless(defined(&SK_TO0)) {
    sub SK_TO0 () {	0x190;}
}
unless(defined(&SK_TO1)) {
    sub SK_TO1 () {	0x191;}
}
unless(defined(&SK_TO2)) {
    sub SK_TO2 () {	0x192;}
}
unless(defined(&SK_TO3)) {
    sub SK_TO3 () {	0x193;}
}
unless(defined(&SK_TO4)) {
    sub SK_TO4 () {	0x194;}
}
unless(defined(&SK_TO5)) {
    sub SK_TO5 () {	0x195;}
}
unless(defined(&SK_TO6)) {
    sub SK_TO6 () {	0x196;}
}
unless(defined(&SK_TO7)) {
    sub SK_TO7 () {	0x197;}
}
unless(defined(&SK_TO8)) {
    sub SK_TO8 () {	0x198;}
}
unless(defined(&SK_TO9)) {
    sub SK_TO9 () {	0x199;}
}
unless(defined(&SK_TO10)) {
    sub SK_TO10 () {	0x19a;}
}
unless(defined(&SK_TO11)) {
    sub SK_TO11 () {	0x19b;}
}
unless(defined(&SK_RITIMEO_TMR)) {
    sub SK_RITIMEO_TMR () {	0x19c;}
}
unless(defined(&SK_RAMCTL)) {
    sub SK_RAMCTL () {	0x1a0;}
}
unless(defined(&SK_RITIMER_TST)) {
    sub SK_RITIMER_TST () {	0x1a2;}
}
unless(defined(&SK_RAMCTL_RESET)) {
    sub SK_RAMCTL_RESET () {	0x1;}
}
unless(defined(&SK_RAMCTL_UNRESET)) {
    sub SK_RAMCTL_UNRESET () {	0x2;}
}
unless(defined(&SK_RAMCTL_CLR_IRQ_WPAR)) {
    sub SK_RAMCTL_CLR_IRQ_WPAR () {	0x100;}
}
unless(defined(&SK_RAMCTL_CLR_IRQ_RPAR)) {
    sub SK_RAMCTL_CLR_IRQ_RPAR () {	0x200;}
}
unless(defined(&SK_MINIT_RX1)) {
    sub SK_MINIT_RX1 () {	0x1b0;}
}
unless(defined(&SK_MINIT_RX2)) {
    sub SK_MINIT_RX2 () {	0x1b1;}
}
unless(defined(&SK_MINIT_TX1)) {
    sub SK_MINIT_TX1 () {	0x1b2;}
}
unless(defined(&SK_MINIT_TX2)) {
    sub SK_MINIT_TX2 () {	0x1b3;}
}
unless(defined(&SK_MTIMEO_RX1)) {
    sub SK_MTIMEO_RX1 () {	0x1b4;}
}
unless(defined(&SK_MTIMEO_RX2)) {
    sub SK_MTIMEO_RX2 () {	0x1b5;}
}
unless(defined(&SK_MTIMEO_TX1)) {
    sub SK_MTIMEO_TX1 () {	0x1b6;}
}
unless(defined(&SK_MTIEMO_TX2)) {
    sub SK_MTIEMO_TX2 () {	0x1b7;}
}
unless(defined(&SK_MACARB_CTL)) {
    sub SK_MACARB_CTL () {	0x1b8;}
}
unless(defined(&SK_MTIMER_TST)) {
    sub SK_MTIMER_TST () {	0x1ba;}
}
unless(defined(&SK_RCINIT_RX1)) {
    sub SK_RCINIT_RX1 () {	0x1c0;}
}
unless(defined(&SK_RCINIT_RX2)) {
    sub SK_RCINIT_RX2 () {	0x1c1;}
}
unless(defined(&SK_RCINIT_TX1)) {
    sub SK_RCINIT_TX1 () {	0x1c2;}
}
unless(defined(&SK_RCINIT_TX2)) {
    sub SK_RCINIT_TX2 () {	0x1c3;}
}
unless(defined(&SK_RCTIMEO_RX1)) {
    sub SK_RCTIMEO_RX1 () {	0x1c4;}
}
unless(defined(&SK_RCTIMEO_RX2)) {
    sub SK_RCTIMEO_RX2 () {	0x1c5;}
}
unless(defined(&SK_RCTIMEO_TX1)) {
    sub SK_RCTIMEO_TX1 () {	0x1c6;}
}
unless(defined(&SK_RCTIMEO_TX2)) {
    sub SK_RCTIMEO_TX2 () {	0x1c7;}
}
unless(defined(&SK_RECOVERY_CTL)) {
    sub SK_RECOVERY_CTL () {	0x1c8;}
}
unless(defined(&SK_RCTIMER_TST)) {
    sub SK_RCTIMER_TST () {	0x1ca;}
}
unless(defined(&SK_RXPA1_TINIT)) {
    sub SK_RXPA1_TINIT () {	0x1d0;}
}
unless(defined(&SK_RXPA2_TINIT)) {
    sub SK_RXPA2_TINIT () {	0x1d4;}
}
unless(defined(&SK_TXPA1_TINIT)) {
    sub SK_TXPA1_TINIT () {	0x1d8;}
}
unless(defined(&SK_TXPA2_TINIT)) {
    sub SK_TXPA2_TINIT () {	0x1dc;}
}
unless(defined(&SK_RXPA1_TIMEO)) {
    sub SK_RXPA1_TIMEO () {	0x1e0;}
}
unless(defined(&SK_RXPA2_TIMEO)) {
    sub SK_RXPA2_TIMEO () {	0x1e4;}
}
unless(defined(&SK_TXPA1_TIMEO)) {
    sub SK_TXPA1_TIMEO () {	0x1e8;}
}
unless(defined(&SK_TXPA2_TIMEO)) {
    sub SK_TXPA2_TIMEO () {	0x1ec;}
}
unless(defined(&SK_PKTARB_CTL)) {
    sub SK_PKTARB_CTL () {	0x1f0;}
}
unless(defined(&SK_PKTATB_TST)) {
    sub SK_PKTATB_TST () {	0x1f2;}
}
unless(defined(&SK_PKTARB_TIMEOUT)) {
    sub SK_PKTARB_TIMEOUT () {	0x2000;}
}
unless(defined(&SK_PKTARBCTL_RESET)) {
    sub SK_PKTARBCTL_RESET () {	0x1;}
}
unless(defined(&SK_PKTARBCTL_UNRESET)) {
    sub SK_PKTARBCTL_UNRESET () {	0x2;}
}
unless(defined(&SK_PKTARBCTL_RXTO1_OFF)) {
    sub SK_PKTARBCTL_RXTO1_OFF () {	0x4;}
}
unless(defined(&SK_PKTARBCTL_RXTO1_ON)) {
    sub SK_PKTARBCTL_RXTO1_ON () {	0x8;}
}
unless(defined(&SK_PKTARBCTL_RXTO2_OFF)) {
    sub SK_PKTARBCTL_RXTO2_OFF () {	0x10;}
}
unless(defined(&SK_PKTARBCTL_RXTO2_ON)) {
    sub SK_PKTARBCTL_RXTO2_ON () {	0x20;}
}
unless(defined(&SK_PKTARBCTL_TXTO1_OFF)) {
    sub SK_PKTARBCTL_TXTO1_OFF () {	0x40;}
}
unless(defined(&SK_PKTARBCTL_TXTO1_ON)) {
    sub SK_PKTARBCTL_TXTO1_ON () {	0x80;}
}
unless(defined(&SK_PKTARBCTL_TXTO2_OFF)) {
    sub SK_PKTARBCTL_TXTO2_OFF () {	0x100;}
}
unless(defined(&SK_PKTARBCTL_TXTO2_ON)) {
    sub SK_PKTARBCTL_TXTO2_ON () {	0x200;}
}
unless(defined(&SK_PKTARBCTL_CLR_IRQ_RXTO1)) {
    sub SK_PKTARBCTL_CLR_IRQ_RXTO1 () {	0x400;}
}
unless(defined(&SK_PKTARBCTL_CLR_IRQ_RXTO2)) {
    sub SK_PKTARBCTL_CLR_IRQ_RXTO2 () {	0x800;}
}
unless(defined(&SK_PKTARBCTL_CLR_IRQ_TXTO1)) {
    sub SK_PKTARBCTL_CLR_IRQ_TXTO1 () {	0x1000;}
}
unless(defined(&SK_PKTARBCTL_CLR_IRQ_TXTO2)) {
    sub SK_PKTARBCTL_CLR_IRQ_TXTO2 () {	0x2000;}
}
unless(defined(&SK_MINIT_XMAC_B2)) {
    sub SK_MINIT_XMAC_B2 () {	54;}
}
unless(defined(&SK_MINIT_XMAC_C1)) {
    sub SK_MINIT_XMAC_C1 () {	63;}
}
unless(defined(&SK_MACARBCTL_RESET)) {
    sub SK_MACARBCTL_RESET () {	0x1;}
}
unless(defined(&SK_MACARBCTL_UNRESET)) {
    sub SK_MACARBCTL_UNRESET () {	0x2;}
}
unless(defined(&SK_MACARBCTL_FASTOE_OFF)) {
    sub SK_MACARBCTL_FASTOE_OFF () {	0x4;}
}
unless(defined(&SK_MACARBCRL_FASTOE_ON)) {
    sub SK_MACARBCRL_FASTOE_ON () {	0x8;}
}
unless(defined(&SK_RCINIT_XMAC_B2)) {
    sub SK_RCINIT_XMAC_B2 () {	54;}
}
unless(defined(&SK_RCINIT_XMAC_C1)) {
    sub SK_RCINIT_XMAC_C1 () {	0;}
}
unless(defined(&SK_RECOVERYCTL_RX1_OFF)) {
    sub SK_RECOVERYCTL_RX1_OFF () {	0x1;}
}
unless(defined(&SK_RECOVERYCTL_RX1_ON)) {
    sub SK_RECOVERYCTL_RX1_ON () {	0x2;}
}
unless(defined(&SK_RECOVERYCTL_RX2_OFF)) {
    sub SK_RECOVERYCTL_RX2_OFF () {	0x4;}
}
unless(defined(&SK_RECOVERYCTL_RX2_ON)) {
    sub SK_RECOVERYCTL_RX2_ON () {	0x8;}
}
unless(defined(&SK_RECOVERYCTL_TX1_OFF)) {
    sub SK_RECOVERYCTL_TX1_OFF () {	0x10;}
}
unless(defined(&SK_RECOVERYCTL_TX1_ON)) {
    sub SK_RECOVERYCTL_TX1_ON () {	0x20;}
}
unless(defined(&SK_RECOVERYCTL_TX2_OFF)) {
    sub SK_RECOVERYCTL_TX2_OFF () {	0x40;}
}
unless(defined(&SK_RECOVERYCTL_TX2_ON)) {
    sub SK_RECOVERYCTL_TX2_ON () {	0x80;}
}
unless(defined(&SK_RECOVERY_XMAC_B2)) {
    sub SK_RECOVERY_XMAC_B2 () {	( &SK_RECOVERYCTL_RX1_ON| &SK_RECOVERYCTL_RX2_ON|  &SK_RECOVERYCTL_TX1_ON| &SK_RECOVERYCTL_TX2_ON);}
}
unless(defined(&SK_RECOVERY_XMAC_C1)) {
    sub SK_RECOVERY_XMAC_C1 () {	( &SK_RECOVERYCTL_RX1_OFF| &SK_RECOVERYCTL_RX2_OFF|  &SK_RECOVERYCTL_TX1_OFF| &SK_RECOVERYCTL_TX2_OFF);}
}
unless(defined(&SK_TXAR1_TIMERINIT)) {
    sub SK_TXAR1_TIMERINIT () {	0x200;}
}
unless(defined(&SK_TXAR1_TIMERVAL)) {
    sub SK_TXAR1_TIMERVAL () {	0x204;}
}
unless(defined(&SK_TXAR1_LIMITINIT)) {
    sub SK_TXAR1_LIMITINIT () {	0x208;}
}
unless(defined(&SK_TXAR1_LIMITCNT)) {
    sub SK_TXAR1_LIMITCNT () {	0x20c;}
}
unless(defined(&SK_TXAR1_COUNTERCTL)) {
    sub SK_TXAR1_COUNTERCTL () {	0x210;}
}
unless(defined(&SK_TXAR1_COUNTERTST)) {
    sub SK_TXAR1_COUNTERTST () {	0x212;}
}
unless(defined(&SK_TXAR1_COUNTERSTS)) {
    sub SK_TXAR1_COUNTERSTS () {	0x212;}
}
unless(defined(&SK_TXAR2_TIMERINIT)) {
    sub SK_TXAR2_TIMERINIT () {	0x280;}
}
unless(defined(&SK_TXAR2_TIMERVAL)) {
    sub SK_TXAR2_TIMERVAL () {	0x284;}
}
unless(defined(&SK_TXAR2_LIMITINIT)) {
    sub SK_TXAR2_LIMITINIT () {	0x288;}
}
unless(defined(&SK_TXAR2_LIMITCNT)) {
    sub SK_TXAR2_LIMITCNT () {	0x28c;}
}
unless(defined(&SK_TXAR2_COUNTERCTL)) {
    sub SK_TXAR2_COUNTERCTL () {	0x290;}
}
unless(defined(&SK_TXAR2_COUNTERTST)) {
    sub SK_TXAR2_COUNTERTST () {	0x291;}
}
unless(defined(&SK_TXAR2_COUNTERSTS)) {
    sub SK_TXAR2_COUNTERSTS () {	0x292;}
}
unless(defined(&SK_TXARCTL_OFF)) {
    sub SK_TXARCTL_OFF () {	0x1;}
}
unless(defined(&SK_TXARCTL_ON)) {
    sub SK_TXARCTL_ON () {	0x2;}
}
unless(defined(&SK_TXARCTL_RATECTL_OFF)) {
    sub SK_TXARCTL_RATECTL_OFF () {	0x4;}
}
unless(defined(&SK_TXARCTL_RATECTL_ON)) {
    sub SK_TXARCTL_RATECTL_ON () {	0x8;}
}
unless(defined(&SK_TXARCTL_ALLOC_OFF)) {
    sub SK_TXARCTL_ALLOC_OFF () {	0x10;}
}
unless(defined(&SK_TXARCTL_ALLOC_ON)) {
    sub SK_TXARCTL_ALLOC_ON () {	0x20;}
}
unless(defined(&SK_TXARCTL_FSYNC_OFF)) {
    sub SK_TXARCTL_FSYNC_OFF () {	0x40;}
}
unless(defined(&SK_TXARCTL_FSYNC_ON)) {
    sub SK_TXARCTL_FSYNC_ON () {	0x80;}
}
unless(defined(&SK_EXTREG_BASE)) {
    sub SK_EXTREG_BASE () {	0x300;}
}
unless(defined(&SK_EXTREG_END)) {
    sub SK_EXTREG_END () {	0x37c;}
}
unless(defined(&SK_PCI_BASE)) {
    sub SK_PCI_BASE () {	0x380;}
}
unless(defined(&SK_PCI_END)) {
    sub SK_PCI_END () {	0x3fc;}
}
unless(defined(&SK_PCI_REG)) {
    sub SK_PCI_REG {
	local($reg) = @_;
	eval q((($reg) +  &SK_PCI_BASE));
    }
}
unless(defined(&SK_RXQ1_BUFCNT)) {
    sub SK_RXQ1_BUFCNT () {	0x400;}
}
unless(defined(&SK_RXQ1_BUFCTL)) {
    sub SK_RXQ1_BUFCTL () {	0x402;}
}
unless(defined(&SK_RXQ1_NEXTDESC)) {
    sub SK_RXQ1_NEXTDESC () {	0x404;}
}
unless(defined(&SK_RXQ1_RXBUF_LO)) {
    sub SK_RXQ1_RXBUF_LO () {	0x408;}
}
unless(defined(&SK_RXQ1_RXBUF_HI)) {
    sub SK_RXQ1_RXBUF_HI () {	0x40c;}
}
unless(defined(&SK_RXQ1_RXSTAT)) {
    sub SK_RXQ1_RXSTAT () {	0x410;}
}
unless(defined(&SK_RXQ1_TIMESTAMP)) {
    sub SK_RXQ1_TIMESTAMP () {	0x414;}
}
unless(defined(&SK_RXQ1_CSUM1)) {
    sub SK_RXQ1_CSUM1 () {	0x418;}
}
unless(defined(&SK_RXQ1_CSUM2)) {
    sub SK_RXQ1_CSUM2 () {	0x41a;}
}
unless(defined(&SK_RXQ1_CSUM1_START)) {
    sub SK_RXQ1_CSUM1_START () {	0x41c;}
}
unless(defined(&SK_RXQ1_CSUM2_START)) {
    sub SK_RXQ1_CSUM2_START () {	0x41e;}
}
unless(defined(&SK_RXQ1_CURADDR_LO)) {
    sub SK_RXQ1_CURADDR_LO () {	0x420;}
}
unless(defined(&SK_RXQ1_CURADDR_HI)) {
    sub SK_RXQ1_CURADDR_HI () {	0x424;}
}
unless(defined(&SK_RXQ1_CURCNT_LO)) {
    sub SK_RXQ1_CURCNT_LO () {	0x428;}
}
unless(defined(&SK_RXQ1_CURCNT_HI)) {
    sub SK_RXQ1_CURCNT_HI () {	0x42c;}
}
unless(defined(&SK_RXQ1_CURBYTES)) {
    sub SK_RXQ1_CURBYTES () {	0x430;}
}
unless(defined(&SK_RXQ1_BMU_CSR)) {
    sub SK_RXQ1_BMU_CSR () {	0x434;}
}
unless(defined(&SK_RXQ1_WATERMARK)) {
    sub SK_RXQ1_WATERMARK () {	0x438;}
}
unless(defined(&SK_RXQ1_FLAG)) {
    sub SK_RXQ1_FLAG () {	0x43a;}
}
unless(defined(&SK_RXQ1_TEST1)) {
    sub SK_RXQ1_TEST1 () {	0x43c;}
}
unless(defined(&SK_RXQ1_TEST2)) {
    sub SK_RXQ1_TEST2 () {	0x440;}
}
unless(defined(&SK_RXQ1_TEST3)) {
    sub SK_RXQ1_TEST3 () {	0x444;}
}
unless(defined(&SK_RXQ2_BUFCNT)) {
    sub SK_RXQ2_BUFCNT () {	0x480;}
}
unless(defined(&SK_RXQ2_BUFCTL)) {
    sub SK_RXQ2_BUFCTL () {	0x482;}
}
unless(defined(&SK_RXQ2_NEXTDESC)) {
    sub SK_RXQ2_NEXTDESC () {	0x484;}
}
unless(defined(&SK_RXQ2_RXBUF_LO)) {
    sub SK_RXQ2_RXBUF_LO () {	0x488;}
}
unless(defined(&SK_RXQ2_RXBUF_HI)) {
    sub SK_RXQ2_RXBUF_HI () {	0x48c;}
}
unless(defined(&SK_RXQ2_RXSTAT)) {
    sub SK_RXQ2_RXSTAT () {	0x490;}
}
unless(defined(&SK_RXQ2_TIMESTAMP)) {
    sub SK_RXQ2_TIMESTAMP () {	0x494;}
}
unless(defined(&SK_RXQ2_CSUM1)) {
    sub SK_RXQ2_CSUM1 () {	0x498;}
}
unless(defined(&SK_RXQ2_CSUM2)) {
    sub SK_RXQ2_CSUM2 () {	0x49a;}
}
unless(defined(&SK_RXQ2_CSUM1_START)) {
    sub SK_RXQ2_CSUM1_START () {	0x49c;}
}
unless(defined(&SK_RXQ2_CSUM2_START)) {
    sub SK_RXQ2_CSUM2_START () {	0x49e;}
}
unless(defined(&SK_RXQ2_CURADDR_LO)) {
    sub SK_RXQ2_CURADDR_LO () {	0x4a0;}
}
unless(defined(&SK_RXQ2_CURADDR_HI)) {
    sub SK_RXQ2_CURADDR_HI () {	0x4a4;}
}
unless(defined(&SK_RXQ2_CURCNT_LO)) {
    sub SK_RXQ2_CURCNT_LO () {	0x4a8;}
}
unless(defined(&SK_RXQ2_CURCNT_HI)) {
    sub SK_RXQ2_CURCNT_HI () {	0x4ac;}
}
unless(defined(&SK_RXQ2_CURBYTES)) {
    sub SK_RXQ2_CURBYTES () {	0x4b0;}
}
unless(defined(&SK_RXQ2_BMU_CSR)) {
    sub SK_RXQ2_BMU_CSR () {	0x4b4;}
}
unless(defined(&SK_RXQ2_WATERMARK)) {
    sub SK_RXQ2_WATERMARK () {	0x4b8;}
}
unless(defined(&SK_RXQ2_FLAG)) {
    sub SK_RXQ2_FLAG () {	0x4ba;}
}
unless(defined(&SK_RXQ2_TEST1)) {
    sub SK_RXQ2_TEST1 () {	0x4bc;}
}
unless(defined(&SK_RXQ2_TEST2)) {
    sub SK_RXQ2_TEST2 () {	0x4c0;}
}
unless(defined(&SK_RXQ2_TEST3)) {
    sub SK_RXQ2_TEST3 () {	0x4c4;}
}
unless(defined(&SK_RXBMU_CLR_IRQ_ERR)) {
    sub SK_RXBMU_CLR_IRQ_ERR () {	0x1;}
}
unless(defined(&SK_RXBMU_CLR_IRQ_EOF)) {
    sub SK_RXBMU_CLR_IRQ_EOF () {	0x2;}
}
unless(defined(&SK_RXBMU_CLR_IRQ_EOB)) {
    sub SK_RXBMU_CLR_IRQ_EOB () {	0x4;}
}
unless(defined(&SK_RXBMU_CLR_IRQ_PAR)) {
    sub SK_RXBMU_CLR_IRQ_PAR () {	0x8;}
}
unless(defined(&SK_RXBMU_RX_START)) {
    sub SK_RXBMU_RX_START () {	0x10;}
}
unless(defined(&SK_RXBMU_RX_STOP)) {
    sub SK_RXBMU_RX_STOP () {	0x20;}
}
unless(defined(&SK_RXBMU_POLL_OFF)) {
    sub SK_RXBMU_POLL_OFF () {	0x40;}
}
unless(defined(&SK_RXBMU_POLL_ON)) {
    sub SK_RXBMU_POLL_ON () {	0x80;}
}
unless(defined(&SK_RXBMU_TRANSFER_SM_RESET)) {
    sub SK_RXBMU_TRANSFER_SM_RESET () {	0x100;}
}
unless(defined(&SK_RXBMU_TRANSFER_SM_UNRESET)) {
    sub SK_RXBMU_TRANSFER_SM_UNRESET () {	0x200;}
}
unless(defined(&SK_RXBMU_DESCWR_SM_RESET)) {
    sub SK_RXBMU_DESCWR_SM_RESET () {	0x400;}
}
unless(defined(&SK_RXBMU_DESCWR_SM_UNRESET)) {
    sub SK_RXBMU_DESCWR_SM_UNRESET () {	0x800;}
}
unless(defined(&SK_RXBMU_DESCRD_SM_RESET)) {
    sub SK_RXBMU_DESCRD_SM_RESET () {	0x1000;}
}
unless(defined(&SK_RXBMU_DESCRD_SM_UNRESET)) {
    sub SK_RXBMU_DESCRD_SM_UNRESET () {	0x2000;}
}
unless(defined(&SK_RXBMU_SUPERVISOR_SM_RESET)) {
    sub SK_RXBMU_SUPERVISOR_SM_RESET () {	0x4000;}
}
unless(defined(&SK_RXBMU_SUPERVISOR_SM_UNRESET)) {
    sub SK_RXBMU_SUPERVISOR_SM_UNRESET () {	0x8000;}
}
unless(defined(&SK_RXBMU_PFI_SM_RESET)) {
    sub SK_RXBMU_PFI_SM_RESET () {	0x10000;}
}
unless(defined(&SK_RXBMU_PFI_SM_UNRESET)) {
    sub SK_RXBMU_PFI_SM_UNRESET () {	0x20000;}
}
unless(defined(&SK_RXBMU_FIFO_RESET)) {
    sub SK_RXBMU_FIFO_RESET () {	0x40000;}
}
unless(defined(&SK_RXBMU_FIFO_UNRESET)) {
    sub SK_RXBMU_FIFO_UNRESET () {	0x80000;}
}
unless(defined(&SK_RXBMU_DESC_RESET)) {
    sub SK_RXBMU_DESC_RESET () {	0x100000;}
}
unless(defined(&SK_RXBMU_DESC_UNRESET)) {
    sub SK_RXBMU_DESC_UNRESET () {	0x200000;}
}
unless(defined(&SK_RXBMU_SUPERVISOR_IDLE)) {
    sub SK_RXBMU_SUPERVISOR_IDLE () {	0x1000000;}
}
unless(defined(&SK_RXBMU_ONLINE)) {
    sub SK_RXBMU_ONLINE () {	( &SK_RXBMU_TRANSFER_SM_UNRESET| &SK_RXBMU_DESCWR_SM_UNRESET|  &SK_RXBMU_DESCRD_SM_UNRESET| &SK_RXBMU_SUPERVISOR_SM_UNRESET|  &SK_RXBMU_PFI_SM_UNRESET| &SK_RXBMU_FIFO_UNRESET|  &SK_RXBMU_DESC_UNRESET);}
}
unless(defined(&SK_RXBMU_OFFLINE)) {
    sub SK_RXBMU_OFFLINE () {	( &SK_RXBMU_TRANSFER_SM_RESET| &SK_RXBMU_DESCWR_SM_RESET|  &SK_RXBMU_DESCRD_SM_RESET| &SK_RXBMU_SUPERVISOR_SM_RESET|  &SK_RXBMU_PFI_SM_RESET| &SK_RXBMU_FIFO_RESET|  &SK_RXBMU_DESC_RESET);}
}
unless(defined(&SK_TXQS1_BUFCNT)) {
    sub SK_TXQS1_BUFCNT () {	0x600;}
}
unless(defined(&SK_TXQS1_BUFCTL)) {
    sub SK_TXQS1_BUFCTL () {	0x602;}
}
unless(defined(&SK_TXQS1_NEXTDESC)) {
    sub SK_TXQS1_NEXTDESC () {	0x604;}
}
unless(defined(&SK_TXQS1_RXBUF_LO)) {
    sub SK_TXQS1_RXBUF_LO () {	0x608;}
}
unless(defined(&SK_TXQS1_RXBUF_HI)) {
    sub SK_TXQS1_RXBUF_HI () {	0x60c;}
}
unless(defined(&SK_TXQS1_RXSTAT)) {
    sub SK_TXQS1_RXSTAT () {	0x610;}
}
unless(defined(&SK_TXQS1_CSUM_STARTVAL)) {
    sub SK_TXQS1_CSUM_STARTVAL () {	0x614;}
}
unless(defined(&SK_TXQS1_CSUM_STARTPOS)) {
    sub SK_TXQS1_CSUM_STARTPOS () {	0x618;}
}
unless(defined(&SK_TXQS1_CSUM_WRITEPOS)) {
    sub SK_TXQS1_CSUM_WRITEPOS () {	0x61a;}
}
unless(defined(&SK_TXQS1_CURADDR_LO)) {
    sub SK_TXQS1_CURADDR_LO () {	0x620;}
}
unless(defined(&SK_TXQS1_CURADDR_HI)) {
    sub SK_TXQS1_CURADDR_HI () {	0x624;}
}
unless(defined(&SK_TXQS1_CURCNT_LO)) {
    sub SK_TXQS1_CURCNT_LO () {	0x628;}
}
unless(defined(&SK_TXQS1_CURCNT_HI)) {
    sub SK_TXQS1_CURCNT_HI () {	0x62c;}
}
unless(defined(&SK_TXQS1_CURBYTES)) {
    sub SK_TXQS1_CURBYTES () {	0x630;}
}
unless(defined(&SK_TXQS1_BMU_CSR)) {
    sub SK_TXQS1_BMU_CSR () {	0x634;}
}
unless(defined(&SK_TXQS1_WATERMARK)) {
    sub SK_TXQS1_WATERMARK () {	0x638;}
}
unless(defined(&SK_TXQS1_FLAG)) {
    sub SK_TXQS1_FLAG () {	0x63a;}
}
unless(defined(&SK_TXQS1_TEST1)) {
    sub SK_TXQS1_TEST1 () {	0x63c;}
}
unless(defined(&SK_TXQS1_TEST2)) {
    sub SK_TXQS1_TEST2 () {	0x640;}
}
unless(defined(&SK_TXQS1_TEST3)) {
    sub SK_TXQS1_TEST3 () {	0x644;}
}
unless(defined(&SK_TXQA1_BUFCNT)) {
    sub SK_TXQA1_BUFCNT () {	0x680;}
}
unless(defined(&SK_TXQA1_BUFCTL)) {
    sub SK_TXQA1_BUFCTL () {	0x682;}
}
unless(defined(&SK_TXQA1_NEXTDESC)) {
    sub SK_TXQA1_NEXTDESC () {	0x684;}
}
unless(defined(&SK_TXQA1_RXBUF_LO)) {
    sub SK_TXQA1_RXBUF_LO () {	0x688;}
}
unless(defined(&SK_TXQA1_RXBUF_HI)) {
    sub SK_TXQA1_RXBUF_HI () {	0x68c;}
}
unless(defined(&SK_TXQA1_RXSTAT)) {
    sub SK_TXQA1_RXSTAT () {	0x690;}
}
unless(defined(&SK_TXQA1_CSUM_STARTVAL)) {
    sub SK_TXQA1_CSUM_STARTVAL () {	0x694;}
}
unless(defined(&SK_TXQA1_CSUM_STARTPOS)) {
    sub SK_TXQA1_CSUM_STARTPOS () {	0x698;}
}
unless(defined(&SK_TXQA1_CSUM_WRITEPOS)) {
    sub SK_TXQA1_CSUM_WRITEPOS () {	0x69a;}
}
unless(defined(&SK_TXQA1_CURADDR_LO)) {
    sub SK_TXQA1_CURADDR_LO () {	0x6a0;}
}
unless(defined(&SK_TXQA1_CURADDR_HI)) {
    sub SK_TXQA1_CURADDR_HI () {	0x6a4;}
}
unless(defined(&SK_TXQA1_CURCNT_LO)) {
    sub SK_TXQA1_CURCNT_LO () {	0x6a8;}
}
unless(defined(&SK_TXQA1_CURCNT_HI)) {
    sub SK_TXQA1_CURCNT_HI () {	0x6ac;}
}
unless(defined(&SK_TXQA1_CURBYTES)) {
    sub SK_TXQA1_CURBYTES () {	0x6b0;}
}
unless(defined(&SK_TXQA1_BMU_CSR)) {
    sub SK_TXQA1_BMU_CSR () {	0x6b4;}
}
unless(defined(&SK_TXQA1_WATERMARK)) {
    sub SK_TXQA1_WATERMARK () {	0x6b8;}
}
unless(defined(&SK_TXQA1_FLAG)) {
    sub SK_TXQA1_FLAG () {	0x6ba;}
}
unless(defined(&SK_TXQA1_TEST1)) {
    sub SK_TXQA1_TEST1 () {	0x6bc;}
}
unless(defined(&SK_TXQA1_TEST2)) {
    sub SK_TXQA1_TEST2 () {	0x6c0;}
}
unless(defined(&SK_TXQA1_TEST3)) {
    sub SK_TXQA1_TEST3 () {	0x6c4;}
}
unless(defined(&SK_TXQS2_BUFCNT)) {
    sub SK_TXQS2_BUFCNT () {	0x700;}
}
unless(defined(&SK_TXQS2_BUFCTL)) {
    sub SK_TXQS2_BUFCTL () {	0x702;}
}
unless(defined(&SK_TXQS2_NEXTDESC)) {
    sub SK_TXQS2_NEXTDESC () {	0x704;}
}
unless(defined(&SK_TXQS2_RXBUF_LO)) {
    sub SK_TXQS2_RXBUF_LO () {	0x708;}
}
unless(defined(&SK_TXQS2_RXBUF_HI)) {
    sub SK_TXQS2_RXBUF_HI () {	0x70c;}
}
unless(defined(&SK_TXQS2_RXSTAT)) {
    sub SK_TXQS2_RXSTAT () {	0x710;}
}
unless(defined(&SK_TXQS2_CSUM_STARTVAL)) {
    sub SK_TXQS2_CSUM_STARTVAL () {	0x714;}
}
unless(defined(&SK_TXQS2_CSUM_STARTPOS)) {
    sub SK_TXQS2_CSUM_STARTPOS () {	0x718;}
}
unless(defined(&SK_TXQS2_CSUM_WRITEPOS)) {
    sub SK_TXQS2_CSUM_WRITEPOS () {	0x71a;}
}
unless(defined(&SK_TXQS2_CURADDR_LO)) {
    sub SK_TXQS2_CURADDR_LO () {	0x720;}
}
unless(defined(&SK_TXQS2_CURADDR_HI)) {
    sub SK_TXQS2_CURADDR_HI () {	0x724;}
}
unless(defined(&SK_TXQS2_CURCNT_LO)) {
    sub SK_TXQS2_CURCNT_LO () {	0x728;}
}
unless(defined(&SK_TXQS2_CURCNT_HI)) {
    sub SK_TXQS2_CURCNT_HI () {	0x72c;}
}
unless(defined(&SK_TXQS2_CURBYTES)) {
    sub SK_TXQS2_CURBYTES () {	0x730;}
}
unless(defined(&SK_TXQS2_BMU_CSR)) {
    sub SK_TXQS2_BMU_CSR () {	0x734;}
}
unless(defined(&SK_TXQS2_WATERMARK)) {
    sub SK_TXQS2_WATERMARK () {	0x738;}
}
unless(defined(&SK_TXQS2_FLAG)) {
    sub SK_TXQS2_FLAG () {	0x73a;}
}
unless(defined(&SK_TXQS2_TEST1)) {
    sub SK_TXQS2_TEST1 () {	0x73c;}
}
unless(defined(&SK_TXQS2_TEST2)) {
    sub SK_TXQS2_TEST2 () {	0x740;}
}
unless(defined(&SK_TXQS2_TEST3)) {
    sub SK_TXQS2_TEST3 () {	0x744;}
}
unless(defined(&SK_TXQA2_BUFCNT)) {
    sub SK_TXQA2_BUFCNT () {	0x780;}
}
unless(defined(&SK_TXQA2_BUFCTL)) {
    sub SK_TXQA2_BUFCTL () {	0x782;}
}
unless(defined(&SK_TXQA2_NEXTDESC)) {
    sub SK_TXQA2_NEXTDESC () {	0x784;}
}
unless(defined(&SK_TXQA2_RXBUF_LO)) {
    sub SK_TXQA2_RXBUF_LO () {	0x788;}
}
unless(defined(&SK_TXQA2_RXBUF_HI)) {
    sub SK_TXQA2_RXBUF_HI () {	0x78c;}
}
unless(defined(&SK_TXQA2_RXSTAT)) {
    sub SK_TXQA2_RXSTAT () {	0x790;}
}
unless(defined(&SK_TXQA2_CSUM_STARTVAL)) {
    sub SK_TXQA2_CSUM_STARTVAL () {	0x794;}
}
unless(defined(&SK_TXQA2_CSUM_STARTPOS)) {
    sub SK_TXQA2_CSUM_STARTPOS () {	0x798;}
}
unless(defined(&SK_TXQA2_CSUM_WRITEPOS)) {
    sub SK_TXQA2_CSUM_WRITEPOS () {	0x79a;}
}
unless(defined(&SK_TXQA2_CURADDR_LO)) {
    sub SK_TXQA2_CURADDR_LO () {	0x7a0;}
}
unless(defined(&SK_TXQA2_CURADDR_HI)) {
    sub SK_TXQA2_CURADDR_HI () {	0x7a4;}
}
unless(defined(&SK_TXQA2_CURCNT_LO)) {
    sub SK_TXQA2_CURCNT_LO () {	0x7a8;}
}
unless(defined(&SK_TXQA2_CURCNT_HI)) {
    sub SK_TXQA2_CURCNT_HI () {	0x7ac;}
}
unless(defined(&SK_TXQA2_CURBYTES)) {
    sub SK_TXQA2_CURBYTES () {	0x7b0;}
}
unless(defined(&SK_TXQA2_BMU_CSR)) {
    sub SK_TXQA2_BMU_CSR () {	0x7b4;}
}
unless(defined(&SK_TXQA2_WATERMARK)) {
    sub SK_TXQA2_WATERMARK () {	0x7b8;}
}
unless(defined(&SK_TXQA2_FLAG)) {
    sub SK_TXQA2_FLAG () {	0x7ba;}
}
unless(defined(&SK_TXQA2_TEST1)) {
    sub SK_TXQA2_TEST1 () {	0x7bc;}
}
unless(defined(&SK_TXQA2_TEST2)) {
    sub SK_TXQA2_TEST2 () {	0x7c0;}
}
unless(defined(&SK_TXQA2_TEST3)) {
    sub SK_TXQA2_TEST3 () {	0x7c4;}
}
unless(defined(&SK_TXBMU_CLR_IRQ_ERR)) {
    sub SK_TXBMU_CLR_IRQ_ERR () {	0x1;}
}
unless(defined(&SK_TXBMU_CLR_IRQ_EOF)) {
    sub SK_TXBMU_CLR_IRQ_EOF () {	0x2;}
}
unless(defined(&SK_TXBMU_CLR_IRQ_EOB)) {
    sub SK_TXBMU_CLR_IRQ_EOB () {	0x4;}
}
unless(defined(&SK_TXBMU_TX_START)) {
    sub SK_TXBMU_TX_START () {	0x10;}
}
unless(defined(&SK_TXBMU_TX_STOP)) {
    sub SK_TXBMU_TX_STOP () {	0x20;}
}
unless(defined(&SK_TXBMU_POLL_OFF)) {
    sub SK_TXBMU_POLL_OFF () {	0x40;}
}
unless(defined(&SK_TXBMU_POLL_ON)) {
    sub SK_TXBMU_POLL_ON () {	0x80;}
}
unless(defined(&SK_TXBMU_TRANSFER_SM_RESET)) {
    sub SK_TXBMU_TRANSFER_SM_RESET () {	0x100;}
}
unless(defined(&SK_TXBMU_TRANSFER_SM_UNRESET)) {
    sub SK_TXBMU_TRANSFER_SM_UNRESET () {	0x200;}
}
unless(defined(&SK_TXBMU_DESCWR_SM_RESET)) {
    sub SK_TXBMU_DESCWR_SM_RESET () {	0x400;}
}
unless(defined(&SK_TXBMU_DESCWR_SM_UNRESET)) {
    sub SK_TXBMU_DESCWR_SM_UNRESET () {	0x800;}
}
unless(defined(&SK_TXBMU_DESCRD_SM_RESET)) {
    sub SK_TXBMU_DESCRD_SM_RESET () {	0x1000;}
}
unless(defined(&SK_TXBMU_DESCRD_SM_UNRESET)) {
    sub SK_TXBMU_DESCRD_SM_UNRESET () {	0x2000;}
}
unless(defined(&SK_TXBMU_SUPERVISOR_SM_RESET)) {
    sub SK_TXBMU_SUPERVISOR_SM_RESET () {	0x4000;}
}
unless(defined(&SK_TXBMU_SUPERVISOR_SM_UNRESET)) {
    sub SK_TXBMU_SUPERVISOR_SM_UNRESET () {	0x8000;}
}
unless(defined(&SK_TXBMU_PFI_SM_RESET)) {
    sub SK_TXBMU_PFI_SM_RESET () {	0x10000;}
}
unless(defined(&SK_TXBMU_PFI_SM_UNRESET)) {
    sub SK_TXBMU_PFI_SM_UNRESET () {	0x20000;}
}
unless(defined(&SK_TXBMU_FIFO_RESET)) {
    sub SK_TXBMU_FIFO_RESET () {	0x40000;}
}
unless(defined(&SK_TXBMU_FIFO_UNRESET)) {
    sub SK_TXBMU_FIFO_UNRESET () {	0x80000;}
}
unless(defined(&SK_TXBMU_DESC_RESET)) {
    sub SK_TXBMU_DESC_RESET () {	0x100000;}
}
unless(defined(&SK_TXBMU_DESC_UNRESET)) {
    sub SK_TXBMU_DESC_UNRESET () {	0x200000;}
}
unless(defined(&SK_TXBMU_SUPERVISOR_IDLE)) {
    sub SK_TXBMU_SUPERVISOR_IDLE () {	0x1000000;}
}
unless(defined(&SK_TXBMU_ONLINE)) {
    sub SK_TXBMU_ONLINE () {	( &SK_TXBMU_TRANSFER_SM_UNRESET| &SK_TXBMU_DESCWR_SM_UNRESET|  &SK_TXBMU_DESCRD_SM_UNRESET| &SK_TXBMU_SUPERVISOR_SM_UNRESET|  &SK_TXBMU_PFI_SM_UNRESET| &SK_TXBMU_FIFO_UNRESET|  &SK_TXBMU_DESC_UNRESET);}
}
unless(defined(&SK_TXBMU_OFFLINE)) {
    sub SK_TXBMU_OFFLINE () {	( &SK_TXBMU_TRANSFER_SM_RESET| &SK_TXBMU_DESCWR_SM_RESET|  &SK_TXBMU_DESCRD_SM_RESET| &SK_TXBMU_SUPERVISOR_SM_RESET|  &SK_TXBMU_PFI_SM_RESET| &SK_TXBMU_FIFO_RESET|  &SK_TXBMU_DESC_RESET);}
}
unless(defined(&SK_RXRB1_START)) {
    sub SK_RXRB1_START () {	0x800;}
}
unless(defined(&SK_RXRB1_END)) {
    sub SK_RXRB1_END () {	0x804;}
}
unless(defined(&SK_RXRB1_WR_PTR)) {
    sub SK_RXRB1_WR_PTR () {	0x808;}
}
unless(defined(&SK_RXRB1_RD_PTR)) {
    sub SK_RXRB1_RD_PTR () {	0x80c;}
}
unless(defined(&SK_RXRB1_UTHR_PAUSE)) {
    sub SK_RXRB1_UTHR_PAUSE () {	0x810;}
}
unless(defined(&SK_RXRB1_LTHR_PAUSE)) {
    sub SK_RXRB1_LTHR_PAUSE () {	0x814;}
}
unless(defined(&SK_RXRB1_UTHR_HIPRIO)) {
    sub SK_RXRB1_UTHR_HIPRIO () {	0x818;}
}
unless(defined(&SK_RXRB1_UTHR_LOPRIO)) {
    sub SK_RXRB1_UTHR_LOPRIO () {	0x81c;}
}
unless(defined(&SK_RXRB1_PKTCNT)) {
    sub SK_RXRB1_PKTCNT () {	0x820;}
}
unless(defined(&SK_RXRB1_LVL)) {
    sub SK_RXRB1_LVL () {	0x824;}
}
unless(defined(&SK_RXRB1_CTLTST)) {
    sub SK_RXRB1_CTLTST () {	0x828;}
}
unless(defined(&SK_RXRB2_START)) {
    sub SK_RXRB2_START () {	0x880;}
}
unless(defined(&SK_RXRB2_END)) {
    sub SK_RXRB2_END () {	0x884;}
}
unless(defined(&SK_RXRB2_WR_PTR)) {
    sub SK_RXRB2_WR_PTR () {	0x888;}
}
unless(defined(&SK_RXRB2_RD_PTR)) {
    sub SK_RXRB2_RD_PTR () {	0x88c;}
}
unless(defined(&SK_RXRB2_UTHR_PAUSE)) {
    sub SK_RXRB2_UTHR_PAUSE () {	0x890;}
}
unless(defined(&SK_RXRB2_LTHR_PAUSE)) {
    sub SK_RXRB2_LTHR_PAUSE () {	0x894;}
}
unless(defined(&SK_RXRB2_UTHR_HIPRIO)) {
    sub SK_RXRB2_UTHR_HIPRIO () {	0x898;}
}
unless(defined(&SK_RXRB2_UTHR_LOPRIO)) {
    sub SK_RXRB2_UTHR_LOPRIO () {	0x89c;}
}
unless(defined(&SK_RXRB2_PKTCNT)) {
    sub SK_RXRB2_PKTCNT () {	0x8a0;}
}
unless(defined(&SK_RXRB2_LVL)) {
    sub SK_RXRB2_LVL () {	0x8a4;}
}
unless(defined(&SK_RXRB2_CTLTST)) {
    sub SK_RXRB2_CTLTST () {	0x8a8;}
}
unless(defined(&SK_TXRBS1_START)) {
    sub SK_TXRBS1_START () {	0xa00;}
}
unless(defined(&SK_TXRBS1_END)) {
    sub SK_TXRBS1_END () {	0xa04;}
}
unless(defined(&SK_TXRBS1_WR_PTR)) {
    sub SK_TXRBS1_WR_PTR () {	0xa08;}
}
unless(defined(&SK_TXRBS1_RD_PTR)) {
    sub SK_TXRBS1_RD_PTR () {	0xa0c;}
}
unless(defined(&SK_TXRBS1_PKTCNT)) {
    sub SK_TXRBS1_PKTCNT () {	0xa20;}
}
unless(defined(&SK_TXRBS1_LVL)) {
    sub SK_TXRBS1_LVL () {	0xa24;}
}
unless(defined(&SK_TXRBS1_CTLTST)) {
    sub SK_TXRBS1_CTLTST () {	0xa28;}
}
unless(defined(&SK_TXRBA1_START)) {
    sub SK_TXRBA1_START () {	0xa80;}
}
unless(defined(&SK_TXRBA1_END)) {
    sub SK_TXRBA1_END () {	0xa84;}
}
unless(defined(&SK_TXRBA1_WR_PTR)) {
    sub SK_TXRBA1_WR_PTR () {	0xa88;}
}
unless(defined(&SK_TXRBA1_RD_PTR)) {
    sub SK_TXRBA1_RD_PTR () {	0xa8c;}
}
unless(defined(&SK_TXRBA1_PKTCNT)) {
    sub SK_TXRBA1_PKTCNT () {	0xaa0;}
}
unless(defined(&SK_TXRBA1_LVL)) {
    sub SK_TXRBA1_LVL () {	0xaa4;}
}
unless(defined(&SK_TXRBA1_CTLTST)) {
    sub SK_TXRBA1_CTLTST () {	0xaa8;}
}
unless(defined(&SK_TXRBS2_START)) {
    sub SK_TXRBS2_START () {	0xb00;}
}
unless(defined(&SK_TXRBS2_END)) {
    sub SK_TXRBS2_END () {	0xb04;}
}
unless(defined(&SK_TXRBS2_WR_PTR)) {
    sub SK_TXRBS2_WR_PTR () {	0xb08;}
}
unless(defined(&SK_TXRBS2_RD_PTR)) {
    sub SK_TXRBS2_RD_PTR () {	0xb0c;}
}
unless(defined(&SK_TXRBS2_PKTCNT)) {
    sub SK_TXRBS2_PKTCNT () {	0xb20;}
}
unless(defined(&SK_TXRBS2_LVL)) {
    sub SK_TXRBS2_LVL () {	0xb24;}
}
unless(defined(&SK_TXRBS2_CTLTST)) {
    sub SK_TXRBS2_CTLTST () {	0xb28;}
}
unless(defined(&SK_TXRBA2_START)) {
    sub SK_TXRBA2_START () {	0xb80;}
}
unless(defined(&SK_TXRBA2_END)) {
    sub SK_TXRBA2_END () {	0xb84;}
}
unless(defined(&SK_TXRBA2_WR_PTR)) {
    sub SK_TXRBA2_WR_PTR () {	0xb88;}
}
unless(defined(&SK_TXRBA2_RD_PTR)) {
    sub SK_TXRBA2_RD_PTR () {	0xb8c;}
}
unless(defined(&SK_TXRBA2_PKTCNT)) {
    sub SK_TXRBA2_PKTCNT () {	0xba0;}
}
unless(defined(&SK_TXRBA2_LVL)) {
    sub SK_TXRBA2_LVL () {	0xba4;}
}
unless(defined(&SK_TXRBA2_CTLTST)) {
    sub SK_TXRBA2_CTLTST () {	0xba8;}
}
unless(defined(&SK_RBCTL_RESET)) {
    sub SK_RBCTL_RESET () {	0x1;}
}
unless(defined(&SK_RBCTL_UNRESET)) {
    sub SK_RBCTL_UNRESET () {	0x2;}
}
unless(defined(&SK_RBCTL_OFF)) {
    sub SK_RBCTL_OFF () {	0x4;}
}
unless(defined(&SK_RBCTL_ON)) {
    sub SK_RBCTL_ON () {	0x8;}
}
unless(defined(&SK_RBCTL_STORENFWD_OFF)) {
    sub SK_RBCTL_STORENFWD_OFF () {	0x10;}
}
unless(defined(&SK_RBCTL_STORENFWD_ON)) {
    sub SK_RBCTL_STORENFWD_ON () {	0x20;}
}
unless(defined(&SK_RXF1_END)) {
    sub SK_RXF1_END () {	0xc00;}
}
unless(defined(&SK_RXF1_WPTR)) {
    sub SK_RXF1_WPTR () {	0xc04;}
}
unless(defined(&SK_RXF1_RPTR)) {
    sub SK_RXF1_RPTR () {	0xc0c;}
}
unless(defined(&SK_RXF1_PKTCNT)) {
    sub SK_RXF1_PKTCNT () {	0xc10;}
}
unless(defined(&SK_RXF1_LVL)) {
    sub SK_RXF1_LVL () {	0xc14;}
}
unless(defined(&SK_RXF1_MACCTL)) {
    sub SK_RXF1_MACCTL () {	0xc18;}
}
unless(defined(&SK_RXF1_CTL)) {
    sub SK_RXF1_CTL () {	0xc1c;}
}
unless(defined(&SK_RXLED1_CNTINIT)) {
    sub SK_RXLED1_CNTINIT () {	0xc20;}
}
unless(defined(&SK_RXLED1_COUNTER)) {
    sub SK_RXLED1_COUNTER () {	0xc24;}
}
unless(defined(&SK_RXLED1_CTL)) {
    sub SK_RXLED1_CTL () {	0xc28;}
}
unless(defined(&SK_RXLED1_TST)) {
    sub SK_RXLED1_TST () {	0xc29;}
}
unless(defined(&SK_LINK_SYNC1_CINIT)) {
    sub SK_LINK_SYNC1_CINIT () {	0xc30;}
}
unless(defined(&SK_LINK_SYNC1_COUNTER)) {
    sub SK_LINK_SYNC1_COUNTER () {	0xc34;}
}
unless(defined(&SK_LINK_SYNC1_CTL)) {
    sub SK_LINK_SYNC1_CTL () {	0xc38;}
}
unless(defined(&SK_LINK_SYNC1_TST)) {
    sub SK_LINK_SYNC1_TST () {	0xc39;}
}
unless(defined(&SK_LINKLED1_CTL)) {
    sub SK_LINKLED1_CTL () {	0xc3c;}
}
unless(defined(&SK_FIFO_END)) {
    sub SK_FIFO_END () {	0x3f;}
}
unless(defined(&SK_RXF2_END)) {
    sub SK_RXF2_END () {	0xc80;}
}
unless(defined(&SK_RXF2_WPTR)) {
    sub SK_RXF2_WPTR () {	0xc84;}
}
unless(defined(&SK_RXF2_RPTR)) {
    sub SK_RXF2_RPTR () {	0xc8c;}
}
unless(defined(&SK_RXF2_PKTCNT)) {
    sub SK_RXF2_PKTCNT () {	0xc90;}
}
unless(defined(&SK_RXF2_LVL)) {
    sub SK_RXF2_LVL () {	0xc94;}
}
unless(defined(&SK_RXF2_MACCTL)) {
    sub SK_RXF2_MACCTL () {	0xc98;}
}
unless(defined(&SK_RXF2_CTL)) {
    sub SK_RXF2_CTL () {	0xc9c;}
}
unless(defined(&SK_RXLED2_CNTINIT)) {
    sub SK_RXLED2_CNTINIT () {	0xca0;}
}
unless(defined(&SK_RXLED2_COUNTER)) {
    sub SK_RXLED2_COUNTER () {	0xca4;}
}
unless(defined(&SK_RXLED2_CTL)) {
    sub SK_RXLED2_CTL () {	0xca8;}
}
unless(defined(&SK_RXLED2_TST)) {
    sub SK_RXLED2_TST () {	0xca9;}
}
unless(defined(&SK_LINK_SYNC2_CINIT)) {
    sub SK_LINK_SYNC2_CINIT () {	0xcb0;}
}
unless(defined(&SK_LINK_SYNC2_COUNTER)) {
    sub SK_LINK_SYNC2_COUNTER () {	0xcb4;}
}
unless(defined(&SK_LINK_SYNC2_CTL)) {
    sub SK_LINK_SYNC2_CTL () {	0xcb8;}
}
unless(defined(&SK_LINK_SYNC2_TST)) {
    sub SK_LINK_SYNC2_TST () {	0xcb9;}
}
unless(defined(&SK_LINKLED2_CTL)) {
    sub SK_LINKLED2_CTL () {	0xcbc;}
}
unless(defined(&SK_RXMACCTL_CLR_IRQ_NOSTS)) {
    sub SK_RXMACCTL_CLR_IRQ_NOSTS () {	0x1;}
}
unless(defined(&SK_RXMACCTL_CLR_IRQ_NOTSTAMP)) {
    sub SK_RXMACCTL_CLR_IRQ_NOTSTAMP () {	0x2;}
}
unless(defined(&SK_RXMACCTL_TSTAMP_OFF)) {
    sub SK_RXMACCTL_TSTAMP_OFF () {	0x4;}
}
unless(defined(&SK_RXMACCTL_RSTAMP_ON)) {
    sub SK_RXMACCTL_RSTAMP_ON () {	0x8;}
}
unless(defined(&SK_RXMACCTL_FLUSH_OFF)) {
    sub SK_RXMACCTL_FLUSH_OFF () {	0x10;}
}
unless(defined(&SK_RXMACCTL_FLUSH_ON)) {
    sub SK_RXMACCTL_FLUSH_ON () {	0x20;}
}
unless(defined(&SK_RXMACCTL_PAUSE_OFF)) {
    sub SK_RXMACCTL_PAUSE_OFF () {	0x40;}
}
unless(defined(&SK_RXMACCTL_PAUSE_ON)) {
    sub SK_RXMACCTL_PAUSE_ON () {	0x80;}
}
unless(defined(&SK_RXMACCTL_AFULL_OFF)) {
    sub SK_RXMACCTL_AFULL_OFF () {	0x100;}
}
unless(defined(&SK_RXMACCTL_AFULL_ON)) {
    sub SK_RXMACCTL_AFULL_ON () {	0x200;}
}
unless(defined(&SK_RXMACCTL_VALIDTIME_PATCH_OFF)) {
    sub SK_RXMACCTL_VALIDTIME_PATCH_OFF () {	0x400;}
}
unless(defined(&SK_RXMACCTL_VALIDTIME_PATCH_ON)) {
    sub SK_RXMACCTL_VALIDTIME_PATCH_ON () {	0x800;}
}
unless(defined(&SK_RXMACCTL_RXRDY_PATCH_OFF)) {
    sub SK_RXMACCTL_RXRDY_PATCH_OFF () {	0x1000;}
}
unless(defined(&SK_RXMACCTL_RXRDY_PATCH_ON)) {
    sub SK_RXMACCTL_RXRDY_PATCH_ON () {	0x2000;}
}
unless(defined(&SK_RXMACCTL_STS_TIMEO)) {
    sub SK_RXMACCTL_STS_TIMEO () {	0xff0000;}
}
unless(defined(&SK_RXMACCTL_TSTAMP_TIMEO)) {
    sub SK_RXMACCTL_TSTAMP_TIMEO () {	0xff000000;}
}
unless(defined(&SK_RXLEDCTL_ENABLE)) {
    sub SK_RXLEDCTL_ENABLE () {	0x1;}
}
unless(defined(&SK_RXLEDCTL_COUNTER_STOP)) {
    sub SK_RXLEDCTL_COUNTER_STOP () {	0x2;}
}
unless(defined(&SK_RXLEDCTL_COUNTER_START)) {
    sub SK_RXLEDCTL_COUNTER_START () {	0x4;}
}
unless(defined(&SK_LINKLED_OFF)) {
    sub SK_LINKLED_OFF () {	0x1;}
}
unless(defined(&SK_LINKLED_ON)) {
    sub SK_LINKLED_ON () {	0x2;}
}
unless(defined(&SK_LINKLED_LINKSYNC_OFF)) {
    sub SK_LINKLED_LINKSYNC_OFF () {	0x4;}
}
unless(defined(&SK_LINKLED_LINKSYNC_ON)) {
    sub SK_LINKLED_LINKSYNC_ON () {	0x8;}
}
unless(defined(&SK_LINKLED_BLINK_OFF)) {
    sub SK_LINKLED_BLINK_OFF () {	0x10;}
}
unless(defined(&SK_LINKLED_BLINK_ON)) {
    sub SK_LINKLED_BLINK_ON () {	0x20;}
}
unless(defined(&SK_TXF1_END)) {
    sub SK_TXF1_END () {	0xd00;}
}
unless(defined(&SK_TXF1_WPTR)) {
    sub SK_TXF1_WPTR () {	0xd04;}
}
unless(defined(&SK_TXF1_RPTR)) {
    sub SK_TXF1_RPTR () {	0xd0c;}
}
unless(defined(&SK_TXF1_PKTCNT)) {
    sub SK_TXF1_PKTCNT () {	0xd10;}
}
unless(defined(&SK_TXF1_LVL)) {
    sub SK_TXF1_LVL () {	0xd14;}
}
unless(defined(&SK_TXF1_MACCTL)) {
    sub SK_TXF1_MACCTL () {	0xd18;}
}
unless(defined(&SK_TXF1_CTL)) {
    sub SK_TXF1_CTL () {	0xd1c;}
}
unless(defined(&SK_TXLED1_CNTINIT)) {
    sub SK_TXLED1_CNTINIT () {	0xd20;}
}
unless(defined(&SK_TXLED1_COUNTER)) {
    sub SK_TXLED1_COUNTER () {	0xd24;}
}
unless(defined(&SK_TXLED1_CTL)) {
    sub SK_TXLED1_CTL () {	0xd28;}
}
unless(defined(&SK_TXLED1_TST)) {
    sub SK_TXLED1_TST () {	0xd29;}
}
unless(defined(&SK_TXF2_END)) {
    sub SK_TXF2_END () {	0xd80;}
}
unless(defined(&SK_TXF2_WPTR)) {
    sub SK_TXF2_WPTR () {	0xd84;}
}
unless(defined(&SK_TXF2_RPTR)) {
    sub SK_TXF2_RPTR () {	0xd8c;}
}
unless(defined(&SK_TXF2_PKTCNT)) {
    sub SK_TXF2_PKTCNT () {	0xd90;}
}
unless(defined(&SK_TXF2_LVL)) {
    sub SK_TXF2_LVL () {	0xd94;}
}
unless(defined(&SK_TXF2_MACCTL)) {
    sub SK_TXF2_MACCTL () {	0xd98;}
}
unless(defined(&SK_TXF2_CTL)) {
    sub SK_TXF2_CTL () {	0xd9c;}
}
unless(defined(&SK_TXLED2_CNTINIT)) {
    sub SK_TXLED2_CNTINIT () {	0xda0;}
}
unless(defined(&SK_TXLED2_COUNTER)) {
    sub SK_TXLED2_COUNTER () {	0xda4;}
}
unless(defined(&SK_TXLED2_CTL)) {
    sub SK_TXLED2_CTL () {	0xda8;}
}
unless(defined(&SK_TXLED2_TST)) {
    sub SK_TXLED2_TST () {	0xda9;}
}
unless(defined(&SK_TXMACCTL_XMAC_RESET)) {
    sub SK_TXMACCTL_XMAC_RESET () {	0x1;}
}
unless(defined(&SK_TXMACCTL_XMAC_UNRESET)) {
    sub SK_TXMACCTL_XMAC_UNRESET () {	0x2;}
}
unless(defined(&SK_TXMACCTL_LOOP_OFF)) {
    sub SK_TXMACCTL_LOOP_OFF () {	0x4;}
}
unless(defined(&SK_TXMACCTL_LOOP_ON)) {
    sub SK_TXMACCTL_LOOP_ON () {	0x8;}
}
unless(defined(&SK_TXMACCTL_FLUSH_OFF)) {
    sub SK_TXMACCTL_FLUSH_OFF () {	0x10;}
}
unless(defined(&SK_TXMACCTL_FLUSH_ON)) {
    sub SK_TXMACCTL_FLUSH_ON () {	0x20;}
}
unless(defined(&SK_TXMACCTL_WAITEMPTY_OFF)) {
    sub SK_TXMACCTL_WAITEMPTY_OFF () {	0x40;}
}
unless(defined(&SK_TXMACCTL_WAITEMPTY_ON)) {
    sub SK_TXMACCTL_WAITEMPTY_ON () {	0x80;}
}
unless(defined(&SK_TXMACCTL_AFULL_OFF)) {
    sub SK_TXMACCTL_AFULL_OFF () {	0x100;}
}
unless(defined(&SK_TXMACCTL_AFULL_ON)) {
    sub SK_TXMACCTL_AFULL_ON () {	0x200;}
}
unless(defined(&SK_TXMACCTL_TXRDY_PATCH_OFF)) {
    sub SK_TXMACCTL_TXRDY_PATCH_OFF () {	0x400;}
}
unless(defined(&SK_TXMACCTL_RXRDY_PATCH_ON)) {
    sub SK_TXMACCTL_RXRDY_PATCH_ON () {	0x800;}
}
unless(defined(&SK_TXMACCTL_PKT_RECOVERY_OFF)) {
    sub SK_TXMACCTL_PKT_RECOVERY_OFF () {	0x1000;}
}
unless(defined(&SK_TXMACCTL_PKT_RECOVERY_ON)) {
    sub SK_TXMACCTL_PKT_RECOVERY_ON () {	0x2000;}
}
unless(defined(&SK_TXMACCTL_CLR_IRQ_PERR)) {
    sub SK_TXMACCTL_CLR_IRQ_PERR () {	0x8000;}
}
unless(defined(&SK_TXMACCTL_WAITAFTERFLUSH)) {
    sub SK_TXMACCTL_WAITAFTERFLUSH () {	0x10000;}
}
unless(defined(&SK_TXLEDCTL_ENABLE)) {
    sub SK_TXLEDCTL_ENABLE () {	0x1;}
}
unless(defined(&SK_TXLEDCTL_COUNTER_STOP)) {
    sub SK_TXLEDCTL_COUNTER_STOP () {	0x2;}
}
unless(defined(&SK_TXLEDCTL_COUNTER_START)) {
    sub SK_TXLEDCTL_COUNTER_START () {	0x4;}
}
unless(defined(&SK_FIFO_RESET)) {
    sub SK_FIFO_RESET () {	0x1;}
}
unless(defined(&SK_FIFO_UNRESET)) {
    sub SK_FIFO_UNRESET () {	0x2;}
}
unless(defined(&SK_FIFO_OFF)) {
    sub SK_FIFO_OFF () {	0x4;}
}
unless(defined(&SK_FIFO_ON)) {
    sub SK_FIFO_ON () {	0x8;}
}
unless(defined(&SK_XMAC1_BASE)) {
    sub SK_XMAC1_BASE () {	0x2000;}
}
unless(defined(&SK_XMAC1_END)) {
    sub SK_XMAC1_END () {	0x23ff;}
}
unless(defined(&SK_XMAC2_BASE)) {
    sub SK_XMAC2_BASE () {	0x3000;}
}
unless(defined(&SK_XMAC2_END)) {
    sub SK_XMAC2_END () {	0x33ff;}
}
unless(defined(&SK_XMAC_REG)) {
    sub SK_XMAC_REG {
	local($reg, $mac) = @_;
	eval q(((($reg) * 2) +  &SK_XMAC1_BASE + ($mac * ( &SK_XMAC2_BASE -  &SK_XMAC1_BASE))));
    }
}
unless(defined(&SK_XM_READ_4)) {
    sub SK_XM_READ_4 {
	local($sc, $reg) = @_;
	eval q(( &sk_win_read_2( ($sc->{sk_softc}),  &SK_XMAC_REG($reg,  ($sc->{sk_port}))) & 0xffff) | (( &sk_win_read_2( ($sc->{sk_softc}),  &SK_XMAC_REG($reg + 2,  ($sc->{sk_port}))) << 16) & 0xffff0000));
    }
}
unless(defined(&SK_XM_WRITE_4)) {
    sub SK_XM_WRITE_4 {
	local($sc, $reg, $val) = @_;
	eval q( &sk_win_write_2( ($sc->{sk_softc}),  &SK_XMAC_REG($reg,  ($sc->{sk_port})), (($val) & 0xffff));  &sk_win_write_2( ($sc->{sk_softc}),  &SK_XMAC_REG($reg + 2,  ($sc->{sk_port})), (($val) >> 16) & 0xffff););
    }
}
unless(defined(&SK_XM_READ_2)) {
    sub SK_XM_READ_2 {
	local($sc, $reg) = @_;
	eval q( &sk_win_read_2( ($sc->{sk_softc}),  &SK_XMAC_REG($reg,  ($sc->{sk_port}))));
    }
}
unless(defined(&SK_XM_WRITE_2)) {
    sub SK_XM_WRITE_2 {
	local($sc, $reg, $val) = @_;
	eval q( &sk_win_write_2( ($sc->{sk_softc}),  &SK_XMAC_REG($reg,  ($sc->{sk_port})), $val));
    }
}
unless(defined(&SK_XM_SETBIT_4)) {
    sub SK_XM_SETBIT_4 {
	local($sc, $reg, $x) = @_;
	eval q( &SK_XM_WRITE_4($sc, $reg, ( &SK_XM_READ_4($sc, $reg)) | ($x)));
    }
}
unless(defined(&SK_XM_CLRBIT_4)) {
    sub SK_XM_CLRBIT_4 {
	local($sc, $reg, $x) = @_;
	eval q( &SK_XM_WRITE_4($sc, $reg, ( &SK_XM_READ_4($sc, $reg)) & ~($x)));
    }
}
unless(defined(&SK_XM_SETBIT_2)) {
    sub SK_XM_SETBIT_2 {
	local($sc, $reg, $x) = @_;
	eval q( &SK_XM_WRITE_2($sc, $reg, ( &SK_XM_READ_2($sc, $reg)) | ($x)));
    }
}
unless(defined(&SK_XM_CLRBIT_2)) {
    sub SK_XM_CLRBIT_2 {
	local($sc, $reg, $x) = @_;
	eval q( &SK_XM_WRITE_2($sc, $reg, ( &SK_XM_READ_2($sc, $reg)) & ~($x)));
    }
}
unless(defined(&SK_XM_TX_FIFOTHRESH)) {
    sub SK_XM_TX_FIFOTHRESH () {	512;}
}
unless(defined(&SK_PCI_VENDOR_ID)) {
    sub SK_PCI_VENDOR_ID () {	0x;}
}
unless(defined(&SK_PCI_DEVICE_ID)) {
    sub SK_PCI_DEVICE_ID () {	0x2;}
}
unless(defined(&SK_PCI_COMMAND)) {
    sub SK_PCI_COMMAND () {	0x4;}
}
unless(defined(&SK_PCI_STATUS)) {
    sub SK_PCI_STATUS () {	0x6;}
}
unless(defined(&SK_PCI_REVID)) {
    sub SK_PCI_REVID () {	0x8;}
}
unless(defined(&SK_PCI_CLASSCODE)) {
    sub SK_PCI_CLASSCODE () {	0x9;}
}
unless(defined(&SK_PCI_CACHELEN)) {
    sub SK_PCI_CACHELEN () {	0xc;}
}
unless(defined(&SK_PCI_LATENCY_TIMER)) {
    sub SK_PCI_LATENCY_TIMER () {	0xd;}
}
unless(defined(&SK_PCI_HEADER_TYPE)) {
    sub SK_PCI_HEADER_TYPE () {	0xe;}
}
unless(defined(&SK_PCI_LOMEM)) {
    sub SK_PCI_LOMEM () {	0x10;}
}
unless(defined(&SK_PCI_LOIO)) {
    sub SK_PCI_LOIO () {	0x14;}
}
unless(defined(&SK_PCI_SUBVEN_ID)) {
    sub SK_PCI_SUBVEN_ID () {	0x2c;}
}
unless(defined(&SK_PCI_SYBSYS_ID)) {
    sub SK_PCI_SYBSYS_ID () {	0x2e;}
}
unless(defined(&SK_PCI_BIOSROM)) {
    sub SK_PCI_BIOSROM () {	0x30;}
}
unless(defined(&SK_PCI_INTLINE)) {
    sub SK_PCI_INTLINE () {	0x3c;}
}
unless(defined(&SK_PCI_INTPIN)) {
    sub SK_PCI_INTPIN () {	0x3d;}
}
unless(defined(&SK_PCI_MINGNT)) {
    sub SK_PCI_MINGNT () {	0x3e;}
}
unless(defined(&SK_PCI_MINLAT)) {
    sub SK_PCI_MINLAT () {	0x3f;}
}
unless(defined(&SK_PCI_OURREG1)) {
    sub SK_PCI_OURREG1 () {	0x40;}
}
unless(defined(&SK_PCI_OURREG2)) {
    sub SK_PCI_OURREG2 () {	0x44;}
}
unless(defined(&SK_PCI_CAPID)) {
    sub SK_PCI_CAPID () {	0x48;}
}
unless(defined(&SK_PCI_NEXTPTR)) {
    sub SK_PCI_NEXTPTR () {	0x49;}
}
unless(defined(&SK_PCI_PWRMGMTCAP)) {
    sub SK_PCI_PWRMGMTCAP () {	0x4a;}
}
unless(defined(&SK_PCI_PWRMGMTCTRL)) {
    sub SK_PCI_PWRMGMTCTRL () {	0x4c;}
}
unless(defined(&SK_PCI_PME_EVENT)) {
    sub SK_PCI_PME_EVENT () {	0x4f;}
}
unless(defined(&SK_PCI_VPD_CAPID)) {
    sub SK_PCI_VPD_CAPID () {	0x50;}
}
unless(defined(&SK_PCI_VPD_NEXTPTR)) {
    sub SK_PCI_VPD_NEXTPTR () {	0x51;}
}
unless(defined(&SK_PCI_VPD_ADDR)) {
    sub SK_PCI_VPD_ADDR () {	0x52;}
}
unless(defined(&SK_PCI_VPD_DATA)) {
    sub SK_PCI_VPD_DATA () {	0x54;}
}
unless(defined(&SK_PSTATE_MASK)) {
    sub SK_PSTATE_MASK () {	0x3;}
}
unless(defined(&SK_PSTATE_D0)) {
    sub SK_PSTATE_D0 () {	0x;}
}
unless(defined(&SK_PSTATE_D1)) {
    sub SK_PSTATE_D1 () {	0x1;}
}
unless(defined(&SK_PSTATE_D2)) {
    sub SK_PSTATE_D2 () {	0x2;}
}
unless(defined(&SK_PSTATE_D3)) {
    sub SK_PSTATE_D3 () {	0x3;}
}
unless(defined(&SK_PME_EN)) {
    sub SK_PME_EN () {	0x10;}
}
unless(defined(&SK_PME_STATUS)) {
    sub SK_PME_STATUS () {	0x8000;}
}
unless(defined(&SK_VPD_FLAG)) {
    sub SK_VPD_FLAG () {	0x8000;}
}
unless(defined(&VPD_RES_ID)) {
    sub VPD_RES_ID () {	0x82;}
}
unless(defined(&VPD_RES_READ)) {
    sub VPD_RES_READ () {	0x90;}
}
unless(defined(&VPD_RES_WRITE)) {
    sub VPD_RES_WRITE () {	0x81;}
}
unless(defined(&VPD_RES_END)) {
    sub VPD_RES_END () {	0x78;}
}
unless(defined(&CSR_WRITE_4)) {
    sub CSR_WRITE_4 {
	local($sc, $reg, $val) = @_;
	eval q( &bus_space_write_4( ($sc->{sk_btag}),  ($sc->{sk_bhandle}), $reg, $val));
    }
}
unless(defined(&CSR_WRITE_2)) {
    sub CSR_WRITE_2 {
	local($sc, $reg, $val) = @_;
	eval q( &bus_space_write_2( ($sc->{sk_btag}),  ($sc->{sk_bhandle}), $reg, $val));
    }
}
unless(defined(&CSR_WRITE_1)) {
    sub CSR_WRITE_1 {
	local($sc, $reg, $val) = @_;
	eval q( &bus_space_write_1( ($sc->{sk_btag}),  ($sc->{sk_bhandle}), $reg, $val));
    }
}
unless(defined(&CSR_READ_4)) {
    sub CSR_READ_4 {
	local($sc, $reg) = @_;
	eval q( &bus_space_read_4( ($sc->{sk_btag}),  ($sc->{sk_bhandle}), $reg));
    }
}
unless(defined(&CSR_READ_2)) {
    sub CSR_READ_2 {
	local($sc, $reg) = @_;
	eval q( &bus_space_read_2( ($sc->{sk_btag}),  ($sc->{sk_bhandle}), $reg));
    }
}
unless(defined(&CSR_READ_1)) {
    sub CSR_READ_1 {
	local($sc, $reg) = @_;
	eval q( &bus_space_read_1( ($sc->{sk_btag}),  ($sc->{sk_bhandle}), $reg));
    }
}
unless(defined(&SK_OPCODE_DEFAULT)) {
    sub SK_OPCODE_DEFAULT () {	0x550000;}
}
unless(defined(&SK_OPCODE_CSUM)) {
    sub SK_OPCODE_CSUM () {	0x560000;}
}
unless(defined(&SK_RXCTL_LEN)) {
    sub SK_RXCTL_LEN () {	0xffff;}
}
unless(defined(&SK_RXCTL_OPCODE)) {
    sub SK_RXCTL_OPCODE () {	0xff0000;}
}
unless(defined(&SK_RXCTL_TSTAMP_VALID)) {
    sub SK_RXCTL_TSTAMP_VALID () {	0x1000000;}
}
unless(defined(&SK_RXCTL_STATUS_VALID)) {
    sub SK_RXCTL_STATUS_VALID () {	0x2000000;}
}
unless(defined(&SK_RXCTL_DEV0)) {
    sub SK_RXCTL_DEV0 () {	0x4000000;}
}
unless(defined(&SK_RXCTL_EOF_INTR)) {
    sub SK_RXCTL_EOF_INTR () {	0x8000000;}
}
unless(defined(&SK_RXCTL_EOB_INTR)) {
    sub SK_RXCTL_EOB_INTR () {	0x10000000;}
}
unless(defined(&SK_RXCTL_LASTFRAG)) {
    sub SK_RXCTL_LASTFRAG () {	0x20000000;}
}
unless(defined(&SK_RXCTL_FIRSTFRAG)) {
    sub SK_RXCTL_FIRSTFRAG () {	0x40000000;}
}
unless(defined(&SK_RXCTL_OWN)) {
    sub SK_RXCTL_OWN () {	0x80000000;}
}
unless(defined(&SK_RXSTAT)) {
    sub SK_RXSTAT () {	( &SK_OPCODE_DEFAULT| &SK_RXCTL_EOF_INTR| &SK_RXCTL_LASTFRAG|  &SK_RXCTL_FIRSTFRAG| &SK_RXCTL_OWN);}
}
unless(defined(&SK_TXCTL_LEN)) {
    sub SK_TXCTL_LEN () {	0xffff;}
}
unless(defined(&SK_TXCTL_OPCODE)) {
    sub SK_TXCTL_OPCODE () {	0xff0000;}
}
unless(defined(&SK_TXCTL_SW)) {
    sub SK_TXCTL_SW () {	0x1000000;}
}
unless(defined(&SK_TXCTL_NOCRC)) {
    sub SK_TXCTL_NOCRC () {	0x2000000;}
}
unless(defined(&SK_TXCTL_STORENFWD)) {
    sub SK_TXCTL_STORENFWD () {	0x4000000;}
}
unless(defined(&SK_TXCTL_EOF_INTR)) {
    sub SK_TXCTL_EOF_INTR () {	0x8000000;}
}
unless(defined(&SK_TXCTL_EOB_INTR)) {
    sub SK_TXCTL_EOB_INTR () {	0x10000000;}
}
unless(defined(&SK_TXCTL_LASTFRAG)) {
    sub SK_TXCTL_LASTFRAG () {	0x20000000;}
}
unless(defined(&SK_TXCTL_FIRSTFRAG)) {
    sub SK_TXCTL_FIRSTFRAG () {	0x40000000;}
}
unless(defined(&SK_TXCTL_OWN)) {
    sub SK_TXCTL_OWN () {	0x80000000;}
}
unless(defined(&SK_TXSTAT)) {
    sub SK_TXSTAT () {	( &SK_OPCODE_DEFAULT| &SK_TXCTL_EOF_INTR| &SK_TXCTL_LASTFRAG| &SK_TXCTL_OWN);}
}
unless(defined(&SK_RXBYTES)) {
    sub SK_RXBYTES {
	local($x) = @_;
	eval q(($x) & 0xffff;);
    }
}
unless(defined(&SK_TXBYTES)) {
    sub SK_TXBYTES () {	 &SK_RXBYTES;}
}
unless(defined(&SK_TX_RING_CNT)) {
    sub SK_TX_RING_CNT () {	512;}
}
unless(defined(&SK_RX_RING_CNT)) {
    sub SK_RX_RING_CNT () {	256;}
}
unless(defined(&SK_JUMBO_FRAMELEN)) {
    sub SK_JUMBO_FRAMELEN () {	9018;}
}
unless(defined(&SK_JUMBO_MTU)) {
    sub SK_JUMBO_MTU () {	( &SK_JUMBO_FRAMELEN- &ETHER_HDR_LEN- &ETHER_CRC_LEN);}
}
unless(defined(&SK_JSLOTS)) {
    sub SK_JSLOTS () {	384;}
}
unless(defined(&SK_JRAWLEN)) {
    sub SK_JRAWLEN () {	( &SK_JUMBO_FRAMELEN +  &ETHER_ALIGN);}
}
unless(defined(&SK_JLEN)) {
    sub SK_JLEN () {	 &SK_JRAWLEN;}
}
unless(defined(&SK_MCLBYTES)) {
    sub SK_MCLBYTES () {	 &SK_JLEN;}
}
unless(defined(&SK_JPAGESZ)) {
    sub SK_JPAGESZ () {	 &PAGE_SIZE;}
}
unless(defined(&SK_RESID)) {
    sub SK_RESID () {	( &SK_JPAGESZ - ( &SK_JLEN *  &SK_JSLOTS) %  &SK_JPAGESZ);}
}
unless(defined(&SK_JMEM)) {
    sub SK_JMEM () {	(( &SK_JLEN *  &SK_JSLOTS) +  &SK_RESID);}
}
unless(defined(&SK_INC)) {
    sub SK_INC {
	local($x, $y) = @_;
	eval q(($x) = ($x + 1) % $y);
    }
}
unless(defined(&SK_MAXUNIT)) {
    sub SK_MAXUNIT () {	256;}
}
unless(defined(&SK_TIMEOUT)) {
    sub SK_TIMEOUT () {	1000;}
}
unless(defined(&ETHER_ALIGN)) {
    sub ETHER_ALIGN () {	2;}
}
if(defined(&__alpha__)) {
    undef(&vtophys) if defined(&vtophys);
    eval 'sub vtophys {
        local($va) = @_;
	    eval q( &alpha_XXX_dmamap($va));
    }' unless defined(&vtophys);
}
1;
