Date: Thu, 20 Apr 2006 10:40:48 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: phk@phk.freebsd.dk Cc: arch@FreeBSD.ORG, gurney_j@resnet.uoregon.edu Subject: Re: remove rid pointer (but not rid)... Message-ID: <20060420.104048.57443855.imp@bsdimp.com> In-Reply-To: <3731.1145513558@critter.freebsd.dk> References: <20060419.165709.22017808.imp@bsdimp.com> <3731.1145513558@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <3731.1145513558@critter.freebsd.dk>
"Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
: In message <20060419.165709.22017808.imp@bsdimp.com>, "M. Warner Losh" writes:
:
: >This will, of course, be a big undertaking in the tree. There are
: >1216 instances of the string 'alloc_resource' Every single one of
: >them will need to change in some way.
:
: Most of them could beneficially change to use bus_alloc_resources(),
: thereby improving the code (there are far too many bugs in the error
: handling) and at the same time cutting the 1216 in half or further
: down.
Agreed. I think I made that point a little later in my post. The big
difficulty here is testing the driver after the changes to make sure
that no unintended bugs have been introduced.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060420.104048.57443855.imp>
