require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&L64854_REG_CSR)) {
    sub L64854_REG_CSR () {	0;}
}
unless(defined(&L64854_REG_ADDR)) {
    sub L64854_REG_ADDR () {	4;}
}
unless(defined(&L64854_REG_CNT)) {
    sub L64854_REG_CNT () {	8;}
}
unless(defined(&L64854_REG_CNT_MASK)) {
    sub L64854_REG_CNT_MASK () {	0xffffff;}
}
unless(defined(&L64854_REG_ENBAR)) {
    sub L64854_REG_ENBAR () {	12;}
}
unless(defined(&L64854_REG_TEST)) {
    sub L64854_REG_TEST () {	12;}
}
unless(defined(&L64854_REG_HCR)) {
    sub L64854_REG_HCR () {	16;}
}
unless(defined(&L64854_REG_OCR)) {
    sub L64854_REG_OCR () {	18;}
}
unless(defined(&L64854_REG_DR)) {
    sub L64854_REG_DR () {	20;}
}
unless(defined(&L64854_REG_TCR)) {
    sub L64854_REG_TCR () {	21;}
}
unless(defined(&L64854_REG_OR)) {
    sub L64854_REG_OR () {	22;}
}
unless(defined(&L64854_REG_IR)) {
    sub L64854_REG_IR () {	23;}
}
unless(defined(&L64854_REG_ICR)) {
    sub L64854_REG_ICR () {	24;}
}
unless(defined(&L64854_INT_PEND)) {
    sub L64854_INT_PEND () {	0x1;}
}
unless(defined(&L64854_ERR_PEND)) {
    sub L64854_ERR_PEND () {	0x2;}
}
unless(defined(&L64854_DRAINING)) {
    sub L64854_DRAINING () {	0xc;}
}
unless(defined(&L64854_INT_EN)) {
    sub L64854_INT_EN () {	0x10;}
}
unless(defined(&L64854_INVALIDATE)) {
    sub L64854_INVALIDATE () {	0x20;}
}
unless(defined(&L64854_SLAVE_ERR)) {
    sub L64854_SLAVE_ERR () {	0x40;}
}
unless(defined(&L64854_RESET)) {
    sub L64854_RESET () {	0x80;}
}
unless(defined(&L64854_WRITE)) {
    sub L64854_WRITE () {	0x100;}
}
unless(defined(&L64854_EN_DMA)) {
    sub L64854_EN_DMA () {	0x200;}
}
unless(defined(&L64854_BURST_SIZE)) {
    sub L64854_BURST_SIZE () {	0xc0000;}
}
unless(defined(&L64854_BURST_0)) {
    sub L64854_BURST_0 () {	0x80000;}
}
unless(defined(&L64854_BURST_16)) {
    sub L64854_BURST_16 () {	0x;}
}
unless(defined(&L64854_BURST_32)) {
    sub L64854_BURST_32 () {	0x40000;}
}
unless(defined(&L64854_BURST_64)) {
    sub L64854_BURST_64 () {	0xc0000;}
}
unless(defined(&L64854_RST_FAS366)) {
    sub L64854_RST_FAS366 () {	0x8000000;}
}
unless(defined(&L64854_DEVID)) {
    sub L64854_DEVID () {	0xf0000000;}
}
unless(defined(&D_INT_PEND)) {
    sub D_INT_PEND () {	 &L64854_INT_PEND;}
}
unless(defined(&D_ERR_PEND)) {
    sub D_ERR_PEND () {	 &L64854_ERR_PEND;}
}
unless(defined(&D_DRAINING)) {
    sub D_DRAINING () {	 &L64854_DRAINING;}
}
unless(defined(&D_INT_EN)) {
    sub D_INT_EN () {	 &L64854_INT_EN;}
}
unless(defined(&D_INVALIDATE)) {
    sub D_INVALIDATE () {	 &L64854_INVALIDATE;}
}
unless(defined(&D_SLAVE_ERR)) {
    sub D_SLAVE_ERR () {	 &L64854_SLAVE_ERR;}
}
unless(defined(&D_RESET)) {
    sub D_RESET () {	 &L64854_RESET;}
}
unless(defined(&D_WRITE)) {
    sub D_WRITE () {	 &L64854_WRITE;}
}
unless(defined(&D_EN_DMA)) {
    sub D_EN_DMA () {	 &L64854_EN_DMA;}
}
unless(defined(&D_EN_CNT)) {
    sub D_EN_CNT () {	0x2000;}
}
unless(defined(&D_TC)) {
    sub D_TC () {	0x4000;}
}
unless(defined(&D_WIDE_EN)) {
    sub D_WIDE_EN () {	0x8000;}
}
unless(defined(&D_DSBL_CSR_DRN)) {
    sub D_DSBL_CSR_DRN () {	0x10000;}
}
unless(defined(&D_DSBL_SCSI_DRN)) {
    sub D_DSBL_SCSI_DRN () {	0x20000;}
}
unless(defined(&D_DIAG)) {
    sub D_DIAG () {	0x100000;}
}
unless(defined(&D_TWO_CYCLE)) {
    sub D_TWO_CYCLE () {	0x200000;}
}
unless(defined(&D_FASTER)) {
    sub D_FASTER () {	0x400000;}
}
unless(defined(&D_TCI_DIS)) {
    sub D_TCI_DIS () {	0x800000;}
}
unless(defined(&D_EN_NEXT)) {
    sub D_EN_NEXT () {	0x1000000;}
}
unless(defined(&D_DMA_ON)) {
    sub D_DMA_ON () {	0x2000000;}
}
unless(defined(&D_DSBL_PARITY_CHK)) {
    sub D_DSBL_PARITY_CHK () {	0x2000000;}
}
unless(defined(&D_A_LOADED)) {
    sub D_A_LOADED () {	0x4000000;}
}
unless(defined(&D_NA_LOADED)) {
    sub D_NA_LOADED () {	0x8000000;}
}
unless(defined(&D_HW_RESET_FAS366)) {
    sub D_HW_RESET_FAS366 () {	0x8000000;}
}
unless(defined(&D_DEV_ID)) {
    sub D_DEV_ID () {	 &L64854_DEVID;}
}
unless(defined(&DMAREV_0)) {
    sub DMAREV_0 () {	0x;}
}
unless(defined(&DMAREV_ESC)) {
    sub DMAREV_ESC () {	0x40000000;}
}
unless(defined(&DMAREV_1)) {
    sub DMAREV_1 () {	0x80000000;}
}
unless(defined(&DMAREV_PLUS)) {
    sub DMAREV_PLUS () {	0x90000000;}
}
unless(defined(&DMAREV_2)) {
    sub DMAREV_2 () {	0xa0000000;}
}
unless(defined(&DMAREV_HME)) {
    sub DMAREV_HME () {	0xb0000000;}
}
unless(defined(&D_ESC_DRAIN)) {
    sub D_ESC_DRAIN () {	0x40;}
}
unless(defined(&D_ESC_R_PEND)) {
    sub D_ESC_R_PEND () {	0x400;}
}
unless(defined(&D_ESC_BURST)) {
    sub D_ESC_BURST () {	0x800;}
}
unless(defined(&D_ESC_AUTODRAIN)) {
    sub D_ESC_AUTODRAIN () {	0x40000;}
}
unless(defined(&DDMACSR_BITS)) {
    sub DDMACSR_BITS () {	"\020" "\01INT\02ERR\03DR1\04DR2\05IEN" "\07SLVERR\010RST\011WRITE\012ENDMA" "\016ENCNT\017TC\021DSBL_CSR_DRN" "\022DSBL_SCSI_DRN\026TWOCYCLE" "\027FASTER\030TCIDIS\031ENNXT\032DMAON" "\033ALOADED\034NALOADED";}
}
unless(defined(&E_INT_PEND)) {
    sub E_INT_PEND () {	 &L64854_INT_PEND;}
}
unless(defined(&E_ERR_PEND)) {
    sub E_ERR_PEND () {	 &L64854_ERR_PEND;}
}
unless(defined(&E_DRAINING)) {
    sub E_DRAINING () {	 &L64854_DRAINING;}
}
unless(defined(&E_INT_EN)) {
    sub E_INT_EN () {	 &L64854_INT_EN;}
}
unless(defined(&E_INVALIDATE)) {
    sub E_INVALIDATE () {	 &L64854_INVALIDATE;}
}
unless(defined(&E_SLAVE_ERR)) {
    sub E_SLAVE_ERR () {	 &L64854_SLAVE_ERR;}
}
unless(defined(&E_RESET)) {
    sub E_RESET () {	 &L64854_RESET;}
}
unless(defined(&E_reserved1)) {
    sub E_reserved1 () {	0x300;}
}
unless(defined(&E_DRAIN)) {
    sub E_DRAIN () {	0x400;}
}
unless(defined(&E_DSBL_WR_DRN)) {
    sub E_DSBL_WR_DRN () {	0x800;}
}
unless(defined(&E_DSBL_RD_DRN)) {
    sub E_DSBL_RD_DRN () {	0x1000;}
}
unless(defined(&E_reserved2)) {
    sub E_reserved2 () {	0x6000;}
}
unless(defined(&E_ILACC)) {
    sub E_ILACC () {	0x8000;}
}
unless(defined(&E_DSBL_BUF_WR)) {
    sub E_DSBL_BUF_WR () {	0x10000;}
}
unless(defined(&E_DSBL_WR_INVAL)) {
    sub E_DSBL_WR_INVAL () {	0x20000;}
}
unless(defined(&E_reserved3)) {
    sub E_reserved3 () {	0x100000;}
}
unless(defined(&E_LOOP_TEST)) {
    sub E_LOOP_TEST () {	0x200000;}
}
unless(defined(&E_TP_AUI)) {
    sub E_TP_AUI () {	0x400000;}
}
unless(defined(&E_reserved4)) {
    sub E_reserved4 () {	0xc800000;}
}
unless(defined(&E_DEV_ID)) {
    sub E_DEV_ID () {	 &L64854_DEVID;}
}
unless(defined(&EDMACSR_BITS)) {
    sub EDMACSR_BITS () {	"\020" "\01INT\02ERR\05IEN" "\07SLVERR\010RST\011WRITE\013DRAIN" "\014DSBL_WR_DRN\015DSBL_RD_DRN\020ILACC" "\021DSBL_BUF_WR\022DSBL_WR_INVAL" "\026LOOPTEST\027TP";}
}
unless(defined(&P_INT_PEND)) {
    sub P_INT_PEND () {	 &L64854_INT_PEND;}
}
unless(defined(&P_ERR_PEND)) {
    sub P_ERR_PEND () {	 &L64854_ERR_PEND;}
}
unless(defined(&P_DRAINING)) {
    sub P_DRAINING () {	 &L64854_DRAINING;}
}
unless(defined(&P_INT_EN)) {
    sub P_INT_EN () {	 &L64854_INT_EN;}
}
unless(defined(&P_INVALIDATE)) {
    sub P_INVALIDATE () {	 &L64854_INVALIDATE;}
}
unless(defined(&P_SLAVE_ERR)) {
    sub P_SLAVE_ERR () {	 &L64854_SLAVE_ERR;}
}
unless(defined(&P_RESET)) {
    sub P_RESET () {	 &L64854_RESET;}
}
unless(defined(&P_WRITE)) {
    sub P_WRITE () {	 &L64854_WRITE;}
}
unless(defined(&P_EN_DMA)) {
    sub P_EN_DMA () {	 &L64854_EN_DMA;}
}
unless(defined(&P_reserved1)) {
    sub P_reserved1 () {	0x1c00;}
}
unless(defined(&P_EN_CNT)) {
    sub P_EN_CNT () {	0x2000;}
}
unless(defined(&P_TC)) {
    sub P_TC () {	0x4000;}
}
unless(defined(&P_reserved2)) {
    sub P_reserved2 () {	0x38000;}
}
unless(defined(&P_DIAG)) {
    sub P_DIAG () {	0x100000;}
}
unless(defined(&P_reserved3)) {
    sub P_reserved3 () {	0x600000;}
}
unless(defined(&P_TCI_DIS)) {
    sub P_TCI_DIS () {	0x800000;}
}
unless(defined(&P_EN_NEXT)) {
    sub P_EN_NEXT () {	0x1000000;}
}
unless(defined(&P_DMA_ON)) {
    sub P_DMA_ON () {	0x2000000;}
}
unless(defined(&P_A_LOADED)) {
    sub P_A_LOADED () {	0x4000000;}
}
unless(defined(&P_NA_LOADED)) {
    sub P_NA_LOADED () {	0x8000000;}
}
unless(defined(&P_DEV_ID)) {
    sub P_DEV_ID () {	 &L64854_DEVID;}
}
unless(defined(&PDMACSR_BITS)) {
    sub PDMACSR_BITS () {	"\020" "\01INT\02ERR\05IEN" "\07SLVERR\010RST\011WRITE\012ENDMA" "\016ENCNT\017TC\025DIAG\030TCIDIS" "\031ENNXT\032DMAON\033ALOADED\034NALOADED";}
}
1;
