diff options
author | Justin T. Gibbs <gibbs@FreeBSD.org> | 2003-06-28 04:40:46 +0000 |
---|---|---|
committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 2003-06-28 04:40:46 +0000 |
commit | e46bab9aea20bf5c4b8b29b62df3632fcad26233 (patch) | |
tree | 9e39e46e39940e554a3b305cfeafa7796a39fa99 /sys/dev/aic7xxx/aic79xx.seq | |
parent | c8ee71777e3faf61d121babbcb0bfdeed188ced4 (diff) | |
download | src-e46bab9aea20bf5c4b8b29b62df3632fcad26233.tar.gz src-e46bab9aea20bf5c4b8b29b62df3632fcad26233.zip |
aic79xx.seq:
Remove an old comment that no longer applies.
Fix a jump in our unexpected non-packetized phase
handler to use an explicit lable. The old code
had a hardcoded jump offset that was off by one
instruction.
Notes
Notes:
svn path=/head/; revision=116934
Diffstat (limited to 'sys/dev/aic7xxx/aic79xx.seq')
-rw-r--r-- | sys/dev/aic7xxx/aic79xx.seq | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/aic7xxx/aic79xx.seq b/sys/dev/aic7xxx/aic79xx.seq index 7ac55616a73c..cafd44644a75 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#94 $" +VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic79xx.seq#95 $" PATCH_ARG_LIST = "struct ahd_softc *ahd" PREFIX = "ahd_" @@ -582,9 +582,6 @@ found_last_sent_scb: bmov CURRSCB, SCBPTR, 2; curscb_ww_done: } else { - /* - * Untested - Verify with Rev B. - */ bmov SCBPTR, CURRSCB, 2; } @@ -1959,12 +1956,14 @@ SET_DST_MODE M_SCSI; test SSTAT0, SELDO jnz return; mvi SCBPTR[1], SCB_LIST_NULL; unexpected_nonpkt_phase: - test MODE_PTR, ~(MK_MODE(M_DFF1, M_DFF1)) jnz . + 3; + test MODE_PTR, ~(MK_MODE(M_DFF1, M_DFF1)) + jnz unexpected_nonpkt_mode_cleared; SET_SRC_MODE M_DFF0; SET_DST_MODE M_DFF0; or LONGJMP_ADDR[1], INVALID_ADDR; dec SCB_FIFO_USE_COUNT; mvi DFFSXFRCTL, CLRCHN; +unexpected_nonpkt_mode_cleared: mvi CLRSINT2, CLRNONPACKREQ; test SCSIPHASE, ~(MSG_IN_PHASE|MSG_OUT_PHASE) jnz illegal_phase; SET_SEQINTCODE(ENTERING_NONPACK) |