From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757831AbZLKNmA (ORCPT ); Fri, 11 Dec 2009 08:42:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757859AbZLKNly (ORCPT ); Fri, 11 Dec 2009 08:41:54 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:33726 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757449AbZLKNlv (ORCPT ); Fri, 11 Dec 2009 08:41:51 -0500 Date: Fri, 11 Dec 2009 13:42:36 +0000 From: Alan Cox To: Stefani Seibold Cc: linux-kernel , Andrew Morton , Arnd Bergmann , Andi Kleen , Amerigo Wang , Joe Perches , Roger Quadros , Greg Kroah-Hartman , Mauro Carvalho Chehab , Shargorodsky Atal Subject: Re: [PATCH] kfifo: add DMA capabilities Message-ID: <20091211134236.7b9af57b@lxorguk.ukuu.org.uk> In-Reply-To: <1260538589.3925.11.camel@wall-e> References: <1260538589.3925.11.camel@wall-e> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Dec 2009 14:36:29 +0100 Stefani Seibold wrote: > As requested by Shargorodsky Atal: > > This patch adds functions for DMA handling to the new kfifo API. > > To prepare a DMA one of the kfifo_dma_..._prepare() Funktions must be > called. This results in a scatterlist structure which can passed to the > kernel DMA functions. Looks good to me - the tty buffering has similar functions to some bits of this for the same reasons. Alan