Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 14:08:33 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Robert Lipe <robertlipe@usa.net>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: contigmalloc, M_WAITOK, & leaks. 
Message-ID:  <200101222108.f0ML8X912362@harmony.village.org>
In-Reply-To: Your message of "Mon, 22 Jan 2001 12:54:44 PST." <20010122125444.C26076@fw.wintelcom.net> 
References:  <20010122125444.C26076@fw.wintelcom.net>  <20010122110642.B10504@rjlhome.sco.com> <20010122100524.D7240@fw.wintelcom.net> <20010122124539.F10504@rjlhome.sco.com> <20010122105227.E7240@fw.wintelcom.net> <20010122132647.I10504@rjlhome.sco.com> <20010122121033.A26076@fw.wintelcom.net> <20010122145550.O10504@rjlhome.sco.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010122125444.C26076@fw.wintelcom.net> 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.

: 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.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101222108.f0ML8X912362>