Skip to content
Snippets Groups Projects
Commit c326de88 authored by Mathieu J. Poirier's avatar Mathieu J. Poirier Committed by David S. Miller
Browse files

net: allow shifted access in smsc911x V2


This is a revised patch that permits a shifted access to the
LAN9221 registers.  More specifically:

 It adds a shift parameter in the platform_data.
 It introduces an ops in smsc911x_data.
 A choice of access function to use at run-time.
 Four new shifted access function.

Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c3e94500
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment