Date: Thu, 31 Dec 1998 15:33:11 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Warner Losh <imp@village.org> Cc: Bill Paul <wpaul@skynet.ctr.columbia.edu>, current@FreeBSD.ORG Subject: Re: bus_space_foo and bus_dmamap_foo Message-ID: <199812312033.PAA06966@khavrinen.lcs.mit.edu> In-Reply-To: <199812311928.MAA00612@harmony.village.org> References: <199812311858.NAA05191@skynet.ctr.columbia.edu> <199812311928.MAA00612@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 31 Dec 1998 12:28:23 -0700, Warner Losh <imp@village.org> said: > True. Likely the NetBSD interface should be adopted, unless there is > a compelling reason not to do this. A significant problem with all of this stuff is that it pre-dates DFR's bus code. This is a problem because it recapitulates the bus hierarchy which new-bus is there to construct for us. What would be preferable would be for this mechanism to be integrated with new-bus and the resource manager, so that when a driver requests a resource, it automatically gets any other context necessary to access that resource. The resource manager already has some hooks, in particular the r_vaddr member in struct resource, for that purpose, as well as the entire distinction between allocating and activating a resource. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812312033.PAA06966>