[ipxe-devel] Converting a Driver
John Julien
john at julienfamily.com
Wed Jul 20 19:32:14 UTC 2011
Can this code from a Kernel Module:
rxr->rx_desc_ring[j] = pci_alloc_consistent(bp->pdev, RXBD_RING_SIZE,
&rxr->rx_desc_mapping[j]);
Be translated into this code in an iPXE driver?
rxr->rx_desc_ring[j] = malloc_dma(RXBD_RING_SIZE, RXBD_RING_SIZE);
rxr->rx_desc_mapping[j] = virt_to_bus(rxr->rx_desc_ring[j]);
Sent from my iPhone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20110720/8cf8e460/attachment.htm>
More information about the ipxe-devel
mailing list