diff options
author | Egil Hjelmeland <privat@egil-hjelmeland.no> | 2017-07-30 19:58:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-30 19:23:29 -0700 |
commit | ab78acb152e3f0ded13a13fd27df46448d34a4b7 (patch) | |
tree | c667fd14e68af053ab56517cad99a9fed7204187 /tools | |
parent | d329ac88eb217fef1516a1dcfda27b7f5a8eb07b (diff) | |
download | linux-ab78acb152e3f0ded13a13fd27df46448d34a4b7.tar.bz2 |
net: dsa: lan9303: Multiply by 4 to get MDIO register
lan9303_mdio_write()/_read() must multiply register number by 4 to get
offset.
Added some commments to the register definitions.
Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions