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
_______________________________________________ ipxe-devel mailing list [email protected] https://lists.ipxe.org/mailman/listinfo/ipxe-devel

