/* Error Values, from glibc errno.h and errno-base.h */
-#define EIO 5 /* Bad one: Illegal start or stop, or illegal state in i2c state machine */
+#define EIO 5 /* Bad one: Input or Output error. */
#define EAGAIN 11 /* Device already in use */
-#define EFAULT 14 /* address above eeprom size */
-#define EBUSY 16 /* Device or ressource Busy or Arbitration lost */
+#define EFAULT 14 /* Address error */
+#define EBUSY 16 /* Device or ressource Busy */
#define ENODEV 19 /* No such device */
#define EINVAL 22 /* Invalid argument */
#define EBADFD 77 /* Device not initialized */
#define EREMOTEIO 121 /* Device did not acknowledge */
+/* Note on error values for I2C :
+ * EIO : Bad one: Illegal start or stop, or illegal state in i2c state machine
+ * EFAULT : address above eeprom size
+ * EBUSY : Device or ressource Busy or Arbitration lost
+ * EREMOTEIO : Device did not acknowledge
+ */
/***************************************************************************** */
/* Power up defaults */