From owner-p4-projects@FreeBSD.ORG Wed Nov 10 09:21:40 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 92A3F16A4D0; Wed, 10 Nov 2004 09:21:40 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A19316A4CE; Wed, 10 Nov 2004 09:21:40 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 068AE43D2F; Wed, 10 Nov 2004 09:21:39 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id iAA9Ig4l059266; Wed, 10 Nov 2004 02:18:46 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 10 Nov 2004 02:18:44 -0700 (MST) Message-Id: <20041110.021844.34601722.imp@bsdimp.com> To: marcel@freebsd.org From: "M. Warner Losh" In-Reply-To: <200411070550.iA75o8Uq060242@repoman.freebsd.org> References: <200411070550.iA75o8Uq060242@repoman.freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: perforce@freebsd.org Subject: Re: PERFORCE change 64481 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 09:21:41 -0000 In message: <200411070550.iA75o8Uq060242@repoman.freebsd.org> Marcel Moolenaar writes: : http://perforce.freebsd.org/chv.cgi?CH=64481 : : Change 64481 by marcel@marcel_nfs on 2004/11/07 05:49:23 : : Add resource allocation and release related code. With this, : uart(4) probes as a child of scc(4). Next, IRQ handling so : that we can do something other than wait for the interrupt : storm to pass over... : : + rle->res = malloc(sizeof(struct resource), M_SCC, : + M_WAITOK | M_ZERO); We gotta find a way to put this in fewer drivers, not more... Encoding sizeof struct resource is why you need __RMAN_RESOURCE_VISIBLE, which generally shouldn't be defined. Warner