Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Apr 2000 22:24:48 -0400
From:      "Gary T. Corcoran" <gcorcoran@lucent.com>
To:        Warner Losh <imp@village.org>
Cc:        Mike Smith <msmith@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: How to get multiple PCI I/O base addresses in attach()?
Message-ID:  <38ED46F0.74666BF4@lucent.com>
References:  <38ED30E5.CA9D9578@lucent.com>  <200004070010.RAA01618@mass.cdrom.com> <200004070205.UAA95227@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote:
> 
> In message <38ED30E5.CA9D9578@lucent.com> "Gary T. Corcoran" writes:
> : #define NdisRawReadPortUchar( _port, _ptr)  *(_ptr) = inb((_port))
> 
> Yes.  The bus_space_handle_t that rman_get_bushandle returns on the
> i386 is the portnumber in I/O space.  However, you'll need a separate
> one for each of them since you don't know where the bios is going to
> map the areas relative to one another.

Right.

> : As long as I stick to x86 machines, do you see any problem in doing this?
> 
> As long as they don't cahnge too much, you should be OK at this.

Okay - thanks.

Now I just have to get my code to compile (into a module)...  ;-)

Gary


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38ED46F0.74666BF4>