* Mike Smith ([EMAIL PROTECTED]) wrote:
> > I am currently trying to port the compatability layer of a linux
> > kernel driver to FreeBSD 4.x.  The bit I'm stuck on at the moment
> > is, how do I map arbitrary physical address space to kernel virtual
> > address space (ala ioremap() in linux) ? Thanks.
> 
> You don't.
> 
> If this is a PCI device, it's all done for you when you call 
> bus_alloc_resource.

Ideally I would do this, except I'm porting a compatability layer for
a binary module, so I need a function which simply maps I/O space to
kernel virtual address space. Is it possible, if not desirable ?

-David



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to