ar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes (#13072)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 6 Sep 2014 17:51:48 +0000 (17:51 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 6 Sep 2014 17:51:48 +0000 (17:51 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42429

target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c

index c04fb94b94e30b757d877c1b621c513193336665..2a7567ede5f6f007603de80a4fb469d37dad10f1 100644 (file)
@@ -1262,12 +1262,10 @@ 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);