Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 13:04:15 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        David Rufino <daverufino@btinternet.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: driver help 
Message-ID:  <200101232104.f0NL4FS02055@mass.dis.org>
In-Reply-To: Your message of "Tue, 23 Jan 2001 20:44:02 GMT." <20010123204402.A1515@btinternet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101232104.f0NL4FS02055>