diff options
author | scottl <scottl@FreeBSD.org> | 2002-12-05 00:47:27 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2002-12-05 00:47:27 +0000 |
commit | 9aea6d63bb2d61b6d95eeddc7e0072b6523cc5f3 (patch) | |
tree | 11e75b9aeb670e3f5505e1d367f4e9628d14bcc6 /sys | |
parent | a18b603cfb0556f152051c90543764e8f9f31f28 (diff) | |
download | FreeBSD-src-9aea6d63bb2d61b6d95eeddc7e0072b6523cc5f3.zip FreeBSD-src-9aea6d63bb2d61b6d95eeddc7e0072b6523cc5f3.tar.gz |
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)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/aic7xxx/aic79xx.seq | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/aic7xxx/aic79xx.seq b/sys/dev/aic7xxx/aic79xx.seq index 6774896..804ab77 100644 --- a/sys/dev/aic7xxx/aic79xx.seq +++ b/sys/dev/aic7xxx/aic79xx.seq @@ -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; |