From owner-cvs-src@FreeBSD.ORG Tue Sep 16 09:07:16 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE36716A4B3; Tue, 16 Sep 2003 09:07:16 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53EA943FAF; Tue, 16 Sep 2003 09:07:16 -0700 (PDT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h8GG7G0U014340; Tue, 16 Sep 2003 09:07:16 -0700 (PDT) (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h8GG7FM3014339; Tue, 16 Sep 2003 09:07:16 -0700 (PDT) Message-Id: <200309161607.h8GG7FM3014339@repoman.freebsd.org> From: Scott Long Date: Tue, 16 Sep 2003 09:07:15 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/aac aac.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 16:07:16 -0000 scottl 2003/09/16 09:07:15 PDT FreeBSD src repository Modified files: sys/dev/aac aac.c Log: Correctly wrap the producer queue index when dequeuing commands. This wasn't a problem for command responses since we rarely ever filled the queue. However, adapter-initiated commands have a much smaller queue and could tickle this bug. It's possible that this might fix the recently reported problems with the aac-2120s, though I haven't been able to reproduce the problem locally. MFC-After: 1 day Revision Changes Path 1.78 +5 -1 src/sys/dev/aac/aac.c