From owner-cvs-all@FreeBSD.ORG Sun Mar 7 09:23:39 2004 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 BE9DB16A4CE; Sun, 7 Mar 2004 09:23:39 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A105E43D1F; Sun, 7 Mar 2004 09:23:39 -0800 (PST) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i27HNdGe041664; Sun, 7 Mar 2004 09:23:39 -0800 (PST) (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i27HNdSc041663; Sun, 7 Mar 2004 09:23:39 -0800 (PST) (envelope-from cognet) Message-Id: <200403071723.i27HNdSc041663@repoman.freebsd.org> From: Olivier Houchard Date: Sun, 7 Mar 2004 09:23:39 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/trm trm.c trm.h 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: Sun, 07 Mar 2004 17:23:39 -0000 cognet 2004/03/07 09:23:39 PST FreeBSD src repository Modified files: sys/dev/trm trm.c trm.h Log: Use one bus_dma_tag_t for all pSRB instead of creating one for each. Free what is allocated for pSRBs at unload time or if something bad happens, thanks to scottl for spotting this out. Revision Changes Path 1.20 +49 -23 src/sys/dev/trm/trm.c 1.4 +1 -2 src/sys/dev/trm/trm.h