diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-07-13 19:57:05 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-13 17:40:01 -0700 |
| commit | e8e6e73db14273464b374d49ca7242c0994945f3 (patch) | |
| tree | 49f1fa188a17e176e64ccf52f33a6e137dce5dc7 /lib/mpi/mpiutil.c | |
| parent | 67c2404922c2c3f9cc0898aafaa4e3bea2bde084 (diff) | |
net: mscc: ocelot: split writes to pause frame enable bit and to thresholds
We don't want ocelot_port_set_maxlen to enable pause frame TX, just to
adjust the pause thresholds.
Move the unconditional enabling of pause TX to ocelot_init_port. There
is no good place to put such setting because it shouldn't be
unconditional. But at the moment it is, we're not changing that.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
