In message: <[EMAIL PROTECTED]@promisechina.com>
            <[EMAIL PROTECTED]> writes:
: To access sg_table in kernel address, I need to map the starting physical
: address of a segment into a kernel address. As I know that, we can use
: phystovirt()/bustovirt(), or kmap()/kmap_atomic() to map a bus/physical
: address or a physical page into a kernel address in Linux, but I did not
: find such a function in FreeBSD. Please help me on this, it is very urgent!

Use busdma.

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

Reply via email to