summaryrefslogtreecommitdiffstats
path: root/cpukit/libi2c/libi2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libi2c/libi2c.h')
-rw-r--r--cpukit/libi2c/libi2c.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/cpukit/libi2c/libi2c.h b/cpukit/libi2c/libi2c.h
index a3b98f8fd5..560fd53174 100644
--- a/cpukit/libi2c/libi2c.h
+++ b/cpukit/libi2c/libi2c.h
@@ -413,8 +413,19 @@ rtems_libi2c_ioctl (rtems_device_minor_number minor,
* This call is only needed for SPI devices
*/
+#define RTEMS_LIBI2C_IOCTL_GET_DRV_T 4
/*
- * arguemtn data structures for IOCTLs defined above
+ * retval = rtems_libi2c_ioctl(rtems_device_minor_number minor,
+ * RTEMS_LIBI2C_IOCTL_GET_DRV_T,
+ * const rtems_libi2c_drv_t *drv_t_ptr);
+ *
+ * This call allows the a high-level driver to query its driver table entry,
+ * including its private data appended to it during creation of the entry
+ *
+ */
+
+/*
+ * argument data structures for IOCTLs defined above
*/
typedef struct {
unsigned char *rd_buf;