]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7723f7826b73e49da4e9bf8f84844eba45b404b
treeaa7080ef401dc324ff8220ed69fd38891dac284b
parent8c41588edd41490f637cc03be8e6a21acb81ffd6
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