]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Check if CBS is supported before configuring
authorJose Abreu <jose.abreu@synopsys.com>
Wed, 9 Jan 2019 09:05:58 +0000 (10:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jan 2019 23:35:06 +0000 (15:35 -0800)
commit48d0d428570fddedb2cd5b523fb375ae065ac31f
treead26020d5c0dadd0a810f7fe18f2941cae80ae63
parent4464cbacbdd3fb41ebaa84488651f72bd62a7506
net: stmmac: Check if CBS is supported before configuring

Check if CBS is currently supported before trying to configure it in HW.

Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c