Subject: Re: uiomove and bus-ified drivers
To: Gordon W. Ross <gwr@mc.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 12/19/1997 01:10:40
On Thu, 18 Dec 1997 14:16:39 -0500 
 "Gordon W. Ross" <gwr@mc.com> wrote:

 > It would be better not to ask the kernel to do format translation,
 > (i.e. bus_space stuff) especially in the mmap-ed device interface.
 > Instead, I'd suggest providing a small user-level library that has
 > device-specific knowledge, thereby allowing the kernel to present
 > the true raw device to that user-level library.

That's what bus_space_mmap() will do, once implemented.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939