From owner-freebsd-hackers Mon Jan 14 12:47:20 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by hub.freebsd.org (Postfix) with ESMTP id F1CE537B405 for ; Mon, 14 Jan 2002 12:47:12 -0800 (PST) Received: from decru.com (adsl-66-121-131-203.dsl.snfc21.pacbell.net [66.121.131.203]) by neptune.he.net (8.8.6/8.8.2) with ESMTP id MAA18298; Mon, 14 Jan 2002 12:47:17 -0800 Message-ID: <3C4343B6.2AE5D996@decru.com> Date: Mon, 14 Jan 2002 12:46:46 -0800 From: Phungte Ha Organization: DeCru, Inc. X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: hackers@freebsd.org Cc: phungte@decru.com Subject: bus_dmamap_load change request. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, Currently bus_dmamap_load builds the dma descriptor in a table on the stack. This cause us following problems: . our dma can be large, 1MB or more, this forces us to increase the kernel stack size. . our hardware would be happy with the dma descriptors as they are, address and length. Unfortunately, with the table on the stack, as soon the callback returns, we cannot count on this table anymore. Can we either change the IF, or having another IF which accepts as arguments the table address and a number of entries. The caller will be in charge of allocate and free this table. Thanks for you ideas. Phungte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message