]> git.dujemihanovic.xyz Git - u-boot.git/commit
net/ethoc: don't mix virtual and physical addresses
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 5 Aug 2016 15:26:19 +0000 (18:26 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 18:34:48 +0000 (13:34 -0500)
commit02a888b567df92904eb0783f4f19a3f744064159
treed66ec2907d74836cec9b382a339f2934916ac107
parent2de18c8d77b026115dbe6b3e1a35446e31d3dbad
net/ethoc: don't mix virtual and physical addresses

Addresses used in buffer descriptors and passed in platform data or
device tree are physical. Addresses used by CPU to access packet data
and registers are virtual. Don't mix these addresses and use virt_to_phys
for translation.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ethoc.c