taglinefilesource code
SETPORT396drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1|SPIOEN );
SETPORT398drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1 );
SETPORT430drivers/scsi/aha152x.cSETPORT( SSTAT1, SCSIRSTI );
SETPORT435drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSCSIPERR );
SETPORT479drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT481drivers/scsi/aha152x.cSETPORT( STACK, i );
SETPORT483drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT652drivers/scsi/aha152x.cSETPORT( SCSIID, this_host << 4 );
SETPORT672drivers/scsi/aha152x.cSETPORT(SIMODE0, 0);
SETPORT673drivers/scsi/aha152x.cSETPORT(SIMODE1, 0);
SETPORT756drivers/scsi/aha152x.cSETPORT( PORTA, 1 );
SETPORT766drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT767drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT848drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT851drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT852drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT879drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT881drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT883drivers/scsi/aha152x.cSETPORT(SXFRCTL1, 0);
SETPORT884drivers/scsi/aha152x.cSETPORT( SCSISIG, 0);
SETPORT885drivers/scsi/aha152x.cSETPORT(SCSIRATE, 0);
SETPORT888drivers/scsi/aha152x.cSETPORT(SSTAT0, 0x7f);
SETPORT889drivers/scsi/aha152x.cSETPORT(SSTAT1, 0xef);
SETPORT891drivers/scsi/aha152x.cSETPORT(SSTAT4, SYNCERR|FWERR|FRERR);
SETPORT893drivers/scsi/aha152x.cSETPORT(DMACNTRL0, 0);
SETPORT894drivers/scsi/aha152x.cSETPORT(DMACNTRL1, 0);
SETPORT896drivers/scsi/aha152x.cSETPORT(BRSTCNTRL, 0xf1);
SETPORT899drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT);
SETPORT900drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1);
SETPORT903drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT904drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT946drivers/scsi/aha152x.cSETPORT(SCSISEQ, SCSIRSTO);
SETPORT948drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT951drivers/scsi/aha152x.cSETPORT(SIMODE0, 0 );
SETPORT952drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT954drivers/scsi/aha152x.cSETPORT( DMACNTRL0, INTEN );
SETPORT1021drivers/scsi/aha152x.cSETPORT( PORTA, 0 );                                  /* turn led off */
SETPORT1028drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1029drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1105drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1106drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDI );
SETPORT1107drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE );
SETPORT1124drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | target );
SETPORT1125drivers/scsi/aha152x.cSETPORT( SCSISEQ, ENRESELI );
SETPORT1130drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGI );
SETPORT1138drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1140drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1175drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1176drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS );
SETPORT1205drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT1208drivers/scsi/aha152x.cSETPORT( SXFRCTL1, ENSPCHK|ENSTIMER);
SETPORT1211drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT1212drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT1243drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE);
SETPORT1275drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDO );
SETPORT1289drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGO );
SETPORT1291drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1292drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT );
SETPORT1307drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSELTIMO );
SETPORT1309drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1310drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1338drivers/scsi/aha152x.cSETPORT(SCSISIG, phase);
SETPORT1339drivers/scsi/aha152x.cSETPORT(SSTAT1, CLRPHASECHG);
SETPORT1383drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1384drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENREQINIT );
SETPORT1394drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRATNO);
SETPORT1396drivers/scsi/aha152x.cSETPORT( SCSIDAT, message );
SETPORT1434drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT1435drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT1438drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT1439drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT1442drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1443drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS );
SETPORT1496drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1498drivers/scsi/aha152x.cSETPORT( SIMODE0, 0);
SETPORT1499drivers/scsi/aha152x.cSETPORT( SIMODE1, ENBUSFREE);
SETPORT1568drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1574drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1585drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1594drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1615drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1631drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1);
SETPORT1645drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1646drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1657drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1659drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1660drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT );
SETPORT1689drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT1690drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO|ENDMA);
SETPORT1692drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN );
SETPORT1694drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1695drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1845drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT1846drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT1848drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT1849drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT1851drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1852drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS );
SETPORT1877drivers/scsi/aha152x.cSETPORT(DATAPORT, *current_SC->SCp.ptr++);
SETPORT1931drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT2007drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT2008drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT2009drivers/scsi/aha152x.cSETPORT( SCSISEQ, disconnected_SC ? ENRESELI : 0 );
SETPORT2027drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT2028drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS );
SETPORT150drivers/scsi/aha152x.h#define SETSTCNT(X)  { SETPORT(STCNT2, ((X) & 0xFF0000) >> 16); \
SETPORT151drivers/scsi/aha152x.hSETPORT(STCNT1, ((X) & 0x00FF00) >>  8); \
SETPORT152drivers/scsi/aha152x.hSETPORT(STCNT0, ((X) & 0x0000FF) ); }