In message: <[EMAIL PROTECTED]>
"Brian J. McGovern" <[EMAIL PROTECTED]> writes:
: In 5.x, it appears that you call bus_alloc_resource() with the rid (BAR) of
: the memory resource to actually obtain a resource structure to the memory.
: Would you then call rman_get_virtual() to obtain the virtual address? How about
: the physical address (use vtophys(rman_get_virtual()) ?
Typically you'd use bus_space to access things via 'memory' mapping,
and bus_dma for physical stuff.
Warner
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"