From owner-cvs-all@FreeBSD.ORG Tue Apr 5 02:03:31 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 879AC16A4CE; Tue, 5 Apr 2005 02:03:31 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68C3043D3F; Tue, 5 Apr 2005 02:03:31 +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 j3523VY6093170; Tue, 5 Apr 2005 02:03:31 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3523VG9093169; Tue, 5 Apr 2005 02:03:31 GMT (envelope-from scottl) Message-Id: <200504050203.j3523VG9093169@repoman.freebsd.org> From: Scott Long Date: Tue, 5 Apr 2005 02:03:31 +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/ata atapi-cam.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 02:03:31 -0000 scottl 2005-04-05 02:03:31 UTC FreeBSD src repository Modified files: sys/dev/ata atapi-cam.c Log: Commit ATAPI-CAM for ATAmkIII. Improvements and changes: - newbus plumbing. Each atapicam bus is a child off of a parent ata channel bus. This is somewhat of a hack, but allows the ata core to be completely free of atapicam knowledge. - No more global lists of softc's and no more groping around in internal ata structures on each command. - Giant-free operation of the completion handler. - Per-bus mutex for protecting the busy list and synchronizing detach. - Lots of streamlining and dead code elimination, better adherence to the CAM locking protocol. This feature still requires that the appropriate atapi-* driver be present for each atapi device that you want to talk to (i.e. atapi-cd for cdroms). It does work both compiled into the kernel and as a loadable module. Reviewed by: thomas, sos Revision Changes Path 1.36 +186 -151 src/sys/dev/ata/atapi-cam.c