iwlwifi: fix typo which caused iwl_get_tx_fail_reason to ever return an empty string
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-sparc / errno.h
bloba9ef172977de30856cc1f54dfa05363a99a0e383
1 #ifndef _SPARC_ERRNO_H
2 #define _SPARC_ERRNO_H
4 /* These match the SunOS error numbering scheme. */
6 #include <asm-generic/errno-base.h>
8 #define EWOULDBLOCK EAGAIN /* Operation would block */
9 #define EINPROGRESS 36 /* Operation now in progress */
10 #define EALREADY 37 /* Operation already in progress */
11 #define ENOTSOCK 38 /* Socket operation on non-socket */
12 #define EDESTADDRREQ 39 /* Destination address required */
13 #define EMSGSIZE 40 /* Message too long */
14 #define EPROTOTYPE 41 /* Protocol wrong type for socket */
15 #define ENOPROTOOPT 42 /* Protocol not available */
16 #define EPROTONOSUPPORT 43 /* Protocol not supported */
17 #define ESOCKTNOSUPPORT 44 /* Socket type not supported */
18 #define EOPNOTSUPP 45 /* Op not supported on transport endpoint */
19 #define EPFNOSUPPORT 46 /* Protocol family not supported */
20 #define EAFNOSUPPORT 47 /* Address family not supported by protocol */
21 #define EADDRINUSE 48 /* Address already in use */
22 #define EADDRNOTAVAIL 49 /* Cannot assign requested address */
23 #define ENETDOWN 50 /* Network is down */
24 #define ENETUNREACH 51 /* Network is unreachable */
25 #define ENETRESET 52 /* Net dropped connection because of reset */
26 #define ECONNABORTED 53 /* Software caused connection abort */
27 #define ECONNRESET 54 /* Connection reset by peer */
28 #define ENOBUFS 55 /* No buffer space available */
29 #define EISCONN 56 /* Transport endpoint is already connected */
30 #define ENOTCONN 57 /* Transport endpoint is not connected */
31 #define ESHUTDOWN 58 /* No send after transport endpoint shutdown */
32 #define ETOOMANYREFS 59 /* Too many references: cannot splice */
33 #define ETIMEDOUT 60 /* Connection timed out */
34 #define ECONNREFUSED 61 /* Connection refused */
35 #define ELOOP 62 /* Too many symbolic links encountered */
36 #define ENAMETOOLONG 63 /* File name too long */
37 #define EHOSTDOWN 64 /* Host is down */
38 #define EHOSTUNREACH 65 /* No route to host */
39 #define ENOTEMPTY 66 /* Directory not empty */
40 #define EPROCLIM 67 /* SUNOS: Too many processes */
41 #define EUSERS 68 /* Too many users */
42 #define EDQUOT 69 /* Quota exceeded */
43 #define ESTALE 70 /* Stale NFS file handle */
44 #define EREMOTE 71 /* Object is remote */
45 #define ENOSTR 72 /* Device not a stream */
46 #define ETIME 73 /* Timer expired */
47 #define ENOSR 74 /* Out of streams resources */
48 #define ENOMSG 75 /* No message of desired type */
49 #define EBADMSG 76 /* Not a data message */
50 #define EIDRM 77 /* Identifier removed */
51 #define EDEADLK 78 /* Resource deadlock would occur */
52 #define ENOLCK 79 /* No record locks available */
53 #define ENONET 80 /* Machine is not on the network */
54 #define ERREMOTE 81 /* SunOS: Too many lvls of remote in path */
55 #define ENOLINK 82 /* Link has been severed */
56 #define EADV 83 /* Advertise error */
57 #define ESRMNT 84 /* Srmount error */
58 #define ECOMM 85 /* Communication error on send */
59 #define EPROTO 86 /* Protocol error */
60 #define EMULTIHOP 87 /* Multihop attempted */
61 #define EDOTDOT 88 /* RFS specific error */
62 #define EREMCHG 89 /* Remote address changed */
63 #define ENOSYS 90 /* Function not implemented */
65 /* The rest have no SunOS equivalent. */
66 #define ESTRPIPE 91 /* Streams pipe error */
67 #define EOVERFLOW 92 /* Value too large for defined data type */
68 #define EBADFD 93 /* File descriptor in bad state */
69 #define ECHRNG 94 /* Channel number out of range */
70 #define EL2NSYNC 95 /* Level 2 not synchronized */
71 #define EL3HLT 96 /* Level 3 halted */
72 #define EL3RST 97 /* Level 3 reset */
73 #define ELNRNG 98 /* Link number out of range */
74 #define EUNATCH 99 /* Protocol driver not attached */
75 #define ENOCSI 100 /* No CSI structure available */
76 #define EL2HLT 101 /* Level 2 halted */
77 #define EBADE 102 /* Invalid exchange */
78 #define EBADR 103 /* Invalid request descriptor */
79 #define EXFULL 104 /* Exchange full */
80 #define ENOANO 105 /* No anode */
81 #define EBADRQC 106 /* Invalid request code */
82 #define EBADSLT 107 /* Invalid slot */
83 #define EDEADLOCK 108 /* File locking deadlock error */
84 #define EBFONT 109 /* Bad font file format */
85 #define ELIBEXEC 110 /* Cannot exec a shared library directly */
86 #define ENODATA 111 /* No data available */
87 #define ELIBBAD 112 /* Accessing a corrupted shared library */
88 #define ENOPKG 113 /* Package not installed */
89 #define ELIBACC 114 /* Can not access a needed shared library */
90 #define ENOTUNIQ 115 /* Name not unique on network */
91 #define ERESTART 116 /* Interrupted syscall should be restarted */
92 #define EUCLEAN 117 /* Structure needs cleaning */
93 #define ENOTNAM 118 /* Not a XENIX named type file */
94 #define ENAVAIL 119 /* No XENIX semaphores available */
95 #define EISNAM 120 /* Is a named type file */
96 #define EREMOTEIO 121 /* Remote I/O error */
97 #define EILSEQ 122 /* Illegal byte sequence */
98 #define ELIBMAX 123 /* Atmpt to link in too many shared libs */
99 #define ELIBSCN 124 /* .lib section in a.out corrupted */
101 #define ENOMEDIUM 125 /* No medium found */
102 #define EMEDIUMTYPE 126 /* Wrong medium type */
103 #define ECANCELED 127 /* Operation Cancelled */
104 #define ENOKEY 128 /* Required key not available */
105 #define EKEYEXPIRED 129 /* Key has expired */
106 #define EKEYREVOKED 130 /* Key has been revoked */
107 #define EKEYREJECTED 131 /* Key was rejected by service */
109 /* for robust mutexes */
110 #define EOWNERDEAD 132 /* Owner died */
111 #define ENOTRECOVERABLE 133 /* State not recoverable */
113 #endif