summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/devtree.h
diff options
context:
space:
mode:
authorMichael Brown2025-04-19 12:54:08 +0200
committerMichael Brown2025-04-19 12:54:08 +0200
commit1291dc39fd09807f6b864c6433444d97be2a0c8a (patch)
tree83ccfc705fd4c5e2b1666ca55dbe7c135c76644c /src/include/ipxe/devtree.h
parent[undi] Work around broken ASUSTeK KNPA-U16 server PXE ROM (diff)
downloadipxe-1291dc39fd09807f6b864c6433444d97be2a0c8a.tar.gz
ipxe-1291dc39fd09807f6b864c6433444d97be2a0c8a.tar.xz
ipxe-1291dc39fd09807f6b864c6433444d97be2a0c8a.zip
[cgem] Add a driver for the Cadence GEM NIC
Add a basic driver for the Cadence GEM network interface as emulated by QEMU when using the RISC-V "sifive_u" machine type. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/devtree.h')
-rw-r--r--src/include/ipxe/devtree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/devtree.h b/src/include/ipxe/devtree.h
index 911e7ad15..04414f370 100644
--- a/src/include/ipxe/devtree.h
+++ b/src/include/ipxe/devtree.h
@@ -10,11 +10,14 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/device.h>
+#include <ipxe/dma.h>
/** A devicetree device */
struct dt_device {
/** Generic device */
struct device dev;
+ /** DMA device */
+ struct dma_device dma;
/** Device path */
const char *path;
/** Driver for this device */