]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/libps2.h
NLM: Shrink the IPv4-only version of nlm_cmp_addr()
[linux-2.6-omap-h63xx.git] / include / linux / libps2.h
index afc413369101998ce5010ad56b23c752c68b4870..b94534b7e26658b805978e153339378c847575e8 100644 (file)
 #define PS2_RET_ID             0x00
 #define PS2_RET_ACK            0xfa
 #define PS2_RET_NAK            0xfe
+#define PS2_RET_ERR            0xfc
 
 #define PS2_FLAG_ACK           1       /* Waiting for ACK/NAK */
 #define PS2_FLAG_CMD           2       /* Waiting for command to finish */
 #define PS2_FLAG_CMD1          4       /* Waiting for the first byte of command response */
 #define PS2_FLAG_WAITID                8       /* Command execiting is GET ID */
+#define PS2_FLAG_NAK           16      /* Last transmission was NAKed */
 
 struct ps2dev {
        struct serio *serio;