]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: Correct RAVSEL field interpretation
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 4 Sep 2019 13:17:02 +0000 (15:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 10:19:55 +0000 (12:19 +0200)
commit60a16857d2712944c6db55a5fb745bd52ff70ba9
treef0cf59e86c5a4b5bdece5f3ed2c893b660c82032
parentc2f093728631f459e9321fdfe8d2303eda99b9cd
net: stmmac: xgmac: Correct RAVSEL field interpretation

RAVSEL means that only RX side is available for AVB features. As we use
both TX and RX features we need to check if RAVSEL is selected and
disable AVB if only RX side is available.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c