From owner-freebsd-scsi Sat Nov 16 12:51:51 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA17776 for freebsd-scsi-outgoing; Sat, 16 Nov 1996 12:51:51 -0800 (PST) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA17771 for ; Sat, 16 Nov 1996 12:51:48 -0800 (PST) Received: by sovcom.kiae.su id AA18406 (5.65.kiae-1 ); Sat, 16 Nov 1996 23:41:23 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Sat, 16 Nov 96 23:41:22 +0300 Received: (from ache@localhost) by nagual.ru (8.8.2/8.8.2) id XAA00397; Sat, 16 Nov 1996 23:39:10 +0300 (MSK) Message-Id: <199611162039.XAA00397@nagual.ru> Subject: Re: cvs commit: src/sys/i386/conf GENERIC LINT options.i386 src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/i386/scsi aic7xxx In-Reply-To: <199611160119.RAA01758@freefall.freebsd.org> from "Justin T. Gibbs" at "Nov 15, 96 05:19:52 pm" To: gibbs@freefall.freebsd.org (Justin T. Gibbs) Date: Sat, 16 Nov 1996 23:39:10 +0300 (MSK) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, scsi@freebsd.org From: "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL28 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > gibbs 96/11/15 17:19:52 > > Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h > Fix the SCB paging problem that I was seeing. This was only on my 7850 > controller and stems from the fact that its QINFIFO can only handle 3bit > SCB identifiers. This means that you can only have 8 transactions open at > a time with the current paging scheme to these controllers. The code added > to enforce this is generic in that it tests for the number of relevent bits > that the QINFIFO can store and adjusts the max accordingly. It may be possible > to come up with a scheme that allows for more than 8 commands at a time, but > I don't know that it is worth the effort simply to fix a low end card. The > aic7880 still can do 255. > > This problem may be related to what Andrey was seeing since I don't have n > aic7770 rev E chip here to test on, but as soon as someone probes one of these > cards with this new code, the dmesg output will tell the whole story. I forget to mention that now it correctly says: ahc0: aic7770 >= Rev E, Single Channel, SCSI Id=7, 4/4 SCBs instead of ahc0: aic7770 >= Rev E, Single Channel, SCSI Id=7, 4/255 SCBs in old variant. -- Andrey A. Chernov http://www.nagual.ru/~ache/