stmmac: fix DMA channel hang in half-duplex mode
authorBhadram Varka <vbhadram@nvidia.com>
Sun, 17 Jun 2018 14:32:05 +0000 (20:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jun 2018 05:35:20 +0000 (14:35 +0900)
commitb6cfffa7ad923c73f317ea50fd4ebcb3b4b6669c
treecd1acaf785acd38718cc7c6cdb4f4a5dc3a36a95
parentbc8a2d9bcbf1ca548b1deb315d14e1da81945bea
stmmac: fix DMA channel hang in half-duplex mode

HW does not support Half-duplex mode in multi-queue
scenario. Fix it by not advertising the Half-Duplex
mode if multi-queue enabled.

Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c