taglinefilesource code
SETPORT428drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1|SPIOEN );
SETPORT430drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1 );
SETPORT462drivers/scsi/aha152x.cSETPORT( SSTAT1, SCSIRSTI );
SETPORT467drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSCSIPERR );
SETPORT509drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT511drivers/scsi/aha152x.cSETPORT( STACK, i );
SETPORT513drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT675drivers/scsi/aha152x.cSETPORT( SCSIID, this_host << 4 );
SETPORT699drivers/scsi/aha152x.cSETPORT(SIMODE0, 0);
SETPORT700drivers/scsi/aha152x.cSETPORT(SIMODE1, 0);
SETPORT771drivers/scsi/aha152x.cSETPORT( PORTA, 1 );
SETPORT781drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT782drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT879drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT882drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT883drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT914drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT916drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT918drivers/scsi/aha152x.cSETPORT(SXFRCTL1, 0);
SETPORT919drivers/scsi/aha152x.cSETPORT( SCSISIG, 0);
SETPORT920drivers/scsi/aha152x.cSETPORT(SCSIRATE, 0);
SETPORT923drivers/scsi/aha152x.cSETPORT(SSTAT0, 0x7f);
SETPORT924drivers/scsi/aha152x.cSETPORT(SSTAT1, 0xef);
SETPORT926drivers/scsi/aha152x.cSETPORT(SSTAT4, SYNCERR|FWERR|FRERR);
SETPORT928drivers/scsi/aha152x.cSETPORT(DMACNTRL0, 0);
SETPORT929drivers/scsi/aha152x.cSETPORT(DMACNTRL1, 0);
SETPORT931drivers/scsi/aha152x.cSETPORT(BRSTCNTRL, 0xf1);
SETPORT934drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT);
SETPORT935drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1);
SETPORT938drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT939drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1006drivers/scsi/aha152x.cSETPORT(SCSISEQ, SCSIRSTO);
SETPORT1008drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT1011drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1012drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1014drivers/scsi/aha152x.cSETPORT( DMACNTRL0, INTEN );
SETPORT1071drivers/scsi/aha152x.cSETPORT( PORTA, 0 );                                  /* turn led off */
SETPORT1078drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1079drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1155drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1156drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDI );
SETPORT1157drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE );
SETPORT1174drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | target );
SETPORT1175drivers/scsi/aha152x.cSETPORT( SCSISEQ, ENRESELI );
SETPORT1180drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGI );
SETPORT1188drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1190drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1225drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1226drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1255drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT1258drivers/scsi/aha152x.cSETPORT( SXFRCTL1, can_doparity ? (ENSPCHK|ENSTIMER) : ENSTIMER);
SETPORT1261drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT1262drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT1293drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE);
SETPORT1325drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDO );
SETPORT1339drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGO );
SETPORT1341drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1342drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT|ENBUSFREE );
SETPORT1357drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSELTIMO );
SETPORT1359drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1360drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1388drivers/scsi/aha152x.cSETPORT(SCSISIG, phase);
SETPORT1389drivers/scsi/aha152x.cSETPORT(SSTAT1, CLRPHASECHG);
SETPORT1433drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1434drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENREQINIT|ENBUSFREE );
SETPORT1444drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRATNO);
SETPORT1446drivers/scsi/aha152x.cSETPORT( SCSIDAT, message );
SETPORT1484drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT1485drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT1488drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT1489drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT1492drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1493drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1546drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1548drivers/scsi/aha152x.cSETPORT( SIMODE0, 0);
SETPORT1549drivers/scsi/aha152x.cSETPORT( SIMODE1, ENBUSFREE);
SETPORT1618drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1624drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1635drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1644drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1665drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1681drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1);
SETPORT1695drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1696drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1707drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1709drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1710drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT|ENBUSFREE );
SETPORT1739drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT1740drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO|ENDMA);
SETPORT1742drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN );
SETPORT1744drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1745drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1900drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT1901drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT1903drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT1904drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT1906drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1907drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1932drivers/scsi/aha152x.cSETPORT(DATAPORT, *current_SC->SCp.ptr++);
SETPORT1986drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT2062drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT2063drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT2064drivers/scsi/aha152x.cSETPORT(SCSISEQ, disconnected_SC ? ENRESELI : 0 );
SETPORT2082drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT2083drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT155drivers/scsi/aha152x.h#define SETSTCNT(X)  { SETPORT(STCNT2, ((X) & 0xFF0000) >> 16); \
SETPORT156drivers/scsi/aha152x.hSETPORT(STCNT1, ((X) & 0x00FF00) >>  8); \
SETPORT157drivers/scsi/aha152x.hSETPORT(STCNT0, ((X) & 0x0000FF) ); }