[PATCH] bcm43xx: Fix array overrun in bcm43xx_geo_init
[linux-2.6/kmemtrace.git] / include / asm-sparc64 / solerrno.h
bloba2ea6fcf3446cfc3cadf1eeebd57e98d1c99c5a9
1 /* $Id: solerrno.h,v 1.1 1996/12/26 14:22:40 davem Exp $
2 * solerrno.h: Solaris error return codes for compatibility.
4 * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
5 */
7 #ifndef _SPARC64_SOLERRNO_H
8 #define _SPARC64_SOLERRNO_H
10 #define SOL_EPERM 1 /* Required superuser access perms */
11 #define SOL_ENOENT 2 /* File or directory does not exist */
12 #define SOL_ESRCH 3 /* Process did not exist */
13 #define SOL_EINTR 4 /* System call was interrupted */
14 #define SOL_EIO 5 /* An i/o error occurred */
15 #define SOL_ENXIO 6 /* Device or Address does not exist */
16 #define SOL_E2BIG 7 /* Too many arguments were given */
17 #define SOL_ENOEXEC 8 /* Header of executable was munged */
18 #define SOL_EBADF 9 /* Bogus file number */
19 #define SOL_ECHILD 10 /* No children of process exist */
20 #define SOL_EAGAIN 11 /* beep beep, "try again later" */
21 #define SOL_ENOMEM 12 /* No memory available */
22 #define SOL_EACCES 13 /* Access not allowed */
23 #define SOL_EFAULT 14 /* Address passed was invalid */
24 #define SOL_ENOTBLK 15 /* blkdev op on non-block device */
25 #define SOL_EBUSY 16 /* Mounted device was busy */
26 #define SOL_EEXIST 17 /* File specified already exists */
27 #define SOL_EXDEV 18 /* Link request across diff devices */
28 #define SOL_ENODEV 19 /* Device does not exist on system */
29 #define SOL_ENOTDIR 20 /* Dir operation on non-directory */
30 #define SOL_EISDIR 21 /* File was of directory type */
31 #define SOL_EINVAL 22 /* Argument passed was invalid */
32 #define SOL_ENFILE 23 /* No more room in file table */
33 #define SOL_EMFILE 24 /* Proc has too many files open */
34 #define SOL_ENOTTY 25 /* Ioctl was invalid for req device */
35 #define SOL_ETXTBSY 26 /* Text file in busy state */
36 #define SOL_EFBIG 27 /* Too big of a file for operation */
37 #define SOL_ENOSPC 28 /* Disk is full */
38 #define SOL_ESPIPE 29 /* Seek attempted on non-seeking dev*/
39 #define SOL_EROFS 30 /* Write attempted on read-only fs */
40 #define SOL_EMLINK 31 /* Too many links in file search */
41 #define SOL_EPIPE 32 /* Call a plumber */
42 #define SOL_EDOM 33 /* Argument was out of fct domain */
43 #define SOL_ERANGE 34 /* Could not represent math result */
44 #define SOL_ENOMSG 35 /* Message of req type doesn't exist */
45 #define SOL_EIDRM 36 /* Identifier has been removed */
46 #define SOL_ECHRNG 37 /* Req channel number out of range */
47 #define SOL_EL2NSYNC 38 /* Could not sync at run level 2 */
48 #define SOL_EL3HLT 39 /* Halted at run level 3 */
49 #define SOL_EL3RST 40 /* Reset at run level 3 */
50 #define SOL_ELNRNG 41 /* Out of range link number */
51 #define SOL_EUNATCH 42 /* Driver for protocol not attached */
52 #define SOL_ENOCSI 43 /* CSI structure not around */
53 #define SOL_EL2HLT 44 /* Halted at run level 2 */
54 #define SOL_EDEADLK 45 /* Deadlock condition detected */
55 #define SOL_ENOLCK 46 /* Record locks unavailable */
56 #define SOL_ECANCELED 47 /* Cancellation of oper. happened */
57 #define SOL_ENOTSUP 48 /* Attempt of unsupported operation */
58 #define SOL_EDQUOT 49 /* Users disk quota exceeded */
59 #define SOL_EBADE 50 /* Invalid exchange */
60 #define SOL_EBADR 51 /* Request descriptor was invalid */
61 #define SOL_EXFULL 52 /* Full exchange */
62 #define SOL_ENOANO 53 /* ano does not exist */
63 #define SOL_EBADRQC 54 /* Req code was invalid */
64 #define SOL_EBADSLT 55 /* Bad slot number */
65 #define SOL_EDEADLOCK 56 /* Deadlock in fs error */
66 #define SOL_EBFONT 57 /* Font file format invalid */
67 /* YOW, I LOVE SYSV STREAMS!!!! */
68 #define SOL_ENOSTR 60 /* Stream-op on non-stream dev */
69 #define SOL_ENODATA 61 /* No data avail at this time */
70 #define SOL_ETIME 62 /* Expiration of time occurred */
71 #define SOL_ENOSR 63 /* Streams resources exhausted */
72 #define SOL_ENONET 64 /* No network connected */
73 #define SOL_ENOPKG 65 /* Non-installed package */
74 #define SOL_EREMOTE 66 /* Object was on remote machine */
75 #define SOL_ENOLINK 67 /* Cut link */
76 #define SOL_EADV 68 /* Error in advertise */
77 #define SOL_ESRMNT 69 /* Some magic srmount problem */
78 #define SOL_ECOMM 70 /* During send, comm error occurred */
79 #define SOL_EPROTO 71 /* Protocol botch */
80 #define SOL_EMULTIHOP 74 /* Multihop attempted */
81 #define SOL_EBADMSG 77 /* Message was unreadable */
82 #define SOL_ENAMETOOLONG 78 /* Too long of a path name */
83 #define SOL_EOVERFLOW 79 /* Data type too small for datum */
84 #define SOL_ENOTUNIQ 80 /* Logical name was not unique */
85 #define SOL_EBADFD 81 /* Op cannot be performed on fd */
86 #define SOL_EREMCHG 82 /* Remote address is now different */
87 #define SOL_ELIBACC 83 /* Shared lib could not be accessed */
88 #define SOL_ELIBBAD 84 /* ShLib is corrupted in some way */
89 #define SOL_ELIBSCN 85 /* A.out ShLib problems */
90 #define SOL_ELIBMAX 86 /* Exceeded ShLib linkage limit */
91 #define SOL_ELIBEXEC 87 /* Execution of ShLib attempted */
92 #define SOL_EILSEQ 88 /* Bad byte sequence found */
93 #define SOL_ENOSYS 89 /* Invalid filesystem operation */
94 #define SOL_ELOOP 90 /* Detected loop in symbolic links */
95 #define SOL_ERESTART 91 /* System call is restartable */
96 #define SOL_ESTRPIPE 92 /* Do not sleep in head of stream */
97 #define SOL_ENOTEMPTY 93 /* Rmdir of non-empty directory */
98 #define SOL_EUSERS 94 /* Over abundance of users for ufs */
99 #define SOL_ENOTSOCK 95 /* Sock-op on non-sock */
100 #define SOL_EDESTADDRREQ 96 /* No dest addr given, but needed */
101 #define SOL_EMSGSIZE 97 /* Msg too big */
102 #define SOL_EPROTOTYPE 98 /* Bad socket protocol */
103 #define SOL_ENOPROTOOPT 99 /* Unavailable protocol */
104 #define SOL_EPROTONOSUPPORT 120 /* Unsupported protocol */
105 #define SOL_ESOCKTNOSUPPORT 121 /* Unsupported socket type */
106 #define SOL_EOPNOTSUPP 122 /* Unsupported sock-op */
107 #define SOL_EPFNOSUPPORT 123 /* Unsupported protocol family */
108 #define SOL_EAFNOSUPPORT 124 /* Unsup addr family for protocol */
109 #define SOL_EADDRINUSE 125 /* Req addr is already in use */
110 #define SOL_EADDRNOTAVAIL 126 /* Req addr not available right now */
111 #define SOL_ENETDOWN 127 /* Your subnet is on fire */
112 #define SOL_ENETUNREACH 128 /* Someone playing with gateway and */
113 /* did not tell you he was going to */
114 #define SOL_ENETRESET 129 /* Buy less-buggy ethernet cards */
115 #define SOL_ECONNABORTED 130 /* Aborted connection due to sw */
116 #define SOL_ECONNRESET 131 /* Your peers reset your connection */
117 #define SOL_ENOBUFS 132 /* No buffer space available */
118 #define SOL_EISCONN 133 /* Connect on already connected */
119 /* socket attempted */
120 #define SOL_ENOTCONN 134 /* Comm on non-connected socket */
121 #define SOL_ESHUTDOWN 143 /* Op attempted after sock-shutdown */
122 #define SOL_ETOOMANYREFS 144 /* Reference limit exceeded */
123 #define SOL_ETIMEDOUT 145 /* Timed out connection */
124 #define SOL_ECONNREFUSED 146 /* Connection refused by remote host*/
125 #define SOL_EHOSTDOWN 147 /* Remote host is up in flames */
126 #define SOL_EHOSTUNREACH 148 /* Make a left at Easton Ave..... */
127 #define SOL_EWOULDBLOCK EAGAIN /* Just an alias */
128 #define SOL_EALREADY 149 /* Operation is already occurring */
129 #define SOL_EINPROGRESS 150 /* Operation is happening now */
130 #define SOL_ESTALE 151 /* Fungus growth on NFS file handle */
132 #endif /* !(_SPARC64_SOLERRNO_H) */