Thus spake Matthew N. Dodd ([EMAIL PROTECTED]):

> is just a range; start and length, and a type.  The 'rid' has nothing to
> do with offsets into a memory/port resource.

Hmm. When I wrote Doug Rabson about newbus months ago, he gave me that
part of code:

        rid = 0x10; /* offset of pci mapping register - check your docs */
        res = bus_alloc_resource(dev, SYS_RES_IOPORTS, &rid, 0, ~0, 1,    
                RF_ACTIVE);
        st = rman_get_bustag(res);
        sh = rman_get_bushandle(res); 

This "offset of the pci mapping register" is quite confusing for me
then.

Alex

-- 
I need a new ~/.sig.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to