From owner-cvs-all Fri Jun 23 22:47:27 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 4AAD937BB4C; Fri, 23 Jun 2000 22:47:21 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA57993; Fri, 23 Jun 2000 23:47:13 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA01652; Fri, 23 Jun 2000 23:45:33 -0600 (MDT) Message-Id: <200006240545.XAA01652@harmony.village.org> To: mjacob@feral.com Subject: Re: cvs commit: src/sys/pccard pccard.c Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Fri, 23 Jun 2000 22:39:19 PDT." References: Date: Fri, 23 Jun 2000 23:45:33 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Matthew Jacob writes: : You're really *quite* welcome and encouraged to go in and decide what the : right thing to do is. It doesn't somehow quite seem right to refer to this : global from a module- at least this way. Is there another way to express what : you wanted to accomplish? I think that something like ptov() might do the trick. It is trying to convert a physical address (well, an offset into the ISA memory space) into a virtual address. Likely this could be done better with the resource mechanism. It is a holdover from the 1.x days I'm sure and needs to be modernized. rman_get_virtual() and rman_get_bushandle() would be the more proper ways to get this information. I've been too lazy to fix it. :-(. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message