]> git.sur5r.net Git - u-boot/commit
net: mvpp2: use "dma" instead of "phys" where appropriate
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 20 Feb 2017 09:27:51 +0000 (10:27 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:40:18 +0000 (07:40 +0200)
commit4dae32e676e3c125cb04daab3668d7b4591dd74c
treeeb9f5e658f5e931187adb706c2a9edb94a2f0249
parenta7c28ff184637fdc1fef1c4ea714193b5e82ad82
net: mvpp2: use "dma" instead of "phys" where appropriate

As indicated by Russell King, the mvpp2 driver currently uses a lot
"phys" or "phys_addr" to store what really is a DMA address. This commit
clarifies this by using "dma" or "dma_addr" where appropriate.

This is especially important as we are going to introduce more changes
where the distinction between physical address and DMA address will be
key.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c