diff options
author | Michael Brown <mcb30@ipxe.org> | 2020-11-04 15:23:14 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-11-05 20:18:27 +0000 |
commit | 38a54bd3b1c083b0904555dacf641615370ba172 (patch) | |
tree | bdd98d7f7ca346bcdc3dc4d7360cb43859105048 /src/include/ipxe/pci.h | |
parent | dda03c884d70d18546bb2d02f92acb4c4da28fc8 (diff) | |
download | ipxe-38a54bd3b1c083b0904555dacf641615370ba172.tar.gz |
[efi] Provide DMA operations for EFI PCI devices
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/pci.h')
-rw-r--r-- | src/include/ipxe/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/pci.h b/src/include/ipxe/pci.h index 272c4c06f..6632c574d 100644 --- a/src/include/ipxe/pci.h +++ b/src/include/ipxe/pci.h @@ -12,6 +12,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include <stdint.h> #include <ipxe/device.h> #include <ipxe/tables.h> +#include <ipxe/dma.h> #include <ipxe/pci_io.h> /** PCI vendor ID */ @@ -187,6 +188,8 @@ struct pci_class_id { struct pci_device { /** Generic device */ struct device dev; + /** DMA device */ + struct dma_device dma; /** Memory base * * This is the physical address of the first valid memory BAR. |