]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-sunxi: Allow all RGMII modes
authorChen-Yu Tsai <wens@csie.org>
Mon, 6 Jan 2020 03:09:22 +0000 (11:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jan 2020 20:30:19 +0000 (12:30 -0800)
commita9a341604f957f6218af236a72a1046077dab530
tree7b6116fb82172b1b156d82fe481e192a36d521f4
parentc063e6dadce50674e4d518dc5755879dd5bf19ff
net: stmmac: dwmac-sunxi: Allow all RGMII modes

Allow all the RGMII modes to be used. This would allow us to represent
the hardware better in the device tree with RGMII_ID where in most
cases the PHY's internal delay for both RX and TX are used.

Fixes: 660c6466f627 ("net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c