From owner-freebsd-hackers Mon Jan 22 13: 8:57 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harmony.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 25EFE37B404 for ; Mon, 22 Jan 2001 13:08:38 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f0ML8X912362; Mon, 22 Jan 2001 14:08:33 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200101222108.f0ML8X912362@harmony.village.org> To: Alfred Perlstein Subject: Re: contigmalloc, M_WAITOK, & leaks. Cc: Robert Lipe , freebsd-hackers@FreeBSD.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> Date: Mon, 22 Jan 2001 14:08:33 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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