In message: <[EMAIL PROTECTED]>
            "Auge Mike" <[EMAIL PROTECTED]> writes:
: While I was trying to track to find out how a device alloc a new memory 
: resource, I have been little confused on finding out how the new PCI device 
: can deal with a case when the activation calls pmap_mapdev????
: 
: What I need to understand that what will happen if pmap_mapdev allocated a 
: new space that dose not match what is expected by the device and determined 
: by r_start and r_end ??

The pci bus deals with allocating and mapping the memory.  Getting the
bus handle and bus tags will let you access it via the bus_space
routines or the bus_dma routines.  pmap_mamdev is done under the
covers and you'll not need to worry about such things.

Warner
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to