mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 18:02:46 +00:00
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
This commit is contained in:
parent
a5a309142c
commit
926f000b99
@ -1257,10 +1257,12 @@ static int ag71xx_probe(struct platform_device *pdev)
|
|||||||
ag->max_frame_len = pdata->max_frame_len;
|
ag->max_frame_len = pdata->max_frame_len;
|
||||||
ag->desc_pktlen_mask = pdata->desc_pktlen_mask;
|
ag->desc_pktlen_mask = pdata->desc_pktlen_mask;
|
||||||
|
|
||||||
|
#ifdef notyet
|
||||||
if (!pdata->is_ar724x && !pdata->is_ar91xx) {
|
if (!pdata->is_ar724x && !pdata->is_ar91xx) {
|
||||||
ag->tx_ring.desc_split = AG71XX_TX_RING_SPLIT;
|
ag->tx_ring.desc_split = AG71XX_TX_RING_SPLIT;
|
||||||
ag->tx_ring.size *= AG71XX_TX_RING_DS_PER_PKT;
|
ag->tx_ring.size *= AG71XX_TX_RING_DS_PER_PKT;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
ag->stop_desc = dma_alloc_coherent(NULL,
|
ag->stop_desc = dma_alloc_coherent(NULL,
|
||||||
sizeof(struct ag71xx_desc), &ag->stop_desc_dma, GFP_KERNEL);
|
sizeof(struct ag71xx_desc), &ag->stop_desc_dma, GFP_KERNEL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user