]> git.itanic.dy.fi Git - linux-stable/commit
net: stmmac: Do not cut down 1G modes
authorJose Abreu <Jose.Abreu@synopsys.com>
Mon, 22 Jul 2019 14:07:21 +0000 (16:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 01:29:31 +0000 (18:29 -0700)
commitdf7699c70c1bc1d9333d610fdc91fbbad84b59f2
treee12aeb7b8f41f1199d275af24c4e31c020ac9d5d
parent01ad7facb68f6dc309eb344c0d1d19b33df8cff6
net: stmmac: Do not cut down 1G modes

Some glue logic drivers support 1G without having GMAC/GMAC4/XGMAC.

Let's allow this speed by default.

Reported-by: Ondrej Jirman <megi@xff.cz>
Tested-by: Ondrej Jirman <megi@xff.cz>
Fixes: 5b0d7d7da64b ("net: stmmac: Add the missing speeds that XGMAC supports")
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c