Date: Wed, 10 Nov 2004 02:18:44 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: marcel@freebsd.org Cc: perforce@freebsd.org Subject: Re: PERFORCE change 64481 for review Message-ID: <20041110.021844.34601722.imp@bsdimp.com> In-Reply-To: <200411070550.iA75o8Uq060242@repoman.freebsd.org> References: <200411070550.iA75o8Uq060242@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200411070550.iA75o8Uq060242@repoman.freebsd.org> Marcel Moolenaar <marcel@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041110.021844.34601722.imp>