Warner Losh wrote:
>
> In message <[EMAIL PROTECTED]> "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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message