Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2000 23:45:33 -0600
From:      Warner Losh <imp@village.org>
To:        mjacob@feral.com
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/pccard pccard.c 
Message-ID:  <200006240545.XAA01652@harmony.village.org>
In-Reply-To: Your message of "Fri, 23 Jun 2000 22:39:19 PDT." <Pine.BSF.4.10.10006232237470.14667-100000@beppo.feral.com> 
References:  <Pine.BSF.4.10.10006232237470.14667-100000@beppo.feral.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.10.10006232237470.14667-100000@beppo.feral.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006240545.XAA01652>