summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGUI <[email protected]>2024-11-24 13:57:37 +0800
committerGitHub <[email protected]>2024-11-24 13:57:37 +0800
commit945114fd59475f94c3dc5829163680f399b5b91d (patch)
tree16bcff757f40a6b6ce7c92b3f13ee0a9cbd0a3a9 /include
parent13e0671f6599de7df1f5d1614e26d52de5c98b4a (diff)
[DM/FEATURE] Support NVME (#9591)
* [DM/FEATURE] Support NVME 1. Support PRP and SGL (>= NVME v1.1) transport. 2. Support MSI/MSI-X for IO queues. 3. Support NVME on PCI. Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 244738a0da..05c59f8908 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -1378,6 +1378,9 @@ struct rt_device
void *ofw_node; /**< ofw node get from device tree */
#endif /* RT_USING_OFW */
void *power_domain_unit;
+#ifdef RT_USING_DMA
+ const void *dma_ops;
+#endif
#endif /* RT_USING_DM */
enum rt_device_class_type type; /**< device type */