diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-12-03 04:45:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-03 23:18:39 -0500 |
commit | b35d322a1d9330597754d5e8d5f76932fad79c1a (patch) | |
tree | aa7080ef401dc324ff8220ed69fd38891dac284b /drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | |
parent | ef70b1119ee8e788f7f4ac22fe1f016363d7921f (diff) | |
download | blackbird-op-linux-b35d322a1d9330597754d5e8d5f76932fad79c1a.tar.gz blackbird-op-linux-b35d322a1d9330597754d5e8d5f76932fad79c1a.zip |
net: dsa: mv88e6xxx: Refactor pause configuration
The mv88e6390 has a different mechanism for configuring pause.
Refactor the code into an ops function, and for the moment, don't add
any mv88e6390 code yet.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/mv88e6xxx.h')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h index 65aa564daf82..3b1f3ab490b9 100644 --- a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h +++ b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h @@ -836,6 +836,7 @@ struct mv88e6xxx_ops { int (*port_jumbo_config)(struct mv88e6xxx_chip *chip, int port); int (*port_egress_rate_limiting)(struct mv88e6xxx_chip *chip, int port); + int (*port_pause_config)(struct mv88e6xxx_chip *chip, int port); /* Snapshot the statistics for a port. The statistics can then * be read back a leisure but still with a consistent view. |