diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-02-16 18:54:14 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-16 20:00:21 -0800 |
commit | d3f88a24b28dbe6772049693706c23322067e93b (patch) | |
tree | 936fcf70734947531f1aa645eba86b69b8ce9042 /drivers/net/dsa/mv88e6xxx/serdes.h | |
parent | 0d30bbd03d8483548bed1fc1e96fc6cfd10248b1 (diff) | |
download | lwn-d3f88a24b28dbe6772049693706c23322067e93b.tar.gz lwn-d3f88a24b28dbe6772049693706c23322067e93b.zip |
net: dsa: mv88e6xxx: Add 6352 family PCS registers to ethtool -d
The mv88e6352 has one PCS which can be used for 1000BaseX or
SGMII. Add the registers to the dump for the port which the PCS is
associated to.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/serdes.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/serdes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/serdes.h b/drivers/net/dsa/mv88e6xxx/serdes.h index d16ef4da20b0..bb06108ca0bc 100644 --- a/drivers/net/dsa/mv88e6xxx/serdes.h +++ b/drivers/net/dsa/mv88e6xxx/serdes.h @@ -109,6 +109,9 @@ int mv88e6390_serdes_get_strings(struct mv88e6xxx_chip *chip, int mv88e6390_serdes_get_stats(struct mv88e6xxx_chip *chip, int port, uint64_t *data); +int mv88e6352_serdes_get_regs_len(struct mv88e6xxx_chip *chip, int port); +void mv88e6352_serdes_get_regs(struct mv88e6xxx_chip *chip, int port, void *_p); + /* Return the (first) SERDES lane address a port is using, 0 otherwise. */ static inline u8 mv88e6xxx_serdes_get_lane(struct mv88e6xxx_chip *chip, int port) |