From owner-cvs-sys Thu Apr 3 20:09:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13119 for cvs-sys-outgoing; Thu, 3 Apr 1997 20:09:40 -0800 (PST) Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA13107; Thu, 3 Apr 1997 20:09:35 -0800 (PST) Date: Thu, 3 Apr 1997 20:09:35 -0800 (PST) From: "Justin T. Gibbs" Message-Id: <199704040409.UAA13107@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx.seq src/sys/i386/scsi aic7xxx.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 97/04/03 20:09:33 Modified: sys/dev/aic7xxx aic7xxx.seq sys/i386/scsi aic7xxx.c Log: When not using SCB paging, we can always directly index the SCB of interest either by looking it up in the array of pending, per target, untagged transactions, or by using the tag value passed in during the identify. The old code only direct indexed for tagged transactions. This makes the "findSCB" routine only necessary when SCB paging is enabled, so appropriately conditionalize it. This greatly simplifies the non SCB paging code flow. Revision Changes Path 1.67 +18 -13 src/sys/dev/aic7xxx/aic7xxx.seq 1.110 +6 -15 src/sys/i386/scsi/aic7xxx.c