diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2010-02-16 08:08:54 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2010-02-16 08:08:54 +0000 |
commit | ab60b8f963a38733e6c6047e7b7ecc9713b9240b (patch) | |
tree | cf136d162f1e4f089010f628e897d7fa74a3ecf5 /target/linux/etrax/files/arch/cris/arch-v10/drivers/i2c_errno.h | |
parent | 6606efac31c4facfb5e5cb890c58eb9b812828e4 (diff) | |
download | upstream-ab60b8f963a38733e6c6047e7b7ecc9713b9240b.tar.gz upstream-ab60b8f963a38733e6c6047e7b7ecc9713b9240b.tar.bz2 upstream-ab60b8f963a38733e6c6047e7b7ecc9713b9240b.zip |
...and probably claudio forgot to rename this directory, too :)
SVN-Revision: 19655
Diffstat (limited to 'target/linux/etrax/files/arch/cris/arch-v10/drivers/i2c_errno.h')
-rw-r--r-- | target/linux/etrax/files/arch/cris/arch-v10/drivers/i2c_errno.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/etrax/files/arch/cris/arch-v10/drivers/i2c_errno.h b/target/linux/etrax/files/arch/cris/arch-v10/drivers/i2c_errno.h new file mode 100644 index 0000000000..ddd99b0e5b --- /dev/null +++ b/target/linux/etrax/files/arch/cris/arch-v10/drivers/i2c_errno.h @@ -0,0 +1,20 @@ +#ifndef _I2C_ERRNO_H +#define _I2C_ERRNO_H + +#define EI2CNOERRORS 0 /* All fine */ +#define EI2CBUSNFREE 1 /* I2C bus not free */ +#define EI2CWADDRESS 2 /* Address write failed */ +#define EI2CRADDRESS 3 /* Address read failed */ +#define EI2CSENDDATA 4 /* Sending data failed */ +#define EI2CRECVDATA 5 /* Receiving data failed */ +#define EI2CSTRTCOND 6 /* Start condition failed */ +#define EI2CRSTACOND 7 /* Repeated start condition failed */ +#define EI2CSTOPCOND 8 /* Stop condition failed */ +#define EI2CNOSNDBYT 9 /* Number of send bytes is 0, while there's a send buffer defined */ +#define EI2CNOSNDBUF 10 /* No send buffer defined, while number of send bytes is not 0 */ +#define EI2CNORCVBYT 11 /* Number of receive bytes is 0, while there's a receive buffer defined */ +#define EI2CNORCVBUF 12 /* No receive buffer defined, while number of receive bytes is not 0 */ +#define EI2CNOACKNLD 13 /* No acknowledge received from slave */ +#define EI2CNOMNUMBR 14 /* No MAJOR number received from kernel while registering the device */ + +#endif /* _I2C_ERRNO_H */ |