From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 7 12:45:42 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 56FE116A4DE for ; Mon, 7 Aug 2006 12:45:42 +0000 (UTC) (envelope-from ssouhlal@FreeBSD.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F82643D4C for ; Mon, 7 Aug 2006 12:45:41 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from [172.30.10.225] (unknown [216.239.55.7]) by elvis.mu.org (Postfix) with ESMTP id DEFD91A3C2B; Mon, 7 Aug 2006 05:45:40 -0700 (PDT) Message-ID: <44D735E5.4030809@FreeBSD.org> Date: Mon, 07 Aug 2006 14:45:25 +0200 From: Suleiman Souhlal User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Niki Denev References: <44D3C333.3030702@cytexbg.com> In-Reply-To: <44D3C333.3030702@cytexbg.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 12:45:42 -0000 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