From owner-freebsd-hackers Tue Jan 23 12:49: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id A9F3937B402 for ; Tue, 23 Jan 2001 12:48:50 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.1/8.11.1) with ESMTP id f0NL4FS02055; Tue, 23 Jan 2001 13:04:15 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200101232104.f0NL4FS02055@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: David Rufino Cc: freebsd-hackers@FreeBSD.org Subject: Re: driver help In-reply-to: Your message of "Tue, 23 Jan 2001 20:44:02 GMT." <20010123204402.A1515@btinternet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 23 Jan 2001 13:04:15 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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