From: Tom Rini Date: Thu, 23 Oct 2014 13:13:30 -0400 Subject: [U-Boot] [U-Boot, U-boot, v2, 4/4] dma: keystone_nav: generalize driver usage In-Reply-To: <1409932968-9855-5-git-send-email-ivan.khoronzhuk@ti.com> References: <1409932968-9855-5-git-send-email-ivan.khoronzhuk@ti.com> Message-ID: <20141023171330.GM25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Sep 05, 2014 at 07:02:48PM +0300, Khoronzhuk, Ivan wrote: > The keystone_nav driver is general driver intended to be used for > working with queue manager and pktdma for different IPs like NETCP, > AIF, FFTC, etc. So the it's API shouldn't be named like it works only > with one of them, it should be general names. The names with prefix > like netcp_* rather do for drivers/net/keystone_net.c driver. So it's > good to generalize this driver to be used for different IP's and > delete confusion with real NETCP driver. > > The current netcp_* functions of keystone navigator can be used for > other settings of pktdma, not only for NETCP. The API of this driver > is used by the keystone_net driver to work with NETCP, so net driver > also should be corrected. For convenience collect pkdma > configurations in drivers/dma/keystone_nav_cfg.c. > > Acked-by: Vitaly Andrianov > Signed-off-by: Ivan Khoronzhuk Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: