From owner-cvs-src@FreeBSD.ORG Sun Jan 16 07:34:26 2005 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 CA27A16A4CF; Sun, 16 Jan 2005 07:34:26 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5E2243D69; Sun, 16 Jan 2005 07:34:26 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0G7YQQL034423; Sun, 16 Jan 2005 07:34:26 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0G7YQX5034422; Sun, 16 Jan 2005 07:34:26 GMT (envelope-from scottl) Message-Id: <200501160734.j0G7YQX5034422@repoman.freebsd.org> From: Scott Long Date: Sun, 16 Jan 2005 07:34:26 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrvar.h 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: Sun, 16 Jan 2005 07:34:27 -0000 scottl 2005-01-16 07:34:26 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c amr_disk.c amr_pci.c amrvar.h Log: Lock the AMR driver: - Introduce the amr_io_lock to control access to command queues, bio queues, and the hardware. - Eliminate the taskqueue and do all completion processing in the ithread. - Assign a static slot number to each command instead of doing a linear search for free slots each time a command is needed. - Modify the interrupt handler to more closely match what Linux does, for safety. Revision Changes Path 1.58 +94 -99 src/sys/dev/amr/amr.c 1.13 +16 -0 src/sys/dev/amr/amr_cam.c 1.35 +1 -1 src/sys/dev/amr/amr_disk.c 1.26 +5 -2 src/sys/dev/amr/amr_pci.c 1.25 +4 -4 src/sys/dev/amr/amrvar.h