diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-01-09 00:24:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-10 16:53:46 -0500 |
commit | ea89098ef9a574bceca00d3b5df14aaf0b3f9ccf (patch) | |
tree | e297bdc4b07f14ad205a03f50c4d572c60285c96 /drivers/net/dsa/mv88e6xxx/chip.h | |
parent | 001e465f09a18857443489a57e74314a3368c805 (diff) |
net: dsa: mv88x6xxx: mv88e6390 errata
The 6390 copper ports have an errata which require poking magic values
into undocumented magic registers and then performing a software
reset.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/chip.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.h b/drivers/net/dsa/mv88e6xxx/chip.h index f9ecb7872d32..546651d8c3e1 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.h +++ b/drivers/net/dsa/mv88e6xxx/chip.h @@ -300,6 +300,11 @@ struct mv88e6xxx_mdio_bus { }; struct mv88e6xxx_ops { + /* Switch Setup Errata, called early in the switch setup to + * allow any errata actions to be performed + */ + int (*setup_errata)(struct mv88e6xxx_chip *chip); + int (*ieee_pri_map)(struct mv88e6xxx_chip *chip); int (*ip_pri_map)(struct mv88e6xxx_chip *chip); |