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/perf/scripts/python | |
| parent | net: dsa: lan9303: Fix lan9303_detect_phy_setup() for MDIO (diff) | |
| download | linux-ab78acb152e3f0ded13a13fd27df46448d34a4b7.tar.gz linux-ab78acb152e3f0ded13a13fd27df46448d34a4b7.zip | |
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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
