#define EXPAND_CONCAT(x,y) CONCAT(x,y)
#define STR(x) #x
#define EXPAND_STR(x) STR(x)
+
+#define VER3(major,minor,patch) ((((major)&0xFF)<<16)|(((minor)&0xFF)<<8)|((patch)&0xFF))
/**
* \}
*/
DRV_IOCTL_TYPE,
/**
- * ioctl(..., char *dest[4])
+ * ioctl(..., char *dest[32])
* \brief Get driver identifier string
* \return 0 on no error
*
- * This call sets the 4-byte array \a dest to the drivers 4-byte
+ * This call sets the 32-byte array \a dest to the drivers 31 charater
* identifier. This identifier must be unique to the driver series.
*/
DRV_IOCTL_IDENT,
/**
* ioctl(...)
* \brief Get driver version number
- * \return 24-bit BCD version number (2.2)
+ * \return 24-bit BCD version number (2.2.2)
*
- * This call returns the 6-digit (2 major, 2 minor, 2 patch) version number
- * of the driver.
+ * This call returns the 6-digit (2 major, 2 minor, 2 patch) version
+ * number of the driver.
*/
DRV_IOCTL_VERSION,