]> 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)
commit2a9529125330e95e0f1afc1fdd61a2e7a54ea411
tree721490558f9ac2c1b8b2cbe0d3218a0ea83f3bb5
parent5de54d714fb4bd7c3ea22557b0bf9502dc693f9e
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