summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-08-30 09:11:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-08-30 09:11:41 +0000
commit926f000b99d31b9d4495c112149377c0da66dbc1 (patch)
tree7802100543c5f81df909ad47355f3b65f1527861 /target/linux/ar71xx
parenta5a309142cc56356359a94561029dcb40e3d29a5 (diff)
downloadmtk-20170518-926f000b99d31b9d4495c112149377c0da66dbc1.zip
mtk-20170518-926f000b99d31b9d4495c112149377c0da66dbc1.tar.gz
mtk-20170518-926f000b99d31b9d4495c112149377c0da66dbc1.tar.bz2
ar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs in some setups
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42333
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
index b0f3915..ed04033 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
@@ -1257,10 +1257,12 @@ static int ag71xx_probe(struct platform_device *pdev)
ag->max_frame_len = pdata->max_frame_len;
ag->desc_pktlen_mask = pdata->desc_pktlen_mask;
+#ifdef notyet
if (!pdata->is_ar724x && !pdata->is_ar91xx) {
ag->tx_ring.desc_split = AG71XX_TX_RING_SPLIT;
ag->tx_ring.size *= AG71XX_TX_RING_DS_PER_PKT;
}
+#endif
ag->stop_desc = dma_alloc_coherent(NULL,
sizeof(struct ag71xx_desc), &ag->stop_desc_dma, GFP_KERNEL);