diff options
| author | Egil Hjelmeland <privat@egil-hjelmeland.no> | 2017-07-30 19:58:55 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-30 19:23:29 -0700 |
| commit | 9e866e5dab383a295001b13f08e42b906b9dd34d (patch) | |
| tree | 8b5fe4c8184566e524bd5d9b7c9ceb8f71e85a1b /scripts/patch-kernel | |
| parent | net: dsa: lan9303: Multiply by 4 to get MDIO register (diff) | |
| download | linux-9e866e5dab383a295001b13f08e42b906b9dd34d.tar.gz linux-9e866e5dab383a295001b13f08e42b906b9dd34d.zip | |
net: dsa: lan9303: Renamed indirect phy access functions
Preparing for the following fix of MDIO phy access:
Renamed functions that access PHY 1 and 2 indirectly through PMI
registers.
lan9303_port_phy_reg_wait_for_completion() to
lan9303_indirect_phy_wait_for_completion()
lan9303_port_phy_reg_read() to
lan9303_indirect_phy_read()
lan9303_port_phy_reg_write() to
lan9303_indirect_phy_write()
Also changed "val" parameter of lan9303_indirect_phy_write() to u16,
for clarity.
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
