From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 10 04:05:30 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7366F16A4CE for ; Fri, 10 Dec 2004 04:05:30 +0000 (GMT) Received: from web52708.mail.yahoo.com (web52708.mail.yahoo.com [206.190.39.159]) by mx1.FreeBSD.org (Postfix) with SMTP id E700843D41 for ; Fri, 10 Dec 2004 04:05:29 +0000 (GMT) (envelope-from kamalpr@yahoo.com) Received: (qmail 48003 invoked by uid 60001); 10 Dec 2004 04:05:29 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=uSZ6oMMsETt03GPYCvK/V+35OAxILfgDsCNF5rHIu2Wm4zPygNCRl+cuJLgmB9waOii8kArBPv9KCv/Mj2JeWKBalsXjfZditJFgN+G3bFGfuyB+yZWxAMpRFuPoINd/iKuSUF1i70yawhJwF6XlfOYuW4qHUfaylINmE/TD624= ; Message-ID: <20041210040529.48001.qmail@web52708.mail.yahoo.com> Received: from [202.142.94.194] by web52708.mail.yahoo.com via HTTP; Thu, 09 Dec 2004 20:05:29 PST Date: Thu, 9 Dec 2004 20:05:29 -0800 (PST) From: "Kamal R. Prasad" To: Julian Elischer , "Kamal R. Prasad" In-Reply-To: <41B8C993.4070807@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Wilko Bulte cc: John-Mark Gurney cc: freebsd-hackers@freebsd.org Subject: Re: mmap() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kamalp@acm.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 04:05:30 -0000 --- Julian Elischer wrote: > > > Kamal R. Prasad wrote: > > > > > My usb device probably doesn't have a dma > controller, so I don't think > > the bulk pipe can use any memory allocated by > bus_dma. [Pl. correct me > > if Im wrong this]. > > thanks > > -kamal > > > all USB devices use full scatter-gather DMA. UHCI > and OHCI are limitted > I believe to 4GB of ram. > EHCI (USB2) has a 64 bit extension that allows all > DMAs of data to be > 64 bit addresses. > I don't know however which chips support the 64 bit > extensions. > So how does one use bus_dma within the USB framework? The API exists, but I don't think any of the src code in src/sys/dev/usb actually uses bus_dma. Oh btw -my data transfer is < 100K, so the 64-bit thing is not an issue. regards -kamal > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com