diff options
| author | Egil Hjelmeland <privat@egil-hjelmeland.no> | 2017-07-30 20:58:56 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-31 05:23:29 +0300 |
| commit | 2c3408986c07515abcbad5dc584a33892e3621da (patch) | |
| tree | 98338ed0c8b39e3c60a06a406620d0b23137e756 /include/uapi | |
| parent | 9e866e5dab383a295001b13f08e42b906b9dd34d (diff) | |
| download | linux-2c3408986c07515abcbad5dc584a33892e3621da.tar.xz | |
net: dsa: lan9303: MDIO access phy registers directly
Indirect access (PMI) to phy register only work in I2C mode. In
MDIO mode phy registers must be accessed directly. Introduced
struct lan9303_phy_ops to handle the two modes.
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 'include/uapi')
0 files changed, 0 insertions, 0 deletions
