]> 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)
commit4ab0a075c254aa88ad5cb187c3eb5f4ba27a0ab3
treeaa7080ef401dc324ff8220ed69fd38891dac284b
parent6bd46d000d4990caca8cac5453b1713eca458268
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