]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Use the proper register during PTP initialization
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 28 Jun 2017 18:41:49 +0000 (13:41 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 19:14:16 +0000 (15:14 -0400)
commit72e0db7196dfb9ff2ef3854b6f7fc27349bd066f
treef5e5450afe08dda00a3ef623b09819a5d42bbba1
parent68c2577215d69840229db9072b778b15a62c007a
amd-xgbe: Use the proper register during PTP initialization

During PTP initialization, the Timestamp Control register should be
cleared and not the Tx Configuration register.  While this typo causes
the wrong register to be cleared, the default value of each register and
and the fact that the Tx Configuration register is programmed afterwards
doesn't result in a bug, hence only fixing in net-next.

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