[Top] [All Lists]

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

To: Atsushi Nemoto <>
Subject: Re: [PATCH 1/2] dmaengine: TXx9 Soc DMA Controller driver
From: Dan Williams <>
Date: Tue, 31 Mar 2009 12:34:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
Original-recipient: rfc822;
References: <> <> <> <>
On Thu, Mar 26, 2009 at 7:12 AM, Atsushi Nemoto <> wrote:
> On Sat, 21 Mar 2009 21:29:20 +0900 (JST), Atsushi Nemoto 
> <> 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>