Re: [PATCH] dmaengine: delete redundant chan_id and chancntinitialization in dma drivers

From: Russell King - ARM Linux
Date: Thu Sep 22 2011 - 04:23:09 EST


On Thu, Sep 22, 2011 at 08:08:44AM +0800, Barry Song wrote:
> actually i don't like the way dmaengine core handles chan_id. in my
> opinion, every dmac only needs to tell dmaengine core the chan_base.
> then dmaengine core set the id in a global scale.

Think about where we're heading with DT - with the description of the
hardware setup. We're no longer interested in a global number from
0 to N. We're more interested in per-device numbering.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/