]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dma: keystone_nav: generalize driver usage
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>
Fri, 5 Sep 2014 16:02:48 +0000 (19:02 +0300)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 15:27:04 +0000 (11:27 -0400)
commit9ea9021ac466f5ccc8b6238cbce37428bb58f887
tree0b024accfec5fab8ba0f9b52151a5095602baf7b
parentef4547176d0fa4d43d060a58c0c902add7fe0aed
dma: keystone_nav: generalize driver usage

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 <vitalya@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
arch/arm/include/asm/ti-common/keystone_nav.h
drivers/dma/Makefile
drivers/dma/keystone_nav.c
drivers/dma/keystone_nav_cfg.c [new file with mode: 0644]
drivers/net/keystone_net.c
include/configs/k2hk_evm.h