• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/rio/
1/*
2** -----------------------------------------------------------------------------
3**
4**  Perle Specialix driver for Linux
5**  Ported from existing RIO Driver for SCO sources.
6 *
7 *  (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
8 *
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.
13 *
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.
18 *
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.
22**
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
27**
28**  ident @(#)errors.h	1.2
29**
30** -----------------------------------------------------------------------------
31*/
32
33#ifndef	__rio_errors_h__
34#define	__rio_errors_h__
35
36/*
37** error codes
38*/
39
40#define	NOTHING_WRONG_AT_ALL		0
41#define	BAD_CHARACTER_IN_NAME		1
42#define	TABLE_ENTRY_ISNT_PROPERLY_NULL	2
43#define	UNKNOWN_HOST_NUMBER		3
44#define	ZERO_RTA_ID			4
45#define	BAD_RTA_ID			5
46#define	DUPLICATED_RTA_ID		6
47#define	DUPLICATE_UNIQUE_NUMBER		7
48#define	BAD_TTY_NUMBER			8
49#define	TTY_NUMBER_IN_USE		9
50#define	NAME_USED_TWICE			10
51#define	HOST_ID_NOT_ZERO		11
52#define	BOOT_IN_PROGRESS		12
53#define	COPYIN_FAILED			13
54#define	HOST_FILE_TOO_LARGE		14
55#define	COPYOUT_FAILED			15
56#define	NOT_SUPER_USER			16
57#define	RIO_ALREADY_POLLING		17
58
59#define	ID_NUMBER_OUT_OF_RANGE		18
60#define PORT_NUMBER_OUT_OF_RANGE	19
61#define	HOST_NUMBER_OUT_OF_RANGE	20
62#define	RUP_NUMBER_OUT_OF_RANGE		21
63#define	TTY_NUMBER_OUT_OF_RANGE		22
64#define	LINK_NUMBER_OUT_OF_RANGE	23
65
66#define	HOST_NOT_RUNNING		24
67#define	IOCTL_COMMAND_UNKNOWN		25
68#define	RIO_SYSTEM_HALTED		26
69#define	WAIT_FOR_DRAIN_BROKEN		27
70#define	PORT_NOT_MAPPED_INTO_SYSTEM	28
71#define	EXCLUSIVE_USE_SET		29
72#define	WAIT_FOR_NOT_CLOSING_BROKEN	30
73#define	WAIT_FOR_PORT_TO_OPEN_BROKEN	31
74#define	WAIT_FOR_CARRIER_BROKEN		32
75#define	WAIT_FOR_NOT_IN_USE_BROKEN	33
76#define	WAIT_FOR_CAN_ADD_COMMAND_BROKEN	34
77#define	WAIT_FOR_ADD_COMMAND_BROKEN	35
78#define	WAIT_FOR_NOT_PARAM_BROKEN	36
79#define	WAIT_FOR_RETRY_BROKEN		37
80#define	HOST_HAS_ALREADY_BEEN_BOOTED	38
81#define	UNIT_IS_IN_USE			39
82#define	COULDNT_FIND_ENTRY		40
83#define	RTA_UNIQUE_NUMBER_ZERO		41
84#define	CLOSE_COMMAND_FAILED		42
85#define	WAIT_FOR_CLOSE_BROKEN		43
86#define	CPS_VALUE_OUT_OF_RANGE		44
87#define	ID_ALREADY_IN_USE		45
88#define	SIGNALS_ALREADY_SET		46
89#define	NOT_RECEIVING_PROCESS		47
90#define	RTA_NUMBER_WRONG		48
91#define NO_SUCH_PRODUCT			49
92#define	HOST_SYSPORT_BAD		50
93#define	ID_NOT_TENTATIVE		51
94#define XPRINT_CPS_OUT_OF_RANGE		52
95#define	NOT_ENOUGH_CORE_FOR_PCI_COPY	53
96
97
98#endif				/* __rio_errors_h__ */
99