From owner-freebsd-current Thu Dec 31 12:58:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18834 for freebsd-current-outgoing; Thu, 31 Dec 1998 12:58:43 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18829 for ; Thu, 31 Dec 1998 12:58:41 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id PAA07052; Thu, 31 Dec 1998 15:58:18 -0500 (EST) (envelope-from wollman) Date: Thu, 31 Dec 1998 15:58:18 -0500 (EST) From: Garrett Wollman Message-Id: <199812312058.PAA07052@khavrinen.lcs.mit.edu> To: Warner Losh Cc: Garrett Wollman , Bill Paul , current@FreeBSD.ORG Subject: Re: bus_space_foo and bus_dmamap_foo In-Reply-To: <199812312043.NAA01055@harmony.village.org> References: <199812312033.PAA06966@khavrinen.lcs.mit.edu> <199812311858.NAA05191@skynet.ctr.columbia.edu> <199812311928.MAA00612@harmony.village.org> <199812312043.NAA01055@harmony.village.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG < said: > It was my understanding from talking to Justin that these areas were > basically orthoginal. busspace and busdma are used to talk to the > hardware, while DFR's new bus stuff is more a configuration thing > rather than talking to the actual hardware. How you talk to the hardware depends on where it is in the configuration graph. > How do you view this integration? I'm confused... What needs to be > integrated? When you activate a memory or I/O resource, the appropriate magic should happen such that included in the stuff you get back is something which can be used to access that resource quickly. Stuff like bus_space_alloc should be handled by the bus driver in coordination with the resource manager. (It should be implemented as a method call on the device's parent, so that it has all the necessary context pre-computed.) -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