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)
commit549b32af9f7c4b3a924ddf4feb3b09aae6d8c867
tree1be6bf0b6299de42509a213928e29a4e64295bdc
parente3ef6983ccdd067fa2ed7f8e58bca8392d2b5495
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