diff options
-rw-r--r-- | drivers/net/macb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 7721bcb56a..8575c838a8 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -697,8 +697,7 @@ static int macb_probe(struct device_d *dev) edev->recv = macb_recv; macb_init_rx_buffer_size(macb, PKTSIZE); - macb->rx_buffer = dma_alloc_coherent(macb->rx_buffer_size * macb->rx_ring_size, - DMA_ADDRESS_BROKEN); + macb->rx_buffer = dma_alloc(macb->rx_buffer_size * macb->rx_ring_size); macb->rx_ring = dma_alloc_coherent(RX_RING_BYTES(macb), DMA_ADDRESS_BROKEN); macb->tx_ring = dma_alloc_coherent(TX_RING_BYTES, DMA_ADDRESS_BROKEN); |