]> git.baikalelectronics.ru Git - uboot.git/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)
commitf6773ca3e085112606208f86f2dc6891a3811cd4
treeeb9f5e658f5e931187adb706c2a9edb94a2f0249
parentfbb376c36b22852587c56c5c3983c1feeed49d05
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