]> asedeno.scripts.mit.edu Git - linux.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)
commitc2b69474d63b62e7a1898faf86d096ad132e7baa
treef0cf59e86c5a4b5bdece5f3ed2c893b660c82032
parent8f9e5b5db4e2f2edfe2dba639d39524ea278409b
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