mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
4dafdbd5b7
Fixes #3432
14 lines
605 B
Diff
14 lines
605 B
Diff
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
|
|
index d4604bc..3f72629 100644
|
|
--- a/drivers/net/ethernet/freescale/fec_main.c
|
|
+++ b/drivers/net/ethernet/freescale/fec_main.c
|
|
@@ -2798,7 +2798,7 @@ fec_enet_alloc_txq_buffers(struct net_device *ndev, unsigned int queue)
|
|
txq = fep->tx_queue[queue];
|
|
bdp = txq->bd.base;
|
|
for (i = 0; i < txq->bd.ring_size; i++) {
|
|
- txq->tx_bounce[i] = kmalloc(FEC_ENET_TX_FRSIZE, GFP_KERNEL);
|
|
+ txq->tx_bounce[i] = kmalloc(FEC_ENET_TX_FRSIZE, GFP_KERNEL | GFP_LX_DMA);
|
|
if (!txq->tx_bounce[i])
|
|
goto err_alloc;
|
|
|