[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdi-devel] [PATCH] Update cdi-osdep.h to contain OS-specific structs for PCI and DMA
Signed-off-by: Matthew Iselin <matthew@xxxxxxxxxxxxxx>
---
include/cdi-osdep.h | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/include/cdi-osdep.h b/include/cdi-osdep.h
index 6227e91..2095580 100644
--- a/include/cdi-osdep.h
+++ b/include/cdi-osdep.h
@@ -26,10 +26,28 @@
* the driver with the CDI library.
*
* @param name Name of the driver
- * @param drv Pointer to a driver description (struct cdi_driver*)
+ * @param drv A driver description (struct cdi_driver)
* @param deps List of names of other drivers on which this driver depends
* \endenglish
*/
#define CDI_DRIVER(name, drv, deps...) /* TODO */
+/**
+ * \english
+ * OS-specific PCI data.
+ * \endenglish
+ */
+typedef struct
+{
+} cdi_pci_device_osdep;
+
+/**
+ * \english
+ * OS-specific DMA data.
+ * \endenglish
+ */
+typedef struct
+{
+} cdi_dma_osdep;
+
#endif
--
1.6.0.4