taglinefilesource code
SETPORT407drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1|SPIOEN );
SETPORT409drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1 );
SETPORT441drivers/scsi/aha152x.cSETPORT( SSTAT1, SCSIRSTI );
SETPORT446drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSCSIPERR );
SETPORT490drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT492drivers/scsi/aha152x.cSETPORT( STACK, i );
SETPORT494drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT663drivers/scsi/aha152x.cSETPORT( SCSIID, this_host << 4 );
SETPORT683drivers/scsi/aha152x.cSETPORT(SIMODE0, 0);
SETPORT684drivers/scsi/aha152x.cSETPORT(SIMODE1, 0);
SETPORT767drivers/scsi/aha152x.cSETPORT( PORTA, 1 );
SETPORT777drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT778drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT859drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT862drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT863drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT890drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT892drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT894drivers/scsi/aha152x.cSETPORT(SXFRCTL1, 0);
SETPORT895drivers/scsi/aha152x.cSETPORT( SCSISIG, 0);
SETPORT896drivers/scsi/aha152x.cSETPORT(SCSIRATE, 0);
SETPORT899drivers/scsi/aha152x.cSETPORT(SSTAT0, 0x7f);
SETPORT900drivers/scsi/aha152x.cSETPORT(SSTAT1, 0xef);
SETPORT902drivers/scsi/aha152x.cSETPORT(SSTAT4, SYNCERR|FWERR|FRERR);
SETPORT904drivers/scsi/aha152x.cSETPORT(DMACNTRL0, 0);
SETPORT905drivers/scsi/aha152x.cSETPORT(DMACNTRL1, 0);
SETPORT907drivers/scsi/aha152x.cSETPORT(BRSTCNTRL, 0xf1);
SETPORT910drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT);
SETPORT911drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1);
SETPORT914drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT915drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT957drivers/scsi/aha152x.cSETPORT(SCSISEQ, SCSIRSTO);
SETPORT959drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT962drivers/scsi/aha152x.cSETPORT(SIMODE0, 0 );
SETPORT963drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT965drivers/scsi/aha152x.cSETPORT( DMACNTRL0, INTEN );
SETPORT1032drivers/scsi/aha152x.cSETPORT( PORTA, 0 );                                  /* turn led off */
SETPORT1039drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1040drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1116drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1117drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDI );
SETPORT1118drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE );
SETPORT1135drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | target );
SETPORT1136drivers/scsi/aha152x.cSETPORT( SCSISEQ, ENRESELI );
SETPORT1141drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGI );
SETPORT1149drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1151drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1186drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1187drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS );
SETPORT1216drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT1219drivers/scsi/aha152x.cSETPORT( SXFRCTL1, ENSPCHK|ENSTIMER);
SETPORT1222drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT1223drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT1254drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE);
SETPORT1286drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDO );
SETPORT1300drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGO );
SETPORT1302drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1303drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT );
SETPORT1318drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSELTIMO );
SETPORT1320drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1321drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1349drivers/scsi/aha152x.cSETPORT(SCSISIG, phase);
SETPORT1350drivers/scsi/aha152x.cSETPORT(SSTAT1, CLRPHASECHG);
SETPORT1394drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1395drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENREQINIT );
SETPORT1405drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRATNO);
SETPORT1407drivers/scsi/aha152x.cSETPORT( SCSIDAT, message );
SETPORT1445drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT1446drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT1449drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT1450drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT1453drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1454drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS );
SETPORT1507drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1509drivers/scsi/aha152x.cSETPORT( SIMODE0, 0);
SETPORT1510drivers/scsi/aha152x.cSETPORT( SIMODE1, ENBUSFREE);
SETPORT1579drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1585drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1596drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1605drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1626drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1642drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1);
SETPORT1656drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1657drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1668drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1670drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1671drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT );
SETPORT1700drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT1701drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO|ENDMA);
SETPORT1703drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN );
SETPORT1705drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1706drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1856drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT1857drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT1859drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT1860drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT1862drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1863drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS );
SETPORT1888drivers/scsi/aha152x.cSETPORT(DATAPORT, *current_SC->SCp.ptr++);
SETPORT1942drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT2018drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT2019drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT2020drivers/scsi/aha152x.cSETPORT( SCSISEQ, disconnected_SC ? ENRESELI : 0 );
SETPORT2038drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT2039drivers/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) ); }