source: SVN/rincon/u-boot/board/Marvell/common/ppc_error_no.h @ 55

Last change on this file since 55 was 55, checked in by Tim Harvey, 22 months ago

rincon: added latest u-boot source

restored form server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 7.2 KB
Line 
1/*
2 * (C) Copyright 2003
3 * Ingo Assmus <ingo.assmus@keymile.com>
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23
24/*
25 * BK Id: SCCS/s.errno.h 1.9 06/05/01 21:45:21 paulus
26 */
27#ifndef _MV_PPC_ERRNO_H
28#define _MV_PPC_ERRNO_H
29
30#define EPERM            1      /* Operation not permitted */
31#define ENOENT           2      /* No such file or directory */
32#define ESRCH            3      /* No such process */
33#define EINTR            4      /* Interrupted system call */
34#define EIO              5      /* I/O error */
35#define ENXIO            6      /* No such device or address */
36#define E2BIG            7      /* Arg list too long */
37#define ENOEXEC          8      /* Exec format error */
38#define EBADF            9      /* Bad file number */
39#define ECHILD          10      /* No child processes */
40#define EAGAIN          11      /* Try again */
41#define ENOMEM          12      /* Out of memory */
42#define EACCES          13      /* Permission denied */
43#define EFAULT          14      /* Bad address */
44#define ENOTBLK         15      /* Block device required */
45#define EBUSY           16      /* Device or resource busy */
46#define EEXIST          17      /* File exists */
47#define EXDEV           18      /* Cross-device link */
48#define ENODEV          19      /* No such device */
49#define ENOTDIR         20      /* Not a directory */
50#define EISDIR          21      /* Is a directory */
51#define EINVAL          22      /* Invalid argument */
52#define ENFILE          23      /* File table overflow */
53#define EMFILE          24      /* Too many open files */
54#define ENOTTY          25      /* Not a typewriter */
55#define ETXTBSY         26      /* Text file busy */
56#define EFBIG           27      /* File too large */
57#define ENOSPC          28      /* No space left on device */
58#define ESPIPE          29      /* Illegal seek */
59#define EROFS           30      /* Read-only file system */
60#define EMLINK          31      /* Too many links */
61#define EPIPE           32      /* Broken pipe */
62#define EDOM            33      /* Math argument out of domain of func */
63#define ERANGE          34      /* Math result not representable */
64#define EDEADLK         35      /* Resource deadlock would occur */
65#define ENAMETOOLONG    36      /* File name too long */
66#define ENOLCK          37      /* No record locks available */
67#define ENOSYS          38      /* Function not implemented */
68#define ENOTEMPTY       39      /* Directory not empty */
69#define ELOOP           40      /* Too many symbolic links encountered */
70#define EWOULDBLOCK     EAGAIN  /* Operation would block */
71#define ENOMSG          42      /* No message of desired type */
72#define EIDRM           43      /* Identifier removed */
73#define ECHRNG          44      /* Channel number out of range */
74#define EL2NSYNC        45      /* Level 2 not synchronized */
75#define EL3HLT          46      /* Level 3 halted */
76#define EL3RST          47      /* Level 3 reset */
77#define ELNRNG          48      /* Link number out of range */
78#define EUNATCH         49      /* Protocol driver not attached */
79#define ENOCSI          50      /* No CSI structure available */
80#define EL2HLT          51      /* Level 2 halted */
81#define EBADE           52      /* Invalid exchange */
82#define EBADR           53      /* Invalid request descriptor */
83#define EXFULL          54      /* Exchange full */
84#define ENOANO          55      /* No anode */
85#define EBADRQC         56      /* Invalid request code */
86#define EBADSLT         57      /* Invalid slot */
87#define EDEADLOCK       58      /* File locking deadlock error */
88#define EBFONT          59      /* Bad font file format */
89#define ENOSTR          60      /* Device not a stream */
90#define ENODATA         61      /* No data available */
91#define ETIME           62      /* Timer expired */
92#define ENOSR           63      /* Out of streams resources */
93#define ENONET          64      /* Machine is not on the network */
94#define ENOPKG          65      /* Package not installed */
95#define EREMOTE         66      /* Object is remote */
96#define ENOLINK         67      /* Link has been severed */
97#define EADV            68      /* Advertise error */
98#define ESRMNT          69      /* Srmount error */
99#define ECOMM           70      /* Communication error on send */
100#define EPROTO          71      /* Protocol error */
101#define EMULTIHOP       72      /* Multihop attempted */
102#define EDOTDOT         73      /* RFS specific error */
103#define EBADMSG         74      /* Not a data message */
104#define EOVERFLOW       75      /* Value too large for defined data type */
105#define ENOTUNIQ        76      /* Name not unique on network */
106#define EBADFD          77      /* File descriptor in bad state */
107#define EREMCHG         78      /* Remote address changed */
108#define ELIBACC         79      /* Can not access a needed shared library */
109#define ELIBBAD         80      /* Accessing a corrupted shared library */
110#define ELIBSCN         81      /* .lib section in a.out corrupted */
111#define ELIBMAX         82      /* Attempting to link in too many shared libraries */
112#define ELIBEXEC        83      /* Cannot exec a shared library directly */
113#define EILSEQ          84      /* Illegal byte sequence */
114#define ERESTART        85      /* Interrupted system call should be restarted */
115#define ESTRPIPE        86      /* Streams pipe error */
116#define EUSERS          87      /* Too many users */
117#define ENOTSOCK        88      /* Socket operation on non-socket */
118#define EDESTADDRREQ    89      /* Destination address required */
119#define EMSGSIZE        90      /* Message too long */
120#define EPROTOTYPE      91      /* Protocol wrong type for socket */
121#define ENOPROTOOPT     92      /* Protocol not available */
122#define EPROTONOSUPPORT 93      /* Protocol not supported */
123#define ESOCKTNOSUPPORT 94      /* Socket type not supported */
124#define EOPNOTSUPP      95      /* Operation not supported on transport endpoint */
125#define EPFNOSUPPORT    96      /* Protocol family not supported */
126#define EAFNOSUPPORT    97      /* Address family not supported by protocol */
127#define EADDRINUSE      98      /* Address already in use */
128#define EADDRNOTAVAIL   99      /* Cannot assign requested address */
129#define ENETDOWN        100     /* Network is down */
130#define ENETUNREACH     101     /* Network is unreachable */
131#define ENETRESET       102     /* Network dropped connection because of reset */
132#define ECONNABORTED    103     /* Software caused connection abort */
133#define ECONNRESET      104     /* Connection reset by peer */
134#define ENOBUFS         105     /* No buffer space available */
135#define EISCONN         106     /* Transport endpoint is already connected */
136#define ENOTCONN        107     /* Transport endpoint is not connected */
137#define ESHUTDOWN       108     /* Cannot send after transport endpoint shutdown */
138#define ETOOMANYREFS    109     /* Too many references: cannot splice */
139#define ETIMEDOUT       110     /* Connection timed out */
140#define ECONNREFUSED    111     /* Connection refused */
141#define EHOSTDOWN       112     /* Host is down */
142#define EHOSTUNREACH    113     /* No route to host */
143#define EALREADY        114     /* Operation already in progress */
144#define EINPROGRESS     115     /* Operation now in progress */
145#define ESTALE          116     /* Stale NFS file handle */
146#define EUCLEAN         117     /* Structure needs cleaning */
147#define ENOTNAM         118     /* Not a XENIX named type file */
148#define ENAVAIL         119     /* No XENIX semaphores available */
149#define EISNAM          120     /* Is a named type file */
150#define EREMOTEIO       121     /* Remote I/O error */
151#define EDQUOT          122     /* Quota exceeded */
152
153#define ENOMEDIUM       123     /* No medium found */
154#define EMEDIUMTYPE     124     /* Wrong medium type */
155
156/* Should never be seen by user programs */
157#define ERESTARTSYS     512
158#define ERESTARTNOINTR  513
159#define ERESTARTNOHAND  514     /* restart if no handler.. */
160#define ENOIOCTLCMD     515     /* No ioctl command */
161
162#define _LAST_ERRNO     515
163
164#endif
Note: See TracBrowser for help on using the repository browser.