taglinefilesource code
SETPORT464drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1|SPIOEN );
SETPORT466drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1 );
SETPORT498drivers/scsi/aha152x.cSETPORT( SSTAT1, SCSIRSTI );
SETPORT503drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSCSIPERR );
SETPORT548drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT550drivers/scsi/aha152x.cSETPORT( STACK, i );
SETPORT552drivers/scsi/aha152x.cSETPORT( DMACNTRL1, 0 );          /* reset stack pointer */
SETPORT738drivers/scsi/aha152x.cSETPORT( SCSIID, this_host << 4 );
SETPORT767drivers/scsi/aha152x.cSETPORT(SIMODE0, 0);
SETPORT768drivers/scsi/aha152x.cSETPORT(SIMODE1, 0);
SETPORT835drivers/scsi/aha152x.cSETPORT( PORTA, 1 );
SETPORT846drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT847drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT953drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT956drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT957drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT994drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT996drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT998drivers/scsi/aha152x.cSETPORT(SXFRCTL1, 0);
SETPORT999drivers/scsi/aha152x.cSETPORT( SCSISIG, 0);
SETPORT1000drivers/scsi/aha152x.cSETPORT(SCSIRATE, 0);
SETPORT1003drivers/scsi/aha152x.cSETPORT(SSTAT0, 0x7f);
SETPORT1004drivers/scsi/aha152x.cSETPORT(SSTAT1, 0xef);
SETPORT1006drivers/scsi/aha152x.cSETPORT(SSTAT4, SYNCERR|FWERR|FRERR);
SETPORT1008drivers/scsi/aha152x.cSETPORT(DMACNTRL0, 0);
SETPORT1009drivers/scsi/aha152x.cSETPORT(DMACNTRL1, 0);
SETPORT1011drivers/scsi/aha152x.cSETPORT(BRSTCNTRL, 0xf1);
SETPORT1014drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT);
SETPORT1015drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1);
SETPORT1018drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1019drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1091drivers/scsi/aha152x.cSETPORT(SCSISEQ, SCSIRSTO);
SETPORT1093drivers/scsi/aha152x.cSETPORT(SCSISEQ, 0);
SETPORT1096drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1097drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1099drivers/scsi/aha152x.cSETPORT( DMACNTRL0, INTEN );
SETPORT1167drivers/scsi/aha152x.cSETPORT( PORTA, 0 );                                  /* turn led off */
SETPORT1175drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1176drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1260drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1261drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDI );
SETPORT1262drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE );
SETPORT1281drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | target );
SETPORT1282drivers/scsi/aha152x.cSETPORT( SCSISEQ, ENRESELI );
SETPORT1287drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGI );
SETPORT1295drivers/scsi/aha152x.cSETPORT( SCSISEQ, 0 );
SETPORT1297drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1336drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1337drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1370drivers/scsi/aha152x.cSETPORT( SCSIID, (this_host << OID_) | current_SC->target );
SETPORT1373drivers/scsi/aha152x.cSETPORT( SXFRCTL1, can_doparity ? (ENSPCHK|ENSTIMER) : ENSTIMER);
SETPORT1376drivers/scsi/aha152x.cSETPORT( SIMODE0, ENSELDO | (disconnected_SC ? ENSELDI : 0) );
SETPORT1377drivers/scsi/aha152x.cSETPORT( SIMODE1, ENSELTIMO );
SETPORT1409drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRBUSFREE);
SETPORT1442drivers/scsi/aha152x.cSETPORT( SSTAT0, CLRSELDO );
SETPORT1456drivers/scsi/aha152x.cSETPORT( SCSISIG, P_MSGO );
SETPORT1458drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1459drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT|ENBUSFREE );
SETPORT1475drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRSELTIMO );
SETPORT1477drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1478drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1507drivers/scsi/aha152x.cSETPORT(SCSISIG, phase);
SETPORT1508drivers/scsi/aha152x.cSETPORT(SSTAT1, CLRPHASECHG);
SETPORT1556drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1557drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENREQINIT|ENBUSFREE );
SETPORT1567drivers/scsi/aha152x.cSETPORT( SSTAT1, CLRATNO);
SETPORT1569drivers/scsi/aha152x.cSETPORT( SCSIDAT, message );
SETPORT1608drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT1609drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT1612drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT1613drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT1616drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1617drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT1692drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1694drivers/scsi/aha152x.cSETPORT( SIMODE0, 0);
SETPORT1695drivers/scsi/aha152x.cSETPORT( SIMODE1, ENBUSFREE);
SETPORT1767drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1774drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1787drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1797drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1821drivers/scsi/aha152x.cSETPORT(SCSISIG, P_MSGI|ATNO);
SETPORT1837drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRCH1);
SETPORT1853drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT1854drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT1866drivers/scsi/aha152x.cSETPORT( SXFRCTL0, CH1);
SETPORT1868drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1869drivers/scsi/aha152x.cSETPORT( SIMODE1, ENREQINIT|ENBUSFREE );
SETPORT1902drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO);
SETPORT1903drivers/scsi/aha152x.cSETPORT(DMACNTRL0, RSTFIFO|ENDMA);
SETPORT1905drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN );
SETPORT1907drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT1908drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT2072drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT2073drivers/scsi/aha152x.cSETPORT(DMACNTRL0, ENDMA|WRITE_READ);
SETPORT2075drivers/scsi/aha152x.cSETPORT(SXFRCTL0, CH1|CLRSTCNT|CLRCH1 );
SETPORT2076drivers/scsi/aha152x.cSETPORT(SXFRCTL0, SCSIEN|DMAEN|CH1);
SETPORT2078drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT2079drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT2106drivers/scsi/aha152x.cSETPORT(DATAPORT, *current_SC->SCp.ptr++);
SETPORT2162drivers/scsi/aha152x.cSETPORT(DMACNTRL0, WRITE_READ|RSTFIFO);
SETPORT2239drivers/scsi/aha152x.cSETPORT(SIMODE0, disconnected_SC ? ENSELDI : 0 );
SETPORT2240drivers/scsi/aha152x.cSETPORT(SIMODE1, issue_SC ? ENBUSFREE : 0);
SETPORT2241drivers/scsi/aha152x.cSETPORT(SCSISEQ, disconnected_SC ? ENRESELI : 0 );
SETPORT2259drivers/scsi/aha152x.cSETPORT( SIMODE0, 0 );
SETPORT2260drivers/scsi/aha152x.cSETPORT( SIMODE1, ENPHASEMIS|ENBUSFREE );
SETPORT156drivers/scsi/aha152x.h#define SETSTCNT(X)  { SETPORT(STCNT2, ((X) & 0xFF0000) >> 16); \
SETPORT157drivers/scsi/aha152x.hSETPORT(STCNT1, ((X) & 0x00FF00) >>  8); \
SETPORT158drivers/scsi/aha152x.hSETPORT(STCNT0, ((X) & 0x0000FF) ); }