commit | a84a757ae7cf844a5ec3e7c32226b48667dedac2 | [log] [tgz] |
---|---|---|
author | Max Filippov <jcmvbkbc@gmail.com> | Fri Aug 05 18:26:16 2016 +0300 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Aug 15 13:34:46 2016 -0500 |
tree | a44d2275a89a8e09dd05235e07785334b8b38c69 | |
parent | f0727120a7b0cfb0f9ba6c3ed46cf970d9182c74 [diff] |
net/ethoc: use priv instead of dev internally Don't use physical base address of registers directly, ioremap it first. Save pointer in private struct ethoc and use that struct in all internal functions. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>