amd-xgbe: Read and save the port property registers during probe
authorTom Lendacky <thomas.lendacky@amd.com>
Wed, 23 May 2018 16:38:20 +0000 (11:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 20:33:00 +0000 (16:33 -0400)
commitb93c3ab6006b379f2df238693b6e131cba9b37b3
treed95e821e01c562a7974017bb6150ae276dc19c09
parent6c2799c11e3681729f448706e6484cffad8a5633
amd-xgbe: Read and save the port property registers during probe

Read and save the port property registers once during the device probe
and then use the saved values as they are needed.

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