commit | 02a888b567df92904eb0783f4f19a3f744064159 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Fri Aug 05 18:26:19 2016 +0300 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Aug 15 13:34:48 2016 -0500 |
tree | d66ec2907d74836cec9b382a339f2934916ac107 | |
parent | 2de18c8d77b026115dbe6b3e1a35446e31d3dbad [diff] |
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>