Browse Source

avalon: more work on read

Xiangfu 13 years ago
parent
commit
f039d83af6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      driver-avalon.h

+ 5 - 0
driver-avalon.h

@@ -170,6 +170,11 @@ struct AVALON_INFO {
 #define AVA_GETS_OK 0
 #define AVA_GETS_RESTART 1
 #define AVA_GETS_TIMEOUT 2
+#define AVA_GETS_DONE 3
+
+#define AVA_SEND_ERROR -1
+#define AVA_SEND_OK 0
+#define AVA_SEND_FULL 1
 
 #define avalon_buffer_empty(fd)	get_serial_cts(fd)
 #define avalon_task_done(fd)	get_serial_cts(fd)