Author: nbd Date: 2014-08-30 11:11:41 +0200 (Sat, 30 Aug 2014) New Revision: 42333
Modified: trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c Log: ar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs in some setups Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c =================================================================== --- trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c 2014-08-30 00:32:05 UTC (rev 42332) +++ trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c 2014-08-30 09:11:41 UTC (rev 42333) @@ -1257,10 +1257,12 @@ 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); _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
