net: dsa: mv88e6xxx: Add support to enabling pause
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Aug 2018 13:38:37 +0000 (15:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 18:08:19 +0000 (11:08 -0700)
commit54186b91bde1711080d0b23ce25f0bee5a058fc9
treeae6b23679f30ff4f141c42b77d76e1557d9463f0
parent78b39066c425ce913af1c0353d8fdc5d8c416e32
net: dsa: mv88e6xxx: Add support to enabling pause

The 6185 can enable/disable 802.3z pause be setting the MyPause bit in
the port status register. Add an op to support this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h