Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1394960
| From | John Crispin <john@phrozen.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] net-next: mediatek: add RX delay support |
| Date | 2016-05-05 11:30 +0200 |
| Message-ID | <rvnLB-5Kz-37@gated-at.bofh.it> (permalink) |
| References | <rvnLA-5Kz-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
If an external Gigabit PHY is connected to either of the MACs we need to
tell the to use a RX delay. Not doing so will result in heavy packet loss
and/or data corruption of RX traffic.
Signed-off-by: John Crispin <john@phrozen.org>
---
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index d397bec..41cdc0d 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -226,6 +226,7 @@ static int mtk_phy_connect(struct mtk_mac *mac)
return -ENODEV;
switch (of_get_phy_mode(np)) {
+ case PHY_INTERFACE_MODE_RGMII_RXID:
case PHY_INTERFACE_MODE_RGMII:
ge_mode = 0;
break;
--
1.7.10.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 3/3] net-next: mediatek: add RX delay support John Crispin <john@phrozen.org> - 2016-05-05 11:30 +0200
Re: [PATCH 3/3] net-next: mediatek: add RX delay support Andrew Lunn <andrew@lunn.ch> - 2016-05-05 14:20 +0200
Re: [PATCH 3/3] net-next: mediatek: add RX delay support John Crispin <john@phrozen.org> - 2016-05-05 19:40 +0200
csiph-web