]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Simplify mailbox interface rate change code
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 28 Jun 2017 18:41:32 +0000 (13:41 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 19:14:15 +0000 (15:14 -0400)
commit019989249861cbc3eb799cae93dabee88f1a4682
tree1be6bf0b6299de42509a213928e29a4e64295bdc
parentf6ecbd5989fe666e9c99e9e4da761cee61ca0c95
amd-xgbe: Simplify mailbox interface rate change code

Simplify and centralize the mailbox command rate change interface by
having a single function perform the writes to the mailbox registers
to issue the request.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c