MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / drivers / char / rio / error.h
blob229438e355f2d5581dbca2b54d73b69e2ee53692
2 /****************************************************************************
3 ******* *******
4 ******* E R R O R H E A D E R F I L E
5 ******* *******
6 ****************************************************************************
8 Author : Ian Nandhra
9 Date :
12 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 Version : 0.01
31 Mods
32 ----------------------------------------------------------------------------
33 Date By Description
34 ----------------------------------------------------------------------------
36 ***************************************************************************/
38 #ifndef lint
39 /* static char *_rio_error_h_sccs = "@(#)error.h 1.3"; */
40 #endif
42 #define E_NO_ERROR ((ushort) 0)
43 #define E_PROCESS_NOT_INIT ((ushort) 1)
44 #define E_LINK_TIMEOUT ((ushort) 2)
45 #define E_NO_ROUTE ((ushort) 3)
46 #define E_CONFUSED ((ushort) 4)
47 #define E_HOME ((ushort) 5)
48 #define E_CSUM_FAIL ((ushort) 6)
49 #define E_DISCONNECTED ((ushort) 7)
50 #define E_BAD_RUP ((ushort) 8)
51 #define E_NO_VIRGIN ((ushort) 9)
52 #define E_BOOT_RUP_BUSY ((ushort) 10)
56 /*************************************************
57 * Parsed to mem_halt()
58 ************************************************/
59 #define E_CHANALLOC ((ushort) 0x80)
60 #define E_POLL_ALLOC ((ushort) 0x81)
61 #define E_LTTWAKE ((ushort) 0x82)
62 #define E_LTT_ALLOC ((ushort) 0x83)
63 #define E_LRT_ALLOC ((ushort) 0x84)
64 #define E_CIRRUS ((ushort) 0x85)
65 #define E_MONITOR ((ushort) 0x86)
66 #define E_PHB_ALLOC ((ushort) 0x87)
67 #define E_ARRAY_ALLOC ((ushort) 0x88)
68 #define E_QBUF_ALLOC ((ushort) 0x89)
69 #define E_PKT_ALLOC ((ushort) 0x8a)
70 #define E_GET_TX_Q_BUF ((ushort) 0x8b)
71 #define E_GET_RX_Q_BUF ((ushort) 0x8c)
72 #define E_MEM_OUT ((ushort) 0x8d)
73 #define E_MMU_INIT ((ushort) 0x8e)
74 #define E_LTT_INIT ((ushort) 0x8f)
75 #define E_LRT_INIT ((ushort) 0x90)
76 #define E_LINK_RUN ((ushort) 0x91)
77 #define E_MONITOR_ALLOC ((ushort) 0x92)
78 #define E_MONITOR_INIT ((ushort) 0x93)
79 #define E_POLL_INIT ((ushort) 0x94)
82 /*********** end of file ***********/