diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-06-02 17:06:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-04 20:07:41 -0400 |
commit | c4530ee177f309f7c339f21b70fa6f77798650b8 (patch) | |
tree | 1647d288abf1f53205322a398bb5afdd49c49fa5 /drivers/net/dsa/mv88e6xxx/phy.h | |
parent | net: dsa: mv88e6xxx: rename chip header (diff) | |
download | linux-dev-c4530ee177f309f7c339f21b70fa6f77798650b8.tar.xz linux-dev-c4530ee177f309f7c339f21b70fa6f77798650b8.zip |
net: dsa: mv88e6xxx: move PHY macros
Move the PHY_* macros where they belong, in the related phy.h header.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/phy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/phy.h b/drivers/net/dsa/mv88e6xxx/phy.h index 91fe3c3e9aea..4131a4e8206a 100644 --- a/drivers/net/dsa/mv88e6xxx/phy.h +++ b/drivers/net/dsa/mv88e6xxx/phy.h @@ -14,6 +14,9 @@ #ifndef _MV88E6XXX_PHY_H #define _MV88E6XXX_PHY_H +#define PHY_PAGE 0x16 +#define PHY_PAGE_COPPER 0x00 + /* PHY Registers accesses implementations */ int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, int addr, int reg, u16 *val); |