From owner-cvs-all@FreeBSD.ORG Tue Apr 12 15:25: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 DBF9F16A4CE; Tue, 12 Apr 2005 15:25:31 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0AA143D31; Tue, 12 Apr 2005 15:25:31 +0000 (GMT) (envelope-from imp@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 j3CFPVql041038; Tue, 12 Apr 2005 15:25:31 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3CFPVuG041037; Tue, 12 Apr 2005 15:25:31 GMT (envelope-from imp) Message-Id: <200504121525.j3CFPVuG041037@repoman.freebsd.org> From: Warner Losh Date: Tue, 12 Apr 2005 15:25: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/pccard pccard.c pccardvar.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: Tue, 12 Apr 2005 15:25:32 -0000 imp 2005-04-12 15:25:31 UTC FreeBSD src repository Modified files: sys/dev/pccard pccard.c pccardvar.h Log: Big cleanup of resource code for pccard. Once coventry noticed problems here, it became clear we were being too complex. o Don't keep track of resources in two places o Use resource_list_purge instead of rolling our own o Just reassign the ownership of the resource, rather than freeing it and reallocating it. o Fix compile problems when sizeof(u_long) != sizeof(int) Revision Changes Path 1.104 +30 -101 src/sys/dev/pccard/pccard.c 1.50 +0 -3 src/sys/dev/pccard/pccardvar.h