linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] dmaengine: TXx9 Soc DMA Controller driver

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH 1/2] dmaengine: TXx9 Soc DMA Controller driver
From: Dan Williams <dan.j.williams@intel.com>
Date: Tue, 31 Mar 2009 12:34:59 -0700
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, linux-kernel@vger.kernel.org, haavard.skinnemoen@atmel.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=cL9WIvUvZQA+dBNMltyy+yY7mfo7xk8stSTL+Hwr2dQ=; b=DFnHVrOI8mBbrBA4b488ZZrR2A8scyhegqPi//YZkReN89VzvN6ipbT8vvYtsFbQXr yqf+RKlnpTrwmGkJaHf28GwKWGBVo9FlgXvDlud5jg4zBxwJoI+UnLGAaoEFCXVC6AQF CYUH1FhXrM6KcicrHL1NGOQcs3TRlB8YmnmtQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=xrqXYMiJmYBSIWl9LpgRjfkETTa/WdGPoxCHLvLBW5wIf87hJmwQ/JmRYZVIh6EARe PO00K9dTJbxU7TADxtI3Y23HTcVkZBTxjtOr70PT5LI8qJsesaC8fPYVkxw7IEFgxeSH 73Vp3jmVxFaoyg4jWjYZ2nX2rfR8U2yjMPXuk=
In-reply-to: <20090326.231243.112855442.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20090318.110154.76582864.nemoto@toshiba-tops.co.jp> <e9c3a7c20903181026h1801ef6i945e6ce9ccb36b8a@mail.gmail.com> <20090321.212920.25912728.anemo@mba.ocn.ne.jp> <20090326.231243.112855442.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
On Thu, Mar 26, 2009 at 7:12 AM, Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:
> On Sat, 21 Mar 2009 21:29:20 +0900 (JST), Atsushi Nemoto 
> <anemo@mba.ocn.ne.jp> wrote:
> Unfortunately, not so simple.  If I created a dma_device for each
> channel, all chan->chan_id will be 0 and all chan->device->dev points
> same platform device.  This makes client driver hard to select the
> particular channel.  Making a platform device for each channel will
> solve this, but it looks wrong way to go for me.

Why?  mv_xor, iop-adma, and ioat each have a platform or pci device
per channel so you would be in good company.

<Prev in Thread] Current Thread [Next in Thread>