net: dsa: mv88e6xxx: Refactor pause configuration
authorAndrew Lunn <andrew@lunn.ch>
Sat, 3 Dec 2016 03:45:19 +0000 (04:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Dec 2016 04:18:39 +0000 (23:18 -0500)
commitb35d322a1d9330597754d5e8d5f76932fad79c1a
treeaa7080ef401dc324ff8220ed69fd38891dac284b
parentef70b1119ee8e788f7f4ac22fe1f016363d7921f
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>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h