From owner-freebsd-hackers Fri Aug 25 0:10:56 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from procsys.com (PPP-180-143.bng.vsnl.net.in [203.197.180.143]) by hub.freebsd.org (Postfix) with SMTP id CC8C937B42C for ; Fri, 25 Aug 2000 00:10:50 -0700 (PDT) Received: from procsys.com ([192.168.1.115]) by procsys.com with SMTP; Fri, 25 Aug 2000 12:43:29 +0800 Message-ID: <39A61CCA.2DB82AFF@procsys.com> Date: Fri, 25 Aug 2000 12:44:18 +0530 From: Pran Joseph Reply-To: pran@procsys.com Organization: Processor Systems (India) Pvt. Ltd X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Memory Mapping -2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I am trying to write a PCI ethernet driver for FreeBSD 3.4 release. I have some questions 1. How can I convert physical address to virtual address . What I want is to read the physical address from the device register and to copy it to host memory. From my earlier post I found that I can use vtopys macro to convert virtual to physical address. Now I want to do the reverse. 2. What are things should I do if I want the driver to work on alpha platform also. Thanks -Pran To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message