1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

The sequencer downloading code assumes that all jump

labels are acurate in relation to a fully compiled
sequencer program (all patches downloaded).  Correct
a few occurances of a relative jump across a macro
that ended up jumping us into the last instruction
of the macro.

Spproved by:	re (bmah)
This commit is contained in:
Scott Long 2002-12-05 00:47:27 +00:00
parent 1f1ba8aea6
commit 8528a71202
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107628

View File

@ -40,7 +40,7 @@
* $FreeBSD$
*/
VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#72 $"
VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#73 $"
PATCH_ARG_LIST = "struct ahd_softc *ahd"
PREFIX = "ahd_"
@ -62,8 +62,9 @@ idle_loop:
* interrupt collision on the hardware
* setting of HWERR.
*/
test ERROR, 0xFF jz . + 2;
test ERROR, 0xFF jz no_error_set;
SET_SEQINTCODE(SAW_HWERR)
no_error_set:
}
SET_MODE(M_SCSI, M_SCSI)
test SCSISEQ0, ENSELO|ENARBO jnz idle_loop_checkbus;
@ -937,8 +938,9 @@ complete_accepted:
/*
* See if we attempted to deliver a message but the target ingnored us.
*/
test SCB_CONTROL, MK_MESSAGE jz . + 2;
test SCB_CONTROL, MK_MESSAGE jz complete_nomsg;
SET_SEQINTCODE(MKMSG_FAILED)
complete_nomsg:
call queue_scb_completion;
jmp await_busfree;