]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Fix mask appliciation for Clause 37 register
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Mon, 14 Nov 2016 22:39:07 +0000 (16:39 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 03:12:57 +0000 (22:12 -0500)
commit3b7f77e995c00acca3235f358fdb677a9c07e3ae
tree721490558f9ac2c1b8b2cbe0d3218a0ea83f3bb5
parent0678c03ae302782eda43adc6a29c2973bd93742d
amd-xgbe: Fix mask appliciation for Clause 37 register

The application of a mask to clear an area of a clause 37 register value
was not properly applied. Update the code to do the proper application
of the mask.

Reported-by: Marion & Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c