From owner-cvs-sys Sun Apr 28 12:21:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA17740 for cvs-sys-outgoing; Sun, 28 Apr 1996 12:21:35 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA17721 Sun, 28 Apr 1996 12:21:22 -0700 (PDT) Date: Sun, 28 Apr 1996 12:21:22 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199604281921.MAA17721@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/scsi aic7xxx.c aic7xxx.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/04/28 12:21:21 Modified: sys/i386/scsi aic7xxx.c aic7xxx.h Log: Fix the abort code in the BUS DEVICE RESET case. Needed to set cmdlen to 0. Ensure that queued commands are not touched by the abort code by setting the SCB status to indicate what queue it is in. Fix deadlocks when using SCB paging by using SCBs from the assigned_scbs queue or an SCB that completed during the same interrupt if needed. Don't ever use insl to pull SCBs from any of the controllers. You can only do 8bit PIO reads. This only affected SCB paging. With this checkin, SCB paging works quite a bit better, but I still have some problems with it that may be caused by a firmware problem in my PD1800s. It seems that using a tag number higher than the maximum number of tags allowed by the device, confuses it. For example, if I queue two commands, tagged 3 and 36, it never reconnects for tag 36. Revision Changes Path 1.65 +123 -21 src/sys/i386/scsi/aic7xxx.c 1.26 +14 -10 src/sys/i386/scsi/aic7xxx.h