]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Fix the xpcs mmd debugfs support
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 29 Aug 2014 18:17:02 +0000 (13:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 03:38:14 +0000 (20:38 -0700)
commit04b762742db9a1084794d3d3b80cd020349c7a14
treead31d53aa76740f7ca1044cc071a1c18f3df1384
parent87b38aa18e29134220985aa22db34cef6d19f375
amd-xgbe: Fix the xpcs mmd debugfs support

The debugfs support for the xpcs registers did not properly use the
specified mmd (xpcs_mmd entry) which resulted in the default mmd
value always being used.  Update the debugfs support to generate the
proper mmd register value.

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