1 /* THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT */ 2 #define DSW_EEMPTY 0x20001 /* Empty string */ 3 #define DSW_EHDRBMP 0x20002 /* Unable to read or write bitmap header */ 4 #define DSW_EINVALBMP 0x20003 /* Bitmap magic number is not valid */ 5 #define DSW_EMISMATCH 0x20004 /* Arguments inconsistent with current bitmap */ 6 #define DSW_ESHDSIZE 0x20005 /* Shadow too small */ 7 #define DSW_EBMPSIZE 0x20006 /* Bitmap too small */ 8 #define DSW_EREGISTER 0x20007 /* Registration failed */ 9 #define DSW_EDIRTY 0x20008 /* Bitmap is dirty */ 10 #define DSW_ESHUTDOWN 0x20009 /* Shadow shutting down */ 11 #define DSW_EOPEN 0x2000a /* nsc_open failed */ 12 #define DSW_EINUSE 0x2000b /* Volume in use */ 13 #define DSW_ENOTFOUND 0x2000c /* Volume not enabled */ 14 #define DSW_ECOPYING 0x2000d /* Volume copy in progress */ 15 #define DSW_EIO 0x2000e /* I/O error copying data */ 16 #define DSW_EABORTED 0x2000f /* Copy operation aborted */ 17 #define DSW_EPARTSIZE 0x20010 /* nsc_partsize failed */ 18 #define DSW_EDEPENDENCY 0x20011 /* Volumes are not currently independent */ 19 #define DSW_EMAPMEMORY 0x20012 /* Could not allocate memory for bitmaps in interface library (malloc) */ 20 #define DSW_ERSRVFAIL 0x20013 /* nsc_reserve failed */ 21 #define DSW_EOPACKAGE 0x20014 /* Another package would not allow target to be changed at this moment */ 22 #define DSW_EINCOMPLETE 0x20015 /* Source shadow volume is not complete due to earlier overflow */ 23 #define DSW_ENOTEXPORTED 0x20016 /* Shadow volume is not exported */ 24 #define DSW_EALREADY 0x20017 /* Operation already successfully performed */ 25 #define DSW_EWRONGTYPE 0x20018 /* Wrong type of shadow group */ 26 #define DSW_EOMAGIC 0x20019 /* Overflow volume magic number or name does not match */ 27 #define DSW_EODEPENDENCY 0x2001a /* Volumes are currently dependent on overflow volume */ 28 #define DSW_EOFFLINE 0x2001b /* Volume offline */ 29 #define DSW_ENOTLOCKED 0x2001c /* Set not pid-locked */ 30 #define DSW_ECNOTFOUND 0x2001d /* Cluster resource group not found */ 31 #define DSW_EGNOTFOUND 0x2001e /* No such group defined */ 32 #define DSW_EDISABLE 0x2001f /* One or more sets failed to be disabled */ 33 #define DSW_EISEXPORTED 0x20020 /* Update or copy not allowed on an exported shadow volume */ 34 #define RDC_EEPERM 0x40001 /* Must be super-user to execute */ 35 #define RDC_EEINVAL 0x1040002 /* Invalid flag %s */ 36 #define RDC_EALREADY 0x2040003 /* %s ==> %s not already enabled */ 37 #define RDC_EDISABLEPENDING 0x2040004 /* Disable pending on %s ==> %s, try again later */ 38 #define RDC_EENABLEPENDING 0x2040005 /* Enable pending on %s ==> %s, try again later */ 39 #define RDC_EOPNSECSRC 0x2040006 /* Host %s: Source %s, open remote host failed */ 40 #define RDC_EOPNPRISRC 0x2040007 /* Host %s: Source %s, open failed */ 41 #define RDC_EOPNSECTGT 0x2040008 /* Host %s: Target %s, open remote host failed */ 42 #define RDC_EOPNPRITGT 0x2040009 /* Host %s: Target %s, open failed */ 43 #define RDC_ENOLOCHOST 0x404000a /* Disks %s,%s do not reside on host %s or host %s */ 44 #define RDC_ENOTREMOTE 0x304000b /* Master %s and Slave %s have same id %s */ 45 #define RDC_EMASTERNOTLOCAL 0x204000c /* Master %s does not reside on this host: %s */ 46 #define RDC_EYOUNGER 0x204000d /* %s is failed from %s..cannot proceed */ 47 #define RDC_ENODISABLE 0x4000e /* Currently syncing, unable to disable */ 48 #define RDC_ECONN 0x104000f /* Unable to connect to %s: local disable complete, remote disable aborted */ 49 #define RDC_EFLUSH 0x2040010 /* Will disable when ATM queue flushes on %s ==> %s */ 50 #define RDC_ESYNCING 0x1040011 /* Request not serviced, %s is currently being synced. */ 51 #define RDC_EINITREMOTE 0x2040012 /* Could not initialize remote data structures on %s ==> %s set */ 52 #define RDC_EINITLOCAL 0x2040013 /* Could not initialize local data structures on %s ==> %s set */ 53 #define RDC_ENOSLAVE 0x1040014 /* Target %s is failed, cannot set up for sync operation */ 54 #define RDC_ESIZE 0x6040015 /* Size of Primary %s:%s(%s) must be less than or equal to size of Secondary %s:%s(%s) */ 55 #define RDC_ESIZCHG 0x40016 /* Device size change in dual copy set */ 56 #define RDC_ENOBMAP 0x40017 /* Recovery bitmaps not allocated */ 57 #define RDC_EINITAFTERSYNC 0x2040018 /* Could not initialize data structures on %s ==> %s set after sync */ 58 #define RDC_EFAIL 0x1040019 /* Dual copy failed, offset:%s */ 59 #define RDC_EMIRRORDOWN 0x4001a /* Mirror node is down */ 60 #define RDC_EGETSIZE 0x304001b /* %s:%s has invalid size (%s)..cannot proceed */ 61 #define RDC_EUPDATE 0x404001c /* Update sync %s:%s ==> %s:%s only allowed for an rdc device set */ 62 #define RDC_EEQUAL 0x204001d /* Illegal device set %s:%s to itself */ 63 #define RDC_EMATCH 0x204001e /* Device %s:%s belongs to another RDC device set */ 64 #define RDC_EMASTER 0x404001f /* Changing the primary SNDR device %s:%s to become secondary and the secondary SNDR device %s:%s to become primary is not allowed in advanced configs */ 65 #define RDC_ECONNOPEN 0x2040020 /* Could not open file %s:%s on remote node */ 66 #define RDC_ENOPROC 0x40021 /* Could not create rdc_config process */ 67 #define RDC_EBITMAP 0x1040022 /* Allocation of bitmap device %s failed */ 68 #define RDC_EMIRRORUP 0x40023 /* Change request denied, volume mirror is up */ 69 #define RDC_EVERSION 0x40024 /* Change request denied, don't understand request version */ 70 #define RDC_EEMPTY 0x40025 /* Empty string */ 71 #define RDC_EENABLED 0x4040026 /* %s:%s ==> %s:%s is already enabled */ 72 #define RDC_EOPEN 0x2040027 /* Unable to open %s:%s */ 73 #define RDC_EADDTOIF 0x2040028 /* Unable to add interface %s to %s */ 74 #define RDC_EREGISTER 0x1040029 /* Unable to register %s */ 75 #define RDC_ENOTPRIMARY 0x404002a /* Not primary, cannot sync %s:%s and %s:%s */ 76 #define RDC_ERSYNCNEEDED 0x404002b /* Reverse sync needed, cannot sync %s:%s ==> %s:%s */ 77 #define RDC_ENOTHREADS 0x4002c /* Unable to initialize the kernel thread set */ 78 #define RDC_ENETCONFIG 0x4002d /* NULL struct knetconfig passed down from user program */ 79 #define RDC_ENETBUF 0x104002e /* NULL struct netbuf passed down from user program for %s */ 80 #define RDC_ESTATE 0x404002f /* The state of %s:%s ==> %s:%s prevents this operation */ 81 #define RDC_EMANY2ONE 0x4040030 /* Cannot enable %s:%s ==> %s:%s, secondary in use in another set */ 82 #define RDC_ERSTATE 0x4040031 /* The remote state of %s:%s ==> %s:%s prevents this operation */ 83 #define RDC_EBMPINUSE 0x1040032 /* The bitmap %s is already in use */ 84 #define RDC_EVOLINUSE 0x1040033 /* The volume %s is already in use */ 85 #define RDC_EMULTI 0x40034 /* Cannot use direct I/O on first leg of multi hop config */ 86 #define RDC_EGROUP 0x5040035 /* Cannot add %s:%s ==> %s:%s to group %s */ 87 #define RDC_EGROUPMODE 0x40036 /* Cannot reconfigure sync/async on members of a group */ 88 #define RDC_ENOTLOGGING 0x4040037 /* Cannot reconfig %s:%s to %s:%s, Must be in logging mode */ 89 #define RDC_EBMPRECONFIG 0x2040038 /* Bitmap reconfig failed %s:%s */ 90 #define RDC_EBMAPLOGGING 0x2040039 /* Cannot overwrite bitmap as the set %s:%s is not in logging mode */ 91 #define RDC_EQDISABLEPEND 0x104003a /* Disable pending on diskq %s, try again later */ 92 #define RDC_EQNOTLOGGING 0x104003b /* Cannot change disk queue %s, all associated sets must be in logging mode */ 93 #define RDC_EQALREADY 0x404003c /* %s:%s ==> %s:%s already has a disk queue attached */ 94 #define RDC_EQNOQUEUE 0x404003d /* Disk queue does not exist for set %s:%s ==> %s:%s */ 95 #define RDC_EQFLUSHING 0x104003e /* Operation not possible. Disk queue %s is flushing, try again later */ 96 #define RDC_EQWRONGMODE 0x4003f /* Disk queue operations on synchronous sets not allowed */ 97 #define RDC_EDISKQINUSE 0x1040040 /* Disk queue %s is already in use */ 98 #define RDC_EQNOADD 0x1040041 /* Unable to enable disk queue %s */ 99 #define RDC_EQINITFAIL 0x1040042 /* Initialization of disk queue %s failed */ 100 #define RDC_EQNOTEMPTY 0x1040043 /* Operation not possible, disk queue %s is not empty. */ 101 #define RDC_EQUEISREP 0x1040044 /* Disk queue %s operation not possible, set is in replicating mode */ 102 #define RDC_EQNORSYNC 0x4040045 /* Cannot reverse sync %s:%s <== %s:%s, set is in queuing mode */ 103 #define RDC_ESETNOTLOGGING 0x2040046 /* can not start sync as set %s:%s is not logging */ 104 #define RDC_EBITMAP2SMALL 0x1040047 /* Allocation of bitmap device %s failed, volume is too small */ 105 #define SPCS_EOVERFLOW 0x10001 /* status codes and/or supporting information lost */ 106 #define SPCS_EBADHANDLE 0x10002 /* The handle presented for access is not valid */ 107 #define SPCS_EACCESS 0x10003 /* Unable to grant access */ 108 #define SPCS_EINTERNAL 0x10004 /* An internal error happened */ 109 #define SPCS_EINUSE 0x10005 /* The handle is already in use */ 110 #define SPCS_ENODRIVER 0x10006 /* The referenced SPCS driver could not be loaded: */ 111 #define SPCS_EVERSION 0x10007 /* Expected version not found, got libspcs.jar version: */ 112 #define SPCS_EUNEXPECTED 0x10008 /* The libspcs.jar version does not match the libspcs.so version */ 113 #define SPCS_EWRONGMOD 0x10009 /* Handle presented belongs to some other SPCS module */ 114 #define SPCS_ENEEDROOT 0x1000a /* Root privilege required for libspcs access */ 115 #define SPCS_EASYNCTEST 0x8101000b /* Test of asynch status output@@ */ 116 #define SDBC_EDUMMY 0x50001 /* SDBC Place holder until definitions checked in by coresw dev. */ 117 #define SDBC_EOBSOLETE 0x50002 /* Obsolete sdbc ioctl used */ 118 #define SDBC_EDISABLE 0x50003 /* Cache deconfig failed. Not initialized */ 119 #define SDBC_ECLUSTER_SIZE 0x50004 /* Get cluster size operation failed. Cache not initialized */ 120 #define SDBC_ECLUSTER_DATA 0x50005 /* Get cluster data operation failed. Cache not initialized */ 121 #define SDBC_EGLMUL_SIZE 0x50006 /* Get global size operation failed. Cache not initialized */ 122 #define SDBC_EGLMUL_INFO 0x50007 /* Get global info operation failed. Cache not initialized */ 123 #define SDBC_ETOGGLE_FLUSH 0x1050008 /* Cache flushing mode is (mode %s) */ 124 #define SDBC_EUNSUPPORTED 0x1050009 /* Unknown ioctl: unsupported (cmd %s) */ 125 #define SDBC_EDISABLEFAIL 0x5000a /* Cache not deconfigured */ 126 #define SDBC_EPINNED 0x105000b /* Pinned data on %s */ 127 #define SDBC_EACTIVERDC 0x5000c /* Active RDC pair not closed */ 128 #define SDBC_EUNREG 0x5000d /* Could not unregister sdbc io module */ 129 #define SDBC_EALREADY 0x5000e /* Cache enable failed. Already initialized. */ 130 #define SDBC_EENABLEFAIL 0x5000f /* Cache enable failed. */ 131 #define SDBC_ESIZE 0x1050010 /* Cache block size %s not supported. */ 132 #define SDBC_EMAGIC 0x50011 /* Mismatched versions of scmadm and sdbc module. */ 133 #define SDBC_ENONETMEM 0x50012 /* Insufficient memory for cache. */ 134 #define SDBC_ENOIOBMEM 0x50013 /* No memory for iobuf hooks. */ 135 #define SDBC_ENOIOBCB 0x50014 /* Missing iobuf driver callback. */ 136 #define SDBC_ENOHANDLEMEM 0x50015 /* No memory for buffer handles. */ 137 #define SDBC_EMEMCONFIG 0x50016 /* Cache memory initialzation error. */ 138 #define SDBC_EFLUSHTHRD 0x50017 /* Flush threads create failure. */ 139 #define SDBC_ENOHASH 0x50018 /* Cannot create hash table */ 140 #define SDBC_ENOCB 0x50019 /* Cannot allocate cache block structures */ 141 #define SDBC_ENOCCTL 0x5001a /* Cannot allocate cctl sync structures */ 142 #define SDBC_ENOCD 0x5001b /* Cannot allocate cache data structures */ 143 #define SDBC_ENOMIRRORCD 0x5001c /* Cannot allocate cache data structures for mirror areas */ 144 #define SDBC_ENOSHAREDFILE 0x5001d /* Cannot allocate shared file area */ 145 #define SDBC_ENOSFNV 0x5001e /* Cannot allocate shared file area in nvmem */ 146 #define SDBC_ENOREFRESH 0x5001f /* Unable to refresh host memory */ 147 #define SDBC_EINVHOSTID 0x2050020 /* Hostid %s greater than maximum (%s) */ 148 #define SDBC_ENOTSAME 0x2050021 /* Self host %s and mirror host %s cannot be the same */ 149 #define SDBC_ENORMLOCKS 0x50022 /* No RM locks configured */ 150 #define SDBC_EGLDMAFAIL 0x50023 /* Global information transfer failed */ 151 #define SDBC_EMODELCONVERT 0x50024 /* 64 bit conversion called on a 32 bit system */ 152 #define SDBC_EABUFS 0x50025 /* Anonymous buffers currently allocated from sdbc */ 153 #define SDBC_ENODEVENABLED 0x50026 /* Device not enabled in cache */ 154 #define SOLARIS_EPERM 0x1 /* Not super-user */ 155 #define SOLARIS_ENOENT 0x2 /* No such file or directory */ 156 #define SOLARIS_ESRCH 0x3 /* No such process */ 157 #define SOLARIS_EINTR 0x4 /* interrupted system call */ 158 #define SOLARIS_EIO 0x5 /* I/O error */ 159 #define SOLARIS_ENXIO 0x6 /* No such device or address */ 160 #define SOLARIS_E2BIG 0x7 /* Arg list too long */ 161 #define SOLARIS_ENOEXEC 0x8 /* Exec format error */ 162 #define SOLARIS_EBADF 0x9 /* Bad file number */ 163 #define SOLARIS_ECHILD 0xa /* No children */ 164 #define SOLARIS_EAGAIN 0xb /* Resource temporarily unavailable */ 165 #define SOLARIS_ENOMEM 0xc /* Not enough core */ 166 #define SOLARIS_EACCES 0xd /* Permission denied */ 167 #define SOLARIS_EFAULT 0xe /* Bad address */ 168 #define SOLARIS_ENOTBLK 0xf /* Block device required */ 169 #define SOLARIS_EBUSY 0x10 /* Mount device busy */ 170 #define SOLARIS_EEXIST 0x11 /* File exists */ 171 #define SOLARIS_EXDEV 0x12 /* Cross-device link */ 172 #define SOLARIS_ENODEV 0x13 /* No such device */ 173 #define SOLARIS_ENOTDIR 0x14 /* Not a directory */ 174 #define SOLARIS_EISDIR 0x15 /* Is a directory */ 175 #define SOLARIS_EINVAL 0x16 /* Invalid argument */ 176 #define SOLARIS_ENFILE 0x17 /* File table overflow */ 177 #define SOLARIS_EMFILE 0x18 /* Too many open files */ 178 #define SOLARIS_ENOTTY 0x19 /* Inappropriate ioctl for device */ 179 #define SOLARIS_ETXTBSY 0x1a /* Text file busy */ 180 #define SOLARIS_EFBIG 0x1b /* File too large */ 181 #define SOLARIS_ENOSPC 0x1c /* No space left on device */ 182 #define SOLARIS_ESPIPE 0x1d /* Illegal seek */ 183 #define SOLARIS_EROFS 0x1e /* Read only file system */ 184 #define SOLARIS_EMLINK 0x1f /* Too many links */ 185 #define SOLARIS_EPIPE 0x20 /* Broken pipe */ 186 #define SOLARIS_EDOM 0x21 /* Math arg out of domain of func */ 187 #define SOLARIS_ERANGE 0x22 /* Math result not representable */ 188 #define SOLARIS_ENOMSG 0x23 /* No message of desired type */ 189 #define SOLARIS_EIDRM 0x24 /* Identifier removed */ 190 #define SOLARIS_ECHRNG 0x25 /* Channel number out of range */ 191 #define SOLARIS_EL2NSYNC 0x26 /* Level 2 not synchronized */ 192 #define SOLARIS_EL3HLT 0x27 /* Level 3 halted */ 193 #define SOLARIS_EL3RST 0x28 /* Level 3 reset */ 194 #define SOLARIS_ELNRNG 0x29 /* Link number out of range */ 195 #define SOLARIS_EUNATCH 0x2a /* Protocol driver not attached */ 196 #define SOLARIS_ENOCSI 0x2b /* No CSI structure available */ 197 #define SOLARIS_EL2HLT 0x2c /* Level 2 halted */ 198 #define SOLARIS_EDEADLK 0x2d /* Deadlock condition. */ 199 #define SOLARIS_ENOLCK 0x2e /* No record locks available. */ 200 #define SOLARIS_ECANCELED 0x2f /* Operation canceled */ 201 #define SOLARIS_ENOTSUP 0x30 /* Operation not supported */ 202 #define SOLARIS_EDQUOT 0x31 /* Disc quota exceeded */ 203 #define SOLARIS_EBADE 0x32 /* invalid exchange */ 204 #define SOLARIS_EBADR 0x33 /* invalid request descriptor */ 205 #define SOLARIS_EXFULL 0x34 /* exchange full */ 206 #define SOLARIS_ENOANO 0x35 /* no anode */ 207 #define SOLARIS_EBADRQC 0x36 /* invalid request code */ 208 #define SOLARIS_EBADSLT 0x37 /* invalid slot */ 209 #define SOLARIS_EDEADLOCK 0x38 /* file locking deadlock error */ 210 #define SOLARIS_EBFONT 0x39 /* bad font file fmt */ 211 #define SOLARIS_EUNUSED58 0x3a /* not defined */ 212 #define SOLARIS_EUNUSED59 0x3b /* not defined */ 213 #define SOLARIS_ENOSTR 0x3c /* Device not a stream */ 214 #define SOLARIS_ENODATA 0x3d /* no data (for no delay io) */ 215 #define SOLARIS_ETIME 0x3e /* timer expired */ 216 #define SOLARIS_ENOSR 0x3f /* out of streams resources */ 217 #define SOLARIS_ENONET 0x40 /* Machine is not on the network */ 218 #define SOLARIS_ENOPKG 0x41 /* Package not installed */ 219 #define SOLARIS_EREMOTE 0x42 /* The object is remote */ 220 #define SOLARIS_ENOLINK 0x43 /* the link has been severed */ 221 #define SOLARIS_EADV 0x44 /* advertise error */ 222 #define SOLARIS_ESRMNT 0x45 /* srmount error */ 223 #define SOLARIS_ECOMM 0x46 /* Communication error on send */ 224 #define SOLARIS_EPROTO 0x47 /* Protocol error */ 225 #define SOLARIS_EUNISED72 0x48 /* undefined */ 226 #define SOLARIS_EUNISED73 0x49 /* undefined */ 227 #define SOLARIS_EMULTIHOP 0x4a /* multihop attempted */ 228 #define SOLARIS_EUNISED75 0x4b /* undefined */ 229 #define SOLARIS_EUNISED76 0x4c /* undefined */ 230 #define SOLARIS_EBADMSG 0x4d /* trying to read unreadable message */ 231 #define SOLARIS_ENAMETOOLONG 0x4e /* path name is too long */ 232 #define SOLARIS_EOVERFLOW 0x4f /* value too large to be stored in data type */ 233 #define SOLARIS_ENOTUNIQ 0x50 /* given log. name not unique */ 234 #define SOLARIS_EBADFD 0x51 /* f.d. invalid for this operation */ 235 #define SOLARIS_EREMCHG 0x52 /* Remote address changed */ 236 #define SOLARIS_ELIBACC 0x53 /* Can't access a needed shared lib. */ 237 #define SOLARIS_ELIBBAD 0x54 /* Accessing a corrupted shared lib. */ 238 #define SOLARIS_ELIBSCN 0x55 /* .lib section in a.out corrupted. */ 239 #define SOLARIS_ELIBMAX 0x56 /* Attempting to link in too many libs. */ 240 #define SOLARIS_ELIBEXEC 0x57 /* Attempting to exec a shared library. */ 241 #define SOLARIS_EILSEQ 0x58 /* Illegal byte sequence. */ 242 #define SOLARIS_ENOSYS 0x59 /* Unsupported file system operation */ 243 #define SOLARIS_ELOOP 0x5a /* Symbolic link loop */ 244 #define SOLARIS_ERESTART 0x5b /* Restartable system call */ 245 #define SOLARIS_ESTRPIPE 0x5c /* if pipe/FIFO, don't sleep in stream head */ 246 #define SOLARIS_ENOTEMPTY 0x5d /* directory not empty */ 247 #define SOLARIS_EUSERS 0x5e /* Too many users (for UFS) */ 248 #define SOLARIS_ENOTSOCK 0x5f /* Socket operation on non-socket */ 249 #define SOLARIS_EDESTADDRREQ 0x60 /* Destination address required */ 250 #define SOLARIS_EMSGSIZE 0x61 /* Message too long */ 251 #define SOLARIS_EPROTOTYPE 0x62 /* Protocol wrong type for socket */ 252 #define SOLARIS_ENOPROTOOPT 0x63 /* Protocol not available */ 253 #define SOLARIS_EUNUSED100 0x64 /* undefined */ 254 #define SOLARIS_EUNUSED101 0x65 /* undefined */ 255 #define SOLARIS_EUNUSED102 0x66 /* undefined */ 256 #define SOLARIS_EUNUSED103 0x67 /* undefined */ 257 #define SOLARIS_EUNUSED104 0x68 /* undefined */ 258 #define SOLARIS_EUNUSED105 0x69 /* undefined */ 259 #define SOLARIS_EUNUSED106 0x6a /* undefined */ 260 #define SOLARIS_EUNUSED107 0x6b /* undefined */ 261 #define SOLARIS_EUNUSED108 0x6c /* undefined */ 262 #define SOLARIS_EUNUSED109 0x6d /* undefined */ 263 #define SOLARIS_EUNUSED110 0x6e /* undefined */ 264 #define SOLARIS_EUNUSED111 0x6f /* undefined */ 265 #define SOLARIS_EUNUSED112 0x70 /* undefined */ 266 #define SOLARIS_EUNUSED113 0x71 /* undefined */ 267 #define SOLARIS_EUNUSED114 0x72 /* undefined */ 268 #define SOLARIS_EUNUSED115 0x73 /* undefined */ 269 #define SOLARIS_EUNUSED116 0x74 /* undefined */ 270 #define SOLARIS_EUNUSED117 0x75 /* undefined */ 271 #define SOLARIS_EUNUSED118 0x76 /* undefined */ 272 #define SOLARIS_EUNUSED119 0x77 /* undefined */ 273 #define SOLARIS_EPROTONOSUPPORT 0x78 /* Protocol not supported */ 274 #define SOLARIS_ESOCKTNOSUPPORT 0x79 /* Socket type not supported */ 275 #define SOLARIS_EOPNOTSUPP 0x7a /* Operation not supported on socket */ 276 #define SOLARIS_EPFNOSUPPORT 0x7b /* Protocol family not supported */ 277 #define SOLARIS_EAFNOSUPPORT 0x7c /* Address family not supported by protocol family */ 278 #define SOLARIS_EADDRINUSE 0x7d /* Address already in use */ 279 #define SOLARIS_EADDRNOTAVAIL 0x7e /* Can't assign requested address operational errors */ 280 #define SOLARIS_ENETDOWN 0x7f /* Network is down */ 281 #define SOLARIS_ENETUNREACH 0x80 /* Network is unreachable */ 282 #define SOLARIS_ENETRESET 0x81 /* Network dropped connection because of reset */ 283 #define SOLARIS_ECONNABORTED 0x82 /* Software caused connection abort */ 284 #define SOLARIS_ECONNRESET 0x83 /* Connection reset by peer */ 285 #define SOLARIS_ENOBUFS 0x84 /* No buffer space available */ 286 #define SOLARIS_EISCONN 0x85 /* Socket is already connected */ 287 #define SOLARIS_ENOTCONN 0x86 /* Socket is not connected */ 288 #define SOLARIS_EXENIX135 0x87 /* XENIX 135 */ 289 #define SOLARIS_EXENIX136 0x88 /* XENIX 136 */ 290 #define SOLARIS_EXENIX137 0x89 /* XENIX 137 */ 291 #define SOLARIS_EXENIX138 0x8a /* XENIX 138 */ 292 #define SOLARIS_EXENIX139 0x8b /* XENIX 139 */ 293 #define SOLARIS_EXENIX140 0x8c /* XENIX 140 */ 294 #define SOLARIS_EXENIX141 0x8d /* XENIX 141 */ 295 #define SOLARIS_EXENIX142 0x8e /* XENIX 142 */ 296 #define SOLARIS_ESHUTDOWN 0x8f /* Can't send after socket shutdown */ 297 #define SOLARIS_ETOOMANYREFS 0x90 /* Too many references: can't splice */ 298 #define SOLARIS_ETIMEDOUT 0x91 /* Connection timed out */ 299 #define SOLARIS_ECONNREFUSED 0x92 /* Connection refused */ 300 #define SOLARIS_EHOSTDOWN 0x93 /* Host is down */ 301 #define SOLARIS_EHOSTUNREACH 0x94 /* No route to host */ 302 #define SOLARIS_EALREADY 0x95 /* operation already in progress */ 303 #define SOLARIS_EINPROGRESS 0x96 /* operation now in progress */ 304 #define SOLARIS_ESTALE 0x97 /* Stale NFS file handle */ 305 #define SV_ENOSLOTS 0x30001 /* No more SVs available */ 306 #define SV_EARRBOUNDS 0x3030002 /* Array bounds check (min %s, max %s, got %s) */ 307 #define SV_EDEVEXIST 0x30003 /* Device already present in kernel */ 308 #define SV_ENOSSTATE 0x30004 /* Soft state alloc failed */ 309 #define SV_EBADSSTATE 0x30005 /* Soft state corrupted */ 310 #define SV_EMKNOD 0x30006 /* failed */ 311 #define SV_ENODEV 0x30007 /* Device not present in kernel configuration */ 312 #define SV_EENABLED 0x30008 /* Device already enabled */ 313 #define SV_ELOAD 0x30009 /* Unable to load/hold underlying disk driver */ 314 #define SV_ESDOPEN 0x3000a /* Error from nsc_open() */ 315 #define SV_EDISABLED 0x3000b /* Device not enabled */ 316 #define SV_EBUSY 0x3000c /* Unable to disable device - device in use */ 317 #define SV_EBADDEV 0x3000d /* Bad dev_t in config structure */ 318 #define SV_ESTRATEGY 0x3000e /* Recursive strategy functions */ 319 #define SV_EGENERIC 0x3000f /* Libspcs detected a nonspecific SV error */ 320 #define SV_ESTAT 0x30010 /* Error from stat() */ 321 #define SV_EKERNEL 0x30011 /* User access to this device is not allowed by StorageTek kernel software */ 322 #define SV_EAMODE 0x30012 /* Illegal access mode */ 323 #define SV_EGUARDVER 0x30013 /* Incompatible guard magic or version number */ 324 #define SV_ELOOKUP 0x30014 /* Unable to translate pathname to major/minor number */ 325 #define SV_ENOGCLIENT 0x30015 /* Unable to match guard client module to internal module id */ 326 #define SV_EGUSER 0x30016 /* Unable to create kernel only guard, device already user enabled */ 327 #define SV_ELYROPEN 0x30017 /* Error from layered driver open */ 328 /* 329 * CDDL HEADER START 330 * 331 * The contents of this file are subject to the terms of the 332 * Common Development and Distribution License (the "License"). 333 * You may not use this file except in compliance with the License. 334 * 335 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 336 * or http://www.opensolaris.org/os/licensing. 337 * See the License for the specific language governing permissions 338 * and limitations under the License. 339 * 340 * When distributing Covered Code, include this CDDL HEADER in each 341 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 342 * If applicable, add the following below this CDDL HEADER, with the 343 * fields enclosed by brackets "[]" replaced with your own identifying 344 * information: Portions Copyright [yyyy] [name of copyright owner] 345 * 346 * CDDL HEADER END 347 */ 348 /* 349 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 350 * Use is subject to license terms. 351 */ 352 /* 353 * The SPCS subsystem numbers 354 * TODO: derive the static finals in Spcs.java from these or visa versa! 355 */ 356 357 #define SPCS_SOLARIS 0 358 #define SPCS_SPCS 1 359 #define SPCS_DSW 2 360 #define SPCS_SV 3 361 #define SPCS_RDC 4 362 #define SPCS_SDBC 5 363 #define SPCS_MAX_SUBSYSTEM 5 364