From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 7 13:31:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7B9E16A4E5 for ; Mon, 7 Aug 2006 13:31:45 +0000 (UTC) (envelope-from nike_d@cytexbg.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.FreeBSD.org (Postfix) with SMTP id DC78343D7E for ; Mon, 7 Aug 2006 13:31:31 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: (qmail 32459 invoked by uid 1026); 7 Aug 2006 13:33:25 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-1.23 (f-prot: 4.4.2/3.14.11. Clear:RC:1(213.145.98.14):. Processed in 0.157043 secs); 07 Aug 2006 13:33:25 -0000 Received: from unknown (HELO ndenev.office.suresupport.com) (213.145.98.14) by office.suresupport.com with SMTP; 7 Aug 2006 13:33:25 -0000 From: Niki Denev To: Suleiman Souhlal Date: Mon, 7 Aug 2006 16:28:15 +0300 User-Agent: KMail/1.9.3 References: <44D3C333.3030702@cytexbg.com> <44D735E5.4030809@FreeBSD.org> In-Reply-To: <44D735E5.4030809@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608071628.15316.nike_d@cytexbg.com> Cc: freebsd-hackers@freebsd.org Subject: Re: linux ioremap equivalent on freebsd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 13:31:45 -0000 On Monday 07 August 2006 15:45, Suleiman Souhlal wrote: > Niki Denev wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi, > > > > I'm in the middle of a struggle to port the linux > > nozomi(Option GloberTrotter 3G+ HSDPA cardbus adapter) driver to freebsd. > > And given the fact that i have very little previous kernel coding > > experience i can't find what i can use in freebsd as equivalent of > > linux's ioremap(). > > > > Any ideas are appreciated. Thanks! > > I think the equivalent of linux's ioremap() in FreeBSD is pmap_mapdev(). > > -- Suleiman Thanks! Is there a reason that there is no manual page about pmap_mapdev, and it's not mentioned in the other pmap_* man pages? Regards, Niki Denev