Lines Matching +full:negative +full:- +full:phase

1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
5 * PCI-SCSI controllers.
7 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
14 * This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver.
15 * Copyright (C) 1998-1999 Gerard Roudier
18 * a port of the FreeBSD ncr driver to Linux-1.2.13.
22 * Stefan Esser <se@mi.Uni-Koeln.de>
26 * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
34 *-----------------------------------------------------------------------------
62 * Scripts for SYMBIOS-Processor
72 * Script fragments which are loaded into the on-chip RAM
171 * except for chips that support 8K on-chip RAM.
224 /*--------------------------< START >----------------------------*/ {
268 }/*-------------------------< GETJOB_BEGIN >---------------------*/,{
278 }/*-------------------------< _SMS_A10 >-------------------------*/,{
282 * Move the start address to TEMP using self-
289 }/*-------------------------< GETJOB_END >-----------------------*/,{
294 }/*-------------------------< _SMS_A20 >-------------------------*/,{
299 }/*-------------------------< SELECT >---------------------------*/,{
332 * the next instruction that checks SCSI phase.
334 * complete or selection time-out to occur.
343 * in the HCB using self-modifying SCRIPTS.
349 }/*-------------------------< _SMS_A30 >-------------------------*/,{
365 }/*-------------------------< WF_SEL_DONE >----------------------*/,{
368 }/*-------------------------< SEND_IDENT >-----------------------*/,{
376 }/*-------------------------< SELECT2 >--------------------------*/,{
390 * Anticipate the COMMAND phase.
391 * This is the PHASE we expect at this point.
395 }/*-------------------------< COMMAND >--------------------------*/,{
401 }/*-------------------------< DISPATCH >-------------------------*/,{
403 * MSG_IN is the only phase that shall be
428 -16,
434 -16,
439 }/*-------------------------< SEL_NO_CMD >-----------------------*/,{
442 * phase after IDENTIFY has been sent.
444 * If it stays in MSG OUT phase send it
450 * If target does not switch to MSG IN phase
465 }/*-------------------------< INIT >-----------------------------*/,{
475 -16,
478 }/*-------------------------< CLRACK >---------------------------*/,{
480 * Terminate possible pending message phase.
486 }/*-------------------------< DISP_STATUS >----------------------*/,{
488 * Anticipate STATUS phase.
497 }/*-------------------------< DATAI_DONE >-----------------------*/,{
506 * We anticipate a STATUS phase.
521 * overrun condition. Check against MSG_IN phase.
528 * We are in MSG_IN phase,
552 }/*-------------------------< DATAO_DONE >-----------------------*/,{
561 * We anticipate a STATUS phase.
580 }/*-------------------------< DATAI_PHASE >----------------------*/,{
583 }/*-------------------------< DATAO_PHASE >----------------------*/,{
586 }/*-------------------------< MSG_IN >---------------------------*/,{
595 }/*-------------------------< MSG_IN2 >--------------------------*/,{
610 * C code, so no need to waste on-chip RAM
615 }/*-------------------------< STATUS >---------------------------*/,{
641 * Anticipate the MESSAGE PHASE for
648 }/*-------------------------< COMPLETE >-------------------------*/,{
676 }/*-------------------------< COMPLETE2 >------------------------*/,{
684 * Move back the CCB header using self-modifying
692 }/*-------------------------< _SMS_A40 >-------------------------*/,{
714 * If we performed an auto-sense, call
722 }/*-------------------------< COMPLETE_ERROR >-------------------*/,{
728 }/*-------------------------< DONE >-----------------------------*/,{
741 }/*-------------------------< _SMS_A50 >-------------------------*/,{
754 }/*-------------------------< _SMS_A60 >-------------------------*/,{
757 }/*-------------------------< DONE_END >-------------------------*/,{
762 }/*-------------------------< SAVE_DP >--------------------------*/,{
786 }/*-------------------------< RESTORE_DP >-----------------------*/,{
796 }/*-------------------------< DISCONNECT >-----------------------*/,{
841 }/*-------------------------< DISCONNECT2 >----------------------*/,{
843 * Move back the CCB header using self-modifying
851 }/*-------------------------< _SMS_A65 >-------------------------*/,{
855 }/*-------------------------< IDLE >-----------------------------*/,{
868 }/*-------------------------< UNGETJOB >-------------------------*/,{
889 }/*-------------------------< RESELECT >-------------------------*/,{
900 }/*-------------------------< RESELECTED >-----------------------*/,{
931 }/*-------------------------< _SMS_A70 >-------------------------*/,{
942 }/*-------------------------< _SMS_A80 >-------------------------*/,{
946 * We expect MESSAGE IN phase.
951 }/*-------------------------< RESELECTED1 >----------------------*/,{
995 }/*-------------------------< _SMS_A90 >-------------------------*/,{
1000 }/*-------------------------< RESEL_LUN0 >-----------------------*/,{
1015 }/*-------------------------< _SMS_A100 >------------------------*/,{
1021 }/*-------------------------< RESEL_TAG >------------------------*/,{
1037 * the HCB using self-modifying SCRIPTS.
1043 }/*-------------------------< _SMS_A110 >------------------------*/,{
1086 }/*-------------------------< _SMS_A120 >------------------------*/,{
1089 }/*-------------------------< RESEL_GO >-------------------------*/,{
1100 }/*-------------------------< _SMS_A130 >------------------------*/,{
1109 }/*-------------------------< RESEL_DSA >------------------------*/,{
1115 }/*-------------------------< RESEL_DSA1 >-----------------------*/,{
1118 * in the HCB using self-modifying SCRIPTS.
1124 }/*-------------------------< _SMS_A140 >------------------------*/,{
1145 }/*-------------------------< RESEL_NO_TAG >---------------------*/,{
1148 * the HCB using self-modifying SCRIPTS.
1154 }/*-------------------------< _SMS_A145 >------------------------*/,{
1165 }/*-------------------------< DATA_IN >--------------------------*/,{
1177 }/*-------------------------< DATA_IN2 >-------------------------*/,{
1182 }/*-------------------------< DATA_OUT >-------------------------*/,{
1194 }/*-------------------------< DATA_OUT2 >------------------------*/,{
1199 }/*-------------------------< PM0_DATA >-------------------------*/,{
1207 * Check against actual DATA PHASE.
1212 * Actual phase is DATA IN.
1219 * PM0 DATA mini-script.
1230 }/*-------------------------< PM0_DATA_OUT >---------------------*/,{
1232 * Actual phase is DATA OUT.
1239 * PM0 DATA mini-script.
1248 }/*-------------------------< PM0_DATA_END >---------------------*/,{
1251 * data from the PM0 DATA mini-script.
1265 }/*-------------------------< PM_DATA_END >----------------------*/,{
1270 }/*-------------------------< _SMS_A150 >------------------------*/,{
1275 }/*-------------------------< PM1_DATA >-------------------------*/,{
1283 * Check against actual DATA PHASE.
1288 * Actual phase is DATA IN.
1295 * PM1 DATA mini-script.
1306 }/*-------------------------< PM1_DATA_OUT >---------------------*/,{
1308 * Actual phase is DATA OUT.
1315 * PM1 DATA mini-script.
1324 }/*-------------------------< PM1_DATA_END >---------------------*/,{
1327 * data from the PM1 DATA mini-script.
1343 }/*--------------------------<>----------------------------------*/
1347 /*-------------------------< NO_DATA >--------------------------*/ {
1350 }/*-------------------------< SEL_FOR_ABORT >--------------------*/,{
1374 -8,
1399 }/*-------------------------< SEL_FOR_ABORT_1 >------------------*/,{
1405 }/*-------------------------< MSG_IN_ETC >-----------------------*/,{
1430 }/*-------------------------< MSG_RECEIVED >---------------------*/,{
1436 }/*-------------------------< MSG_WEIRD_SEEN >-------------------*/,{
1442 }/*-------------------------< MSG_EXTENDED >---------------------*/,{
1459 SCR_REG_REG (sfbr, SCR_ADD, (256-8)),
1473 }/*-------------------------< _SMS_B10 >-------------------------*/,{
1478 }/*-------------------------< MSG_BAD >--------------------------*/,{
1480 * unimplemented message - reject it.
1488 }/*-------------------------< MSG_WEIRD >------------------------*/,{
1497 }/*-------------------------< MSG_WEIRD1 >-----------------------*/,{
1506 }/*-------------------------< WDTR_RESP >------------------------*/,{
1516 }/*-------------------------< SEND_WDTR >------------------------*/,{
1524 }/*-------------------------< SDTR_RESP >------------------------*/,{
1534 }/*-------------------------< SEND_SDTR >------------------------*/,{
1542 }/*-------------------------< PPR_RESP >-------------------------*/,{
1552 }/*-------------------------< SEND_PPR >-------------------------*/,{
1560 }/*-------------------------< NEGO_BAD_PHASE >-------------------*/,{
1565 }/*-------------------------< MSG_OUT >--------------------------*/,{
1574 * ... wait for the next phase
1579 }/*-------------------------< MSG_OUT_DONE >---------------------*/,{
1587 * ... and process the next phase
1591 }/*-------------------------< DATA_OVRUN >-----------------------*/,{
1599 }/*-------------------------< DATA_OVRUN1 >----------------------*/,{
1603 * If phase is DATA OUT write 1 byte and count it.
1624 * Finally check against DATA IN phase.
1637 }/*-------------------------< DATA_OVRUN2 >----------------------*/,{
1640 * This will allow to return a negative
1654 }/*-------------------------< ABORT_RESEL >----------------------*/,{
1675 }/*-------------------------< RESEND_IDENT >---------------------*/,{
1677 * The target stays in MSG OUT phase after having acked
1686 }/*-------------------------< IDENT_BREAK >----------------------*/,{
1691 }/*-------------------------< IDENT_BREAK_ATN >------------------*/,{
1696 }/*-------------------------< SDATA_IN >-------------------------*/,{
1703 }/*-------------------------< RESEL_BAD_LUN >--------------------*/,{
1713 }/*-------------------------< BAD_I_T_L >------------------------*/,{
1723 }/*-------------------------< BAD_I_T_L_Q >----------------------*/,{
1733 }/*-------------------------< BAD_STATUS >-----------------------*/,{
1747 }/*-------------------------< WSR_MA_HELPER >--------------------*/,{
1756 }/*-------------------------< ZERO >-----------------------------*/,{
1758 }/*-------------------------< SCRATCH >--------------------------*/,{
1760 }/*-------------------------< SCRATCH1 >-------------------------*/,{
1762 }/*-------------------------< PREV_DONE >------------------------*/,{
1764 }/*-------------------------< DONE_POS >-------------------------*/,{
1766 }/*-------------------------< NEXTJOB >--------------------------*/,{
1768 }/*-------------------------< STARTPOS >-------------------------*/,{
1770 }/*-------------------------< TARGTBL >--------------------------*/,{
1773 }/*-------------------------< SNOOPTEST >------------------------*/,{
1792 }/*-------------------------< SNOOPEND >-------------------------*/,{
1798 }/*--------------------------<>----------------------------------*/