* Warner Losh <[EMAIL PROTECTED]> [010122 13:09] wrote:
> In message <[EMAIL PROTECTED]> Alfred Perlstein writes:
> : > Yes, this looks to be much closer to the interface I really wanted
> : > anyway.  I see no man pages for them.  Is there any doc anywhere?  "Read
> : > the source and look at existing examples" will do if it must but any
> : > pointers to better doc are appreciated.
> : 
> : I know of no docs, I don't write drivers. (lucky me)
> 
> There are no docs.  You can find docs on NetBSD's busdma
> implementation from all the usual places.  The busdma interface for
> FreeBSD is close to NetBSD's, but the implementation is somewhat
> different.  FreeBSD's busspace, however, is missing many parts of the
> NetBSD interface, and implementing those would be hard give newbus.
> At leas that was my take when I tried.

It would be uber-nice to have docs, the interface has only existed
for afaik 2-3 years now. :(

> 
> : I don't know, Bill Paul explained that the normal busdma stuff is
> : pretty broken for chunks too small.  Basically, disks work, network
> : cards won't because mbufs are too small.
> 
> Yuck.  We should fix that.

I don't know about "fixing it", netbsd seems to offer a different
interface for it (bus_dmamap_load_mbuf).  Possibly for effeciency
reasons but i'm not sure.

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


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

Reply via email to