From 775395aaac03cbf2e747ef1fb5c3a06ee1f6c585 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Tue, 5 Nov 1996 07:51:29 +0000 Subject: [PATCH] index_untagged_scb should rely solely on the argument passed in SINDEX and not access SCB_TCL directly. This could have caused problems on twin channel adapters. 2.2 Candidate. --- sys/dev/aic7xxx/aic7xxx.seq | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/aic7xxx/aic7xxx.seq b/sys/dev/aic7xxx/aic7xxx.seq index 5b78e94dd10..5ebb435a58f 100644 --- a/sys/dev/aic7xxx/aic7xxx.seq +++ b/sys/dev/aic7xxx/aic7xxx.seq @@ -39,7 +39,7 @@ * *-M************************************************************************/ -VERSION AIC7XXX_SEQ_VER "$Id: aic7xxx.seq,v 1.45 1996/10/28 06:01:07 gibbs Exp $" +VERSION AIC7XXX_SEQ_VER "$Id: aic7xxx.seq,v 1.46 1996/10/28 17:00:24 gibbs Exp $" #if defined(__NetBSD__) #include "../../../../dev/ic/aic7xxxreg.h" @@ -1118,8 +1118,8 @@ index_untagged_scb: and DINDEX, 0x03 /* Bottom two bits of tid */ add DINDEX, SCB_ACTIVE0 shr A, SINDEX, 6 /* Target ID divided by 4 */ - test SCB_TCL, SELBUSB jz index_untagged_scb2 - or A, 2 /* Add 2 positions */ + test SINDEX, SELBUSB jz index_untagged_scb2 + add A, 2 /* Add 2 positions */ index_untagged_scb2: mov SCBPTR, A /* * Select the SCB with this