require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&SCSISEQ)) {
    sub SCSISEQ () {	0x;}
}
unless(defined(&SXFRCTL0)) {
    sub SXFRCTL0 () {	0x1;}
}
unless(defined(&SXFRCTL1)) {
    sub SXFRCTL1 () {	0x2;}
}
unless(defined(&SCSISIG)) {
    sub SCSISIG () {	0x3;}
}
unless(defined(&SCSIRATE)) {
    sub SCSIRATE () {	0x4;}
}
unless(defined(&SCSIID)) {
    sub SCSIID () {	0x5;}
}
unless(defined(&SELID)) {
    sub SELID () {	0x5;}
}
unless(defined(&SCSIDAT)) {
    sub SCSIDAT () {	0x6;}
}
unless(defined(&SCSIBUS)) {
    sub SCSIBUS () {	0x7;}
}
unless(defined(&STCNT0)) {
    sub STCNT0 () {	0x8;}
}
unless(defined(&STCNT1)) {
    sub STCNT1 () {	0x9;}
}
unless(defined(&STCNT2)) {
    sub STCNT2 () {	0xa;}
}
unless(defined(&CLRSINT0)) {
    sub CLRSINT0 () {	0xb;}
}
unless(defined(&SSTAT0)) {
    sub SSTAT0 () {	0xb;}
}
unless(defined(&CLRSINT1)) {
    sub CLRSINT1 () {	0xc;}
}
unless(defined(&SSTAT1)) {
    sub SSTAT1 () {	0xc;}
}
unless(defined(&SSTAT2)) {
    sub SSTAT2 () {	0xd;}
}
unless(defined(&SCSITEST)) {
    sub SCSITEST () {	0xe;}
}
unless(defined(&SSTAT3)) {
    sub SSTAT3 () {	0xe;}
}
unless(defined(&CLRSERR)) {
    sub CLRSERR () {	0xf;}
}
unless(defined(&SSTAT4)) {
    sub SSTAT4 () {	0xf;}
}
unless(defined(&SIMODE0)) {
    sub SIMODE0 () {	0x10;}
}
unless(defined(&SIMODE1)) {
    sub SIMODE1 () {	0x11;}
}
unless(defined(&DMACNTRL0)) {
    sub DMACNTRL0 () {	0x12;}
}
unless(defined(&DMACNTRL1)) {
    sub DMACNTRL1 () {	0x13;}
}
unless(defined(&DMASTAT)) {
    sub DMASTAT () {	0x14;}
}
unless(defined(&FIFOSTAT)) {
    sub FIFOSTAT () {	0x15;}
}
unless(defined(&DMADATA)) {
    sub DMADATA () {	0x16;}
}
unless(defined(&DMADATAL)) {
    sub DMADATAL () {	0x16;}
}
unless(defined(&DMADATAH)) {
    sub DMADATAH () {	0x17;}
}
unless(defined(&BRSTCNTRL)) {
    sub BRSTCNTRL () {	0x18;}
}
unless(defined(&DMADATALONG)) {
    sub DMADATALONG () {	0x18;}
}
unless(defined(&PORTA)) {
    sub PORTA () {	0x1a;}
}
unless(defined(&PORTB)) {
    sub PORTB () {	0x1b;}
}
unless(defined(&REV)) {
    sub REV () {	0x1c;}
}
unless(defined(&STACK)) {
    sub STACK () {	0x1d;}
}
unless(defined(&TEST)) {
    sub TEST () {	0x1e;}
}
unless(defined(&ID)) {
    sub ID () {	0x1f;}
}
unless(defined(&IDSTRING)) {
    sub IDSTRING () {	"(C)1991ADAPTECAIC6360	   ";}
}
unless(defined(&TEMODEO)) {
    sub TEMODEO () {	0x80;}
}
unless(defined(&ENSELO)) {
    sub ENSELO () {	0x40;}
}
unless(defined(&ENSELI)) {
    sub ENSELI () {	0x20;}
}
unless(defined(&ENRESELI)) {
    sub ENRESELI () {	0x10;}
}
unless(defined(&ENAUTOATNO)) {
    sub ENAUTOATNO () {	0x8;}
}
unless(defined(&ENAUTOATNI)) {
    sub ENAUTOATNI () {	0x4;}
}
unless(defined(&ENAUTOATNP)) {
    sub ENAUTOATNP () {	0x2;}
}
unless(defined(&SCSIRSTO)) {
    sub SCSIRSTO () {	0x1;}
}
unless(defined(&SCSIEN)) {
    sub SCSIEN () {	0x80;}
}
unless(defined(&DMAEN)) {
    sub DMAEN () {	0x40;}
}
unless(defined(&CHEN)) {
    sub CHEN () {	0x20;}
}
unless(defined(&CLRSTCNT)) {
    sub CLRSTCNT () {	0x10;}
}
unless(defined(&SPIOEN)) {
    sub SPIOEN () {	0x8;}
}
unless(defined(&CLRCH)) {
    sub CLRCH () {	0x2;}
}
unless(defined(&BITBUCKET)) {
    sub BITBUCKET () {	0x80;}
}
unless(defined(&SWRAPEN)) {
    sub SWRAPEN () {	0x40;}
}
unless(defined(&ENSPCHK)) {
    sub ENSPCHK () {	0x20;}
}
unless(defined(&STIMESEL1)) {
    sub STIMESEL1 () {	0x10;}
}
unless(defined(&STIMESEL0)) {
    sub STIMESEL0 () {	0x8;}
}
unless(defined(&STIMO_256ms)) {
    sub STIMO_256ms () {	0x;}
}
unless(defined(&STIMO_128ms)) {
    sub STIMO_128ms () {	0x8;}
}
unless(defined(&STIMO_64ms)) {
    sub STIMO_64ms () {	0x10;}
}
unless(defined(&STIMO_32ms)) {
    sub STIMO_32ms () {	0x18;}
}
unless(defined(&ENSTIMER)) {
    sub ENSTIMER () {	0x4;}
}
unless(defined(&BYTEALIGN)) {
    sub BYTEALIGN () {	0x2;}
}
unless(defined(&CDI)) {
    sub CDI () {	0x80;}
}
unless(defined(&IOI)) {
    sub IOI () {	0x40;}
}
unless(defined(&MSGI)) {
    sub MSGI () {	0x20;}
}
unless(defined(&ATNI)) {
    sub ATNI () {	0x10;}
}
unless(defined(&SELI)) {
    sub SELI () {	0x8;}
}
unless(defined(&BSYI)) {
    sub BSYI () {	0x4;}
}
unless(defined(&REQI)) {
    sub REQI () {	0x2;}
}
unless(defined(&ACKI)) {
    sub ACKI () {	0x1;}
}
unless(defined(&CDO)) {
    sub CDO () {	0x80;}
}
unless(defined(&IOO)) {
    sub IOO () {	0x40;}
}
unless(defined(&MSGO)) {
    sub MSGO () {	0x20;}
}
unless(defined(&ATNO)) {
    sub ATNO () {	0x10;}
}
unless(defined(&SELO)) {
    sub SELO () {	0x8;}
}
unless(defined(&BSYO)) {
    sub BSYO () {	0x4;}
}
unless(defined(&REQO)) {
    sub REQO () {	0x2;}
}
unless(defined(&ACKO)) {
    sub ACKO () {	0x1;}
}
unless(defined(&PH_DATAOUT)) {
    sub PH_DATAOUT () {	(0);}
}
unless(defined(&PH_DATAIN)) {
    sub PH_DATAIN () {	( &IOI);}
}
unless(defined(&PH_CMD)) {
    sub PH_CMD () {	( &CDI);}
}
unless(defined(&PH_STAT)) {
    sub PH_STAT () {	( &CDI |  &IOI);}
}
unless(defined(&PH_MSGOUT)) {
    sub PH_MSGOUT () {	( &MSGI |  &CDI);}
}
unless(defined(&PH_MSGIN)) {
    sub PH_MSGIN () {	( &MSGI |  &CDI |  &IOI);}
}
unless(defined(&PH_MASK)) {
    sub PH_MASK () {	( &MSGI |  &CDI |  &IOI);}
}
unless(defined(&PH_INVALID)) {
    sub PH_INVALID () {	0xff;}
}
unless(defined(&SXFR2)) {
    sub SXFR2 () {	0x40;}
}
unless(defined(&SXFR1)) {
    sub SXFR1 () {	0x20;}
}
unless(defined(&SXFR0)) {
    sub SXFR0 () {	0x10;}
}
unless(defined(&SOFS3)) {
    sub SOFS3 () {	0x8;}
}
unless(defined(&SOFS2)) {
    sub SOFS2 () {	0x4;}
}
unless(defined(&SOFS1)) {
    sub SOFS1 () {	0x2;}
}
unless(defined(&SOFS0)) {
    sub SOFS0 () {	0x1;}
}
unless(defined(&OID2)) {
    sub OID2 () {	0x40;}
}
unless(defined(&OID1)) {
    sub OID1 () {	0x20;}
}
unless(defined(&OID0)) {
    sub OID0 () {	0x10;}
}
unless(defined(&OID_S)) {
    sub OID_S () {	4;}
}
unless(defined(&TID2)) {
    sub TID2 () {	0x4;}
}
unless(defined(&TID1)) {
    sub TID1 () {	0x2;}
}
unless(defined(&TID0)) {
    sub TID0 () {	0x1;}
}
unless(defined(&SCSI_ID_MASK)) {
    sub SCSI_ID_MASK () {	0x7;}
}
unless(defined(&SELID7)) {
    sub SELID7 () {	0x80;}
}
unless(defined(&SELID6)) {
    sub SELID6 () {	0x40;}
}
unless(defined(&SELID5)) {
    sub SELID5 () {	0x20;}
}
unless(defined(&SELID4)) {
    sub SELID4 () {	0x10;}
}
unless(defined(&SELID3)) {
    sub SELID3 () {	0x8;}
}
unless(defined(&SELID2)) {
    sub SELID2 () {	0x4;}
}
unless(defined(&SELID1)) {
    sub SELID1 () {	0x2;}
}
unless(defined(&SELID0)) {
    sub SELID0 () {	0x1;}
}
unless(defined(&SETSDONE)) {
    sub SETSDONE () {	0x80;}
}
unless(defined(&CLRSELDO)) {
    sub CLRSELDO () {	0x40;}
}
unless(defined(&CLRSELDI)) {
    sub CLRSELDI () {	0x20;}
}
unless(defined(&CLRSELINGO)) {
    sub CLRSELINGO () {	0x10;}
}
unless(defined(&CLRSWRAP)) {
    sub CLRSWRAP () {	0x8;}
}
unless(defined(&CLRSDONE)) {
    sub CLRSDONE () {	0x4;}
}
unless(defined(&CLRSPIORDY)) {
    sub CLRSPIORDY () {	0x2;}
}
unless(defined(&CLRDMADONE)) {
    sub CLRDMADONE () {	0x1;}
}
unless(defined(&TARGET)) {
    sub TARGET () {	0x80;}
}
unless(defined(&SELDO)) {
    sub SELDO () {	0x40;}
}
unless(defined(&SELDI)) {
    sub SELDI () {	0x20;}
}
unless(defined(&SELINGO)) {
    sub SELINGO () {	0x10;}
}
unless(defined(&SWRAP)) {
    sub SWRAP () {	0x8;}
}
unless(defined(&SDONE)) {
    sub SDONE () {	0x4;}
}
unless(defined(&SPIORDY)) {
    sub SPIORDY () {	0x2;}
}
unless(defined(&DMADONE)) {
    sub DMADONE () {	0x1;}
}
unless(defined(&CLRSELTIMO)) {
    sub CLRSELTIMO () {	0x80;}
}
unless(defined(&CLRATNO)) {
    sub CLRATNO () {	0x40;}
}
unless(defined(&CLRSCSIRSTI)) {
    sub CLRSCSIRSTI () {	0x20;}
}
unless(defined(&CLRBUSFREE)) {
    sub CLRBUSFREE () {	0x8;}
}
unless(defined(&CLRSCSIPERR)) {
    sub CLRSCSIPERR () {	0x4;}
}
unless(defined(&CLRPHASECHG)) {
    sub CLRPHASECHG () {	0x2;}
}
unless(defined(&CLRREQINIT)) {
    sub CLRREQINIT () {	0x1;}
}
unless(defined(&SELTO)) {
    sub SELTO () {	0x80;}
}
unless(defined(&ATNTARG)) {
    sub ATNTARG () {	0x40;}
}
unless(defined(&SCSIRSTI)) {
    sub SCSIRSTI () {	0x20;}
}
unless(defined(&PHASEMIS)) {
    sub PHASEMIS () {	0x10;}
}
unless(defined(&BUSFREE)) {
    sub BUSFREE () {	0x8;}
}
unless(defined(&SCSIPERR)) {
    sub SCSIPERR () {	0x4;}
}
unless(defined(&PHASECHG)) {
    sub PHASECHG () {	0x2;}
}
unless(defined(&REQINIT)) {
    sub REQINIT () {	0x1;}
}
unless(defined(&SOFFSET)) {
    sub SOFFSET () {	0x20;}
}
unless(defined(&SEMPTY)) {
    sub SEMPTY () {	0x10;}
}
unless(defined(&SFULL)) {
    sub SFULL () {	0x8;}
}
unless(defined(&SFCNT2)) {
    sub SFCNT2 () {	0x4;}
}
unless(defined(&SFCNT1)) {
    sub SFCNT1 () {	0x2;}
}
unless(defined(&SFCNT0)) {
    sub SFCNT0 () {	0x1;}
}
unless(defined(&SCTESTU)) {
    sub SCTESTU () {	0x8;}
}
unless(defined(&SCTESTD)) {
    sub SCTESTD () {	0x4;}
}
unless(defined(&STCTEST)) {
    sub STCTEST () {	0x1;}
}
unless(defined(&SCSICNT3)) {
    sub SCSICNT3 () {	0x80;}
}
unless(defined(&SCSICNT2)) {
    sub SCSICNT2 () {	0x40;}
}
unless(defined(&SCSICNT1)) {
    sub SCSICNT1 () {	0x20;}
}
unless(defined(&SCSICNT0)) {
    sub SCSICNT0 () {	0x10;}
}
unless(defined(&OFFCNT3)) {
    sub OFFCNT3 () {	0x8;}
}
unless(defined(&OFFCNT2)) {
    sub OFFCNT2 () {	0x4;}
}
unless(defined(&OFFCNT1)) {
    sub OFFCNT1 () {	0x2;}
}
unless(defined(&OFFCNT0)) {
    sub OFFCNT0 () {	0x1;}
}
unless(defined(&CLRSYNCERR)) {
    sub CLRSYNCERR () {	0x4;}
}
unless(defined(&CLRFWERR)) {
    sub CLRFWERR () {	0x2;}
}
unless(defined(&CLRFRERR)) {
    sub CLRFRERR () {	0x1;}
}
unless(defined(&SYNCERR)) {
    sub SYNCERR () {	0x4;}
}
unless(defined(&FWERR)) {
    sub FWERR () {	0x2;}
}
unless(defined(&FRERR)) {
    sub FRERR () {	0x1;}
}
unless(defined(&ENSELDO)) {
    sub ENSELDO () {	0x40;}
}
unless(defined(&ENSELDI)) {
    sub ENSELDI () {	0x20;}
}
unless(defined(&ENSELINGO)) {
    sub ENSELINGO () {	0x10;}
}
unless(defined(&ENSWRAP)) {
    sub ENSWRAP () {	0x8;}
}
unless(defined(&ENSDONE)) {
    sub ENSDONE () {	0x4;}
}
unless(defined(&ENSPIORDY)) {
    sub ENSPIORDY () {	0x2;}
}
unless(defined(&ENDMADONE)) {
    sub ENDMADONE () {	0x1;}
}
unless(defined(&ENSELTIMO)) {
    sub ENSELTIMO () {	0x80;}
}
unless(defined(&ENATNTARG)) {
    sub ENATNTARG () {	0x40;}
}
unless(defined(&ENSCSIRST)) {
    sub ENSCSIRST () {	0x20;}
}
unless(defined(&ENPHASEMIS)) {
    sub ENPHASEMIS () {	0x10;}
}
unless(defined(&ENBUSFREE)) {
    sub ENBUSFREE () {	0x8;}
}
unless(defined(&ENSCSIPERR)) {
    sub ENSCSIPERR () {	0x4;}
}
unless(defined(&ENPHASECHG)) {
    sub ENPHASECHG () {	0x2;}
}
unless(defined(&ENREQINIT)) {
    sub ENREQINIT () {	0x1;}
}
unless(defined(&ENDMA)) {
    sub ENDMA () {	0x80;}
}
unless(defined(&B8MODE)) {
    sub B8MODE () {	0x40;}
}
unless(defined(&DMA)) {
    sub DMA () {	0x20;}
}
unless(defined(&DWORDPIO)) {
    sub DWORDPIO () {	0x10;}
}
unless(defined(&WRITE)) {
    sub WRITE () {	0x8;}
}
unless(defined(&INTEN)) {
    sub INTEN () {	0x4;}
}
unless(defined(&RSTFIFO)) {
    sub RSTFIFO () {	0x2;}
}
unless(defined(&SWINT)) {
    sub SWINT () {	0x1;}
}
unless(defined(&PWRDWN)) {
    sub PWRDWN () {	0x80;}
}
unless(defined(&ENSTK32)) {
    sub ENSTK32 () {	0x40;}
}
unless(defined(&STK4)) {
    sub STK4 () {	0x10;}
}
unless(defined(&STK3)) {
    sub STK3 () {	0x8;}
}
unless(defined(&STK2)) {
    sub STK2 () {	0x4;}
}
unless(defined(&STK1)) {
    sub STK1 () {	0x2;}
}
unless(defined(&STK0)) {
    sub STK0 () {	0x1;}
}
unless(defined(&ATDONE)) {
    sub ATDONE () {	0x80;}
}
unless(defined(&WORDRDY)) {
    sub WORDRDY () {	0x40;}
}
unless(defined(&INTSTAT)) {
    sub INTSTAT () {	0x20;}
}
unless(defined(&DFIFOFULL)) {
    sub DFIFOFULL () {	0x10;}
}
unless(defined(&DFIFOEMP)) {
    sub DFIFOEMP () {	0x8;}
}
unless(defined(&DFIFOHF)) {
    sub DFIFOHF () {	0x4;}
}
unless(defined(&DWORDRDY)) {
    sub DWORDRDY () {	0x2;}
}
unless(defined(&BON3)) {
    sub BON3 () {	0x80;}
}
unless(defined(&BON2)) {
    sub BON2 () {	0x40;}
}
unless(defined(&BON1)) {
    sub BON1 () {	0x20;}
}
unless(defined(&BON0)) {
    sub BON0 () {	0x10;}
}
unless(defined(&BOFF3)) {
    sub BOFF3 () {	0x8;}
}
unless(defined(&BOFF2)) {
    sub BOFF2 () {	0x4;}
}
unless(defined(&BOFF1)) {
    sub BOFF1 () {	0x2;}
}
unless(defined(&BOFF0)) {
    sub BOFF0 () {	0x1;}
}
unless(defined(&BOFFTMR)) {
    sub BOFFTMR () {	0x40;}
}
unless(defined(&BONTMR)) {
    sub BONTMR () {	0x20;}
}
unless(defined(&STCNTH)) {
    sub STCNTH () {	0x10;}
}
unless(defined(&STCNTM)) {
    sub STCNTM () {	0x8;}
}
unless(defined(&STCNTL)) {
    sub STCNTL () {	0x4;}
}
unless(defined(&SCSIBLK)) {
    sub SCSIBLK () {	0x2;}
}
unless(defined(&DMABLK)) {
    sub DMABLK () {	0x1;}
}
1;
