Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 1998 13:43:50 -0700
From:      Warner Losh <imp@village.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Bill Paul <wpaul@skynet.ctr.columbia.edu>, current@FreeBSD.ORG
Subject:   Re: bus_space_foo and bus_dmamap_foo 
Message-ID:  <199812312043.NAA01055@harmony.village.org>
In-Reply-To: Your message of "Thu, 31 Dec 1998 15:33:11 EST." <199812312033.PAA06966@khavrinen.lcs.mit.edu> 
References:  <199812312033.PAA06966@khavrinen.lcs.mit.edu>  <199812311858.NAA05191@skynet.ctr.columbia.edu> <199812311928.MAA00612@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199812312033.PAA06966@khavrinen.lcs.mit.edu> Garrett
Wollman writes: 
: <<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.

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.

: 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.

How do you view this integration? I'm confused...  What needs to be
integrated?

Warner

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?199812312043.NAA01055>