diff options
Diffstat (limited to 'include/asm-mips/rtlx.h')
-rw-r--r-- | include/asm-mips/rtlx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/rtlx.h b/include/asm-mips/rtlx.h index 65778c890a62..4ca3063ed2ce 100644 --- a/include/asm-mips/rtlx.h +++ b/include/asm-mips/rtlx.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef __ASM_RTLX_H | 6 | #ifndef __ASM_RTLX_H_ |
7 | #define __ASM_RTLX_H_ | 7 | #define __ASM_RTLX_H_ |
8 | 8 | ||
9 | #include <irq.h> | 9 | #include <irq.h> |
@@ -29,13 +29,13 @@ extern unsigned int rtlx_read_poll(int index, int can_sleep); | |||
29 | extern unsigned int rtlx_write_poll(int index); | 29 | extern unsigned int rtlx_write_poll(int index); |
30 | 30 | ||
31 | enum rtlx_state { | 31 | enum rtlx_state { |
32 | RTLX_STATE_UNUSED, | 32 | RTLX_STATE_UNUSED = 0, |
33 | RTLX_STATE_INITIALISED, | 33 | RTLX_STATE_INITIALISED, |
34 | RTLX_STATE_REMOTE_READY, | 34 | RTLX_STATE_REMOTE_READY, |
35 | RTLX_STATE_OPENED | 35 | RTLX_STATE_OPENED |
36 | }; | 36 | }; |
37 | 37 | ||
38 | #define RTLX_BUFFER_SIZE 1024 | 38 | #define RTLX_BUFFER_SIZE 2048 |
39 | 39 | ||
40 | /* each channel supports read and write. | 40 | /* each channel supports read and write. |
41 | linux (vpe0) reads lx_buffer and writes rt_buffer | 41 | linux (vpe0) reads lx_buffer and writes rt_buffer |