get rid of CRLF encoding in various files
[openwrt/svn-archive/archive.git] / target / linux / etrax / files / arch / cris / arch-v10 / drivers / i2c_errno.h
1 #ifndef _I2C_ERRNO_H
2 #define _I2C_ERRNO_H
3
4 #define EI2CNOERRORS 0 /* All fine */
5 #define EI2CBUSNFREE 1 /* I2C bus not free */
6 #define EI2CWADDRESS 2 /* Address write failed */
7 #define EI2CRADDRESS 3 /* Address read failed */
8 #define EI2CSENDDATA 4 /* Sending data failed */
9 #define EI2CRECVDATA 5 /* Receiving data failed */
10 #define EI2CSTRTCOND 6 /* Start condition failed */
11 #define EI2CRSTACOND 7 /* Repeated start condition failed */
12 #define EI2CSTOPCOND 8 /* Stop condition failed */
13 #define EI2CNOSNDBYT 9 /* Number of send bytes is 0, while there's a send buffer defined */
14 #define EI2CNOSNDBUF 10 /* No send buffer defined, while number of send bytes is not 0 */
15 #define EI2CNORCVBYT 11 /* Number of receive bytes is 0, while there's a receive buffer defined */
16 #define EI2CNORCVBUF 12 /* No receive buffer defined, while number of receive bytes is not 0 */
17 #define EI2CNOACKNLD 13 /* No acknowledge received from slave */
18 #define EI2CNOMNUMBR 14 /* No MAJOR number received from kernel while registering the device */
19
20 #endif /* _I2C_ERRNO_H */