Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / drivers / char / rio / errors.h
blob1d0d8914433761724854c5fd3b7e4412c37559ac
1 /*
2 ** -----------------------------------------------------------------------------
3 **
4 ** Perle Specialix driver for Linux
5 ** Ported from existing RIO Driver for SCO sources.
7 * (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 ** Module : errors.h
24 ** SID : 1.2
25 ** Last Modified : 11/6/98 11:34:10
26 ** Retrieved : 11/6/98 11:34:21
28 ** ident @(#)errors.h 1.2
30 ** -----------------------------------------------------------------------------
33 #ifndef __rio_errors_h__
34 #define __rio_errors_h__
36 #ifdef SCCS_LABELS
37 #ifndef lint
38 static char *_errors_h_sccs_ = "@(#)errors.h 1.2";
39 #endif
40 #endif
43 ** error codes
46 #define NOTHING_WRONG_AT_ALL 0
47 #define BAD_CHARACTER_IN_NAME 1
48 #define TABLE_ENTRY_ISNT_PROPERLY_NULL 2
49 #define UNKNOWN_HOST_NUMBER 3
50 #define ZERO_RTA_ID 4
51 #define BAD_RTA_ID 5
52 #define DUPLICATED_RTA_ID 6
53 #define DUPLICATE_UNIQUE_NUMBER 7
54 #define BAD_TTY_NUMBER 8
55 #define TTY_NUMBER_IN_USE 9
56 #define NAME_USED_TWICE 10
57 #define HOST_ID_NOT_ZERO 11
58 #define BOOT_IN_PROGRESS 12
59 #define COPYIN_FAILED 13
60 #define HOST_FILE_TOO_LARGE 14
61 #define COPYOUT_FAILED 15
62 #define NOT_SUPER_USER 16
63 #define RIO_ALREADY_POLLING 17
65 #define ID_NUMBER_OUT_OF_RANGE 18
66 #define PORT_NUMBER_OUT_OF_RANGE 19
67 #define HOST_NUMBER_OUT_OF_RANGE 20
68 #define RUP_NUMBER_OUT_OF_RANGE 21
69 #define TTY_NUMBER_OUT_OF_RANGE 22
70 #define LINK_NUMBER_OUT_OF_RANGE 23
72 #define HOST_NOT_RUNNING 24
73 #define IOCTL_COMMAND_UNKNOWN 25
74 #define RIO_SYSTEM_HALTED 26
75 #define WAIT_FOR_DRAIN_BROKEN 27
76 #define PORT_NOT_MAPPED_INTO_SYSTEM 28
77 #define EXCLUSIVE_USE_SET 29
78 #define WAIT_FOR_NOT_CLOSING_BROKEN 30
79 #define WAIT_FOR_PORT_TO_OPEN_BROKEN 31
80 #define WAIT_FOR_CARRIER_BROKEN 32
81 #define WAIT_FOR_NOT_IN_USE_BROKEN 33
82 #define WAIT_FOR_CAN_ADD_COMMAND_BROKEN 34
83 #define WAIT_FOR_ADD_COMMAND_BROKEN 35
84 #define WAIT_FOR_NOT_PARAM_BROKEN 36
85 #define WAIT_FOR_RETRY_BROKEN 37
86 #define HOST_HAS_ALREADY_BEEN_BOOTED 38
87 #define UNIT_IS_IN_USE 39
88 #define COULDNT_FIND_ENTRY 40
89 #define RTA_UNIQUE_NUMBER_ZERO 41
90 #define CLOSE_COMMAND_FAILED 42
91 #define WAIT_FOR_CLOSE_BROKEN 43
92 #define CPS_VALUE_OUT_OF_RANGE 44
93 #define ID_ALREADY_IN_USE 45
94 #define SIGNALS_ALREADY_SET 46
95 #define NOT_RECEIVING_PROCESS 47
96 #define RTA_NUMBER_WRONG 48
97 #define NO_SUCH_PRODUCT 49
98 #define HOST_SYSPORT_BAD 50
99 #define ID_NOT_TENTATIVE 51
100 #define XPRINT_CPS_OUT_OF_RANGE 52
101 #define NOT_ENOUGH_CORE_FOR_PCI_COPY 53
104 #endif /* __rio_errors_h__ */