aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/pci.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-11-04 15:23:14 +0000
committerMichael Brown <mcb30@ipxe.org>2020-11-05 20:18:27 +0000
commit38a54bd3b1c083b0904555dacf641615370ba172 (patch)
treebdd98d7f7ca346bcdc3dc4d7360cb43859105048 /src/include/ipxe/pci.h
parentdda03c884d70d18546bb2d02f92acb4c4da28fc8 (diff)
downloadipxe-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.h3
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.