1230557Sjimharris/*- 2230557Sjimharris * This file is provided under a dual BSD/GPLv2 license. When using or 3230557Sjimharris * redistributing this file, you may do so under either license. 4230557Sjimharris * 5230557Sjimharris * GPL LICENSE SUMMARY 6230557Sjimharris * 7230557Sjimharris * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8230557Sjimharris * 9230557Sjimharris * This program is free software; you can redistribute it and/or modify 10230557Sjimharris * it under the terms of version 2 of the GNU General Public License as 11230557Sjimharris * published by the Free Software Foundation. 12230557Sjimharris * 13230557Sjimharris * This program is distributed in the hope that it will be useful, but 14230557Sjimharris * WITHOUT ANY WARRANTY; without even the implied warranty of 15230557Sjimharris * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16230557Sjimharris * General Public License for more details. 17230557Sjimharris * 18230557Sjimharris * You should have received a copy of the GNU General Public License 19230557Sjimharris * along with this program; if not, write to the Free Software 20230557Sjimharris * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 21230557Sjimharris * The full GNU General Public License is included in this distribution 22230557Sjimharris * in the file called LICENSE.GPL. 23230557Sjimharris * 24230557Sjimharris * BSD LICENSE 25230557Sjimharris * 26230557Sjimharris * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 27230557Sjimharris * All rights reserved. 28230557Sjimharris * 29230557Sjimharris * Redistribution and use in source and binary forms, with or without 30230557Sjimharris * modification, are permitted provided that the following conditions 31230557Sjimharris * are met: 32230557Sjimharris * 33230557Sjimharris * * Redistributions of source code must retain the above copyright 34230557Sjimharris * notice, this list of conditions and the following disclaimer. 35230557Sjimharris * * Redistributions in binary form must reproduce the above copyright 36230557Sjimharris * notice, this list of conditions and the following disclaimer in 37230557Sjimharris * the documentation and/or other materials provided with the 38230557Sjimharris * distribution. 39230557Sjimharris * 40230557Sjimharris * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 41230557Sjimharris * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 42230557Sjimharris * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 43230557Sjimharris * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 44230557Sjimharris * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 45230557Sjimharris * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 46230557Sjimharris * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47230557Sjimharris * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 48230557Sjimharris * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 49230557Sjimharris * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 50230557Sjimharris * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51230557Sjimharris * 52230557Sjimharris * $FreeBSD$ 53230557Sjimharris */ 54230557Sjimharris#ifndef _SCI_STATUS_H_ 55230557Sjimharris#define _SCI_STATUS_H_ 56230557Sjimharris 57230557Sjimharris/** 58230557Sjimharris * @file 59230557Sjimharris * 60230557Sjimharris * @brief This file contains all of the return status codes utilized across 61230557Sjimharris * the various sub-components in SCI. 62230557Sjimharris */ 63230557Sjimharris 64230557Sjimharris#ifdef __cplusplus 65230557Sjimharrisextern "C" { 66230557Sjimharris#endif // __cplusplus 67230557Sjimharris 68230557Sjimharris/** 69230557Sjimharris * @enum _SCI_STATUS 70230557Sjimharris * @brief This is the general return status enumeration for non-IO, non-task 71230557Sjimharris * management related SCI interface methods. 72230557Sjimharris */ 73230557Sjimharristypedef enum _SCI_STATUS 74230557Sjimharris{ 75230557Sjimharris /** 76230557Sjimharris * This member indicates successful completion. 77230557Sjimharris */ 78230557Sjimharris SCI_SUCCESS = 0, 79230557Sjimharris 80230557Sjimharris /** 81230557Sjimharris * This value indicates that the calling method completed successfully, 82230557Sjimharris * but that the IO may have completed before having it's start method 83230557Sjimharris * invoked. This occurs during SAT translation for requests that do 84230557Sjimharris * not require an IO to the target or for any other requests that may 85230557Sjimharris * be completed without having to submit IO. 86230557Sjimharris */ 87230557Sjimharris SCI_SUCCESS_IO_COMPLETE_BEFORE_START, 88230557Sjimharris 89230557Sjimharris /** 90230557Sjimharris * This Value indicates that the SCU hardware returned an early response 91230557Sjimharris * because the io request specified more data than is returned by the 92230557Sjimharris * target device (mode pages, inquiry data, etc.). The completion routine 93230557Sjimharris * will handle this case to get the actual number of bytes transferred. 94230557Sjimharris */ 95230557Sjimharris SCI_SUCCESS_IO_DONE_EARLY, 96230557Sjimharris 97230557Sjimharris /** 98230557Sjimharris * This member indicates that the object for which a state change is 99230557Sjimharris * being requested is already in said state. 100230557Sjimharris */ 101230557Sjimharris SCI_WARNING_ALREADY_IN_STATE, 102230557Sjimharris 103230557Sjimharris /** 104230557Sjimharris * This member indicates interrupt coalescence timer may cause SAS 105230557Sjimharris * specification compliance issues (i.e. SMP target mode response 106230557Sjimharris * frames must be returned within 1.9 milliseconds). 107230557Sjimharris */ 108230557Sjimharris SCI_WARNING_TIMER_CONFLICT, 109230557Sjimharris 110230557Sjimharris /** 111230557Sjimharris * This field indicates a sequence of action is not completed yet. Mostly, 112230557Sjimharris * this status is used when multiple ATA commands are needed in a SATI translation. 113230557Sjimharris */ 114230557Sjimharris SCI_WARNING_SEQUENCE_INCOMPLETE, 115230557Sjimharris 116230557Sjimharris /** 117230557Sjimharris * This member indicates that there was a general failure. 118230557Sjimharris */ 119230557Sjimharris SCI_FAILURE, 120230557Sjimharris 121230557Sjimharris /** 122230557Sjimharris * This member indicates that the SCI implementation is unable to complete 123230557Sjimharris * an operation due to a critical flaw the prevents any further operation 124230557Sjimharris * (i.e. an invalid pointer). 125230557Sjimharris */ 126230557Sjimharris SCI_FATAL_ERROR, 127230557Sjimharris 128230557Sjimharris /** 129230557Sjimharris * This member indicates the calling function failed, because the state 130230557Sjimharris * of the controller is in a state that prevents successful completion. 131230557Sjimharris */ 132230557Sjimharris SCI_FAILURE_INVALID_STATE, 133230557Sjimharris 134230557Sjimharris /** 135230557Sjimharris * This member indicates the calling function failed, because there is 136230557Sjimharris * insufficient resources/memory to complete the request. 137230557Sjimharris */ 138230557Sjimharris SCI_FAILURE_INSUFFICIENT_RESOURCES, 139230557Sjimharris 140230557Sjimharris /** 141230557Sjimharris * This member indicates the calling function failed, because the 142230557Sjimharris * controller object required for the operation can't be located. 143230557Sjimharris */ 144230557Sjimharris SCI_FAILURE_CONTROLLER_NOT_FOUND, 145230557Sjimharris 146230557Sjimharris /** 147230557Sjimharris * This member indicates the calling function failed, because the 148230557Sjimharris * discovered controller type is not supported by the library. 149230557Sjimharris */ 150230557Sjimharris SCI_FAILURE_UNSUPPORTED_CONTROLLER_TYPE, 151230557Sjimharris 152230557Sjimharris /** 153230557Sjimharris * This member indicates the calling function failed, because the 154230557Sjimharris * requested initialization data version isn't supported. 155230557Sjimharris */ 156230557Sjimharris SCI_FAILURE_UNSUPPORTED_INIT_DATA_VERSION, 157230557Sjimharris 158230557Sjimharris /** 159230557Sjimharris * This member indicates the calling function failed, because the 160230557Sjimharris * requested configuration of SAS Phys into SAS Ports is not supported. 161230557Sjimharris */ 162230557Sjimharris SCI_FAILURE_UNSUPPORTED_PORT_CONFIGURATION, 163230557Sjimharris 164230557Sjimharris /** 165230557Sjimharris * This member indicates the calling function failed, because the 166230557Sjimharris * requested protocol is not supported by the remote device, port, 167230557Sjimharris * or controller. 168230557Sjimharris */ 169230557Sjimharris SCI_FAILURE_UNSUPPORTED_PROTOCOL, 170230557Sjimharris 171230557Sjimharris /** 172230557Sjimharris * This member indicates the calling function failed, because the 173230557Sjimharris * requested information type is not supported by the SCI implementation. 174230557Sjimharris */ 175230557Sjimharris SCI_FAILURE_UNSUPPORTED_INFORMATION_TYPE, 176230557Sjimharris 177230557Sjimharris /** 178230557Sjimharris * This member indicates the calling function failed, because the 179230557Sjimharris * device already exists. 180230557Sjimharris */ 181230557Sjimharris SCI_FAILURE_DEVICE_EXISTS, 182230557Sjimharris 183230557Sjimharris /** 184230557Sjimharris * This member indicates the calling function failed, because adding 185230557Sjimharris * a phy to the object is not possible. 186230557Sjimharris */ 187230557Sjimharris SCI_FAILURE_ADDING_PHY_UNSUPPORTED, 188230557Sjimharris 189230557Sjimharris /** 190230557Sjimharris * This member indicates the calling function failed, because the 191230557Sjimharris * requested information type is not supported by the SCI implementation. 192230557Sjimharris */ 193230557Sjimharris SCI_FAILURE_UNSUPPORTED_INFORMATION_FIELD, 194230557Sjimharris 195230557Sjimharris /** 196230557Sjimharris * This member indicates the calling function failed, because the SCI 197230557Sjimharris * implementation does not support the supplied time limit. 198230557Sjimharris */ 199230557Sjimharris SCI_FAILURE_UNSUPPORTED_TIME_LIMIT, 200230557Sjimharris 201230557Sjimharris /** 202230557Sjimharris * This member indicates the calling method failed, because the SCI 203230557Sjimharris * implementation does not contain the specified Phy. 204230557Sjimharris */ 205230557Sjimharris SCI_FAILURE_INVALID_PHY, 206230557Sjimharris 207230557Sjimharris /** 208230557Sjimharris * This member indicates the calling method failed, because the SCI 209230557Sjimharris * implementation does not contain the specified Port. 210230557Sjimharris */ 211230557Sjimharris SCI_FAILURE_INVALID_PORT, 212230557Sjimharris 213230557Sjimharris /** 214230557Sjimharris * This member indicates the calling method was partly successful 215230557Sjimharris * The port was reset but not all phys in port are operational 216230557Sjimharris */ 217230557Sjimharris SCI_FAILURE_RESET_PORT_PARTIAL_SUCCESS, 218230557Sjimharris 219230557Sjimharris /** 220230557Sjimharris * This member indicates that calling method failed 221230557Sjimharris * The port reset did not complete because none of the phys are operational 222230557Sjimharris */ 223230557Sjimharris SCI_FAILURE_RESET_PORT_FAILURE, 224230557Sjimharris 225230557Sjimharris /** 226230557Sjimharris * This member indicates the calling method failed, because the SCI 227230557Sjimharris * implementation does not contain the specified remote device. 228230557Sjimharris */ 229230557Sjimharris SCI_FAILURE_INVALID_REMOTE_DEVICE, 230230557Sjimharris 231230557Sjimharris /** 232230557Sjimharris * This member indicates the calling method failed, because the remote 233230557Sjimharris * device is in a bad state and requires a reset. 234230557Sjimharris */ 235230557Sjimharris SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED, 236230557Sjimharris 237230557Sjimharris /** 238230557Sjimharris * This member indicates the calling method failed, because the SCI 239230557Sjimharris * implementation does not contain or support the specified IO tag. 240230557Sjimharris */ 241230557Sjimharris SCI_FAILURE_INVALID_IO_TAG, 242230557Sjimharris 243230557Sjimharris /** 244230557Sjimharris * This member indicates that the operation failed and the user should 245230557Sjimharris * check the response data associated with the IO. 246230557Sjimharris */ 247230557Sjimharris SCI_FAILURE_IO_RESPONSE_VALID, 248230557Sjimharris 249230557Sjimharris /** 250230557Sjimharris * This member indicates that the operation failed, the failure is 251230557Sjimharris * controller implementation specific, and the response data associated 252230557Sjimharris * with the request is not valid. You can query for the controller 253230557Sjimharris * specific error information via scic_request_get_controller_status() 254230557Sjimharris */ 255230557Sjimharris SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR, 256230557Sjimharris 257230557Sjimharris /** 258230557Sjimharris * This member indicated that the operation failed because the 259230557Sjimharris * user requested this IO to be terminated. 260230557Sjimharris */ 261230557Sjimharris SCI_FAILURE_IO_TERMINATED, 262230557Sjimharris 263230557Sjimharris /** 264230557Sjimharris * This member indicates that the operation failed and the associated 265230557Sjimharris * request requires a SCSI abort task to be sent to the target. 266230557Sjimharris */ 267230557Sjimharris SCI_FAILURE_IO_REQUIRES_SCSI_ABORT, 268230557Sjimharris 269230557Sjimharris /** 270230557Sjimharris * This member indicates that the operation failed because the supplied 271230557Sjimharris * device could not be located. 272230557Sjimharris */ 273230557Sjimharris SCI_FAILURE_DEVICE_NOT_FOUND, 274230557Sjimharris 275230557Sjimharris /** 276230557Sjimharris * This member indicates that the operation failed because the 277230557Sjimharris * objects association is required and is not correctly set. 278230557Sjimharris */ 279230557Sjimharris SCI_FAILURE_INVALID_ASSOCIATION, 280230557Sjimharris 281230557Sjimharris /** 282230557Sjimharris * This member indicates that the operation failed, because a timeout 283230557Sjimharris * occurred. 284230557Sjimharris */ 285230557Sjimharris SCI_FAILURE_TIMEOUT, 286230557Sjimharris 287230557Sjimharris /** 288230557Sjimharris * This member indicates that the operation failed, because the user 289230557Sjimharris * specified a value that is either invalid or not supported. 290230557Sjimharris */ 291230557Sjimharris SCI_FAILURE_INVALID_PARAMETER_VALUE, 292230557Sjimharris 293230557Sjimharris /** 294230557Sjimharris * This value indicates that the operation failed, because the number 295230557Sjimharris * of messages (MSI-X) is not supported. 296230557Sjimharris */ 297230557Sjimharris SCI_FAILURE_UNSUPPORTED_MESSAGE_COUNT, 298230557Sjimharris 299230557Sjimharris /** 300230557Sjimharris * This value indicates that the method failed due to a lack of 301230557Sjimharris * available NCQ tags. 302230557Sjimharris */ 303230557Sjimharris SCI_FAILURE_NO_NCQ_TAG_AVAILABLE, 304230557Sjimharris 305230557Sjimharris /** 306230557Sjimharris * This value indicates that a protocol violation has occurred on the 307230557Sjimharris * link. 308230557Sjimharris */ 309230557Sjimharris SCI_FAILURE_PROTOCOL_VIOLATION, 310230557Sjimharris 311230557Sjimharris /** 312230557Sjimharris * This value indicates a failure condition that retry may help to clear. 313230557Sjimharris */ 314230557Sjimharris SCI_FAILURE_RETRY_REQUIRED, 315230557Sjimharris 316230557Sjimharris /** 317230557Sjimharris * This field indicates the retry limit was reached when a retry is attempted 318230557Sjimharris */ 319230557Sjimharris SCI_FAILURE_RETRY_LIMIT_REACHED, 320230557Sjimharris 321230557Sjimharris /** 322230557Sjimharris * This member indicates the calling method was partly successful. 323230557Sjimharris * Mostly, this status is used when a LUN_RESET issued to an expander attached 324230557Sjimharris * STP device in READY NCQ substate needs to have RNC suspended/resumed 325230557Sjimharris * before posting TC. 326230557Sjimharris */ 327230557Sjimharris SCI_FAILURE_RESET_DEVICE_PARTIAL_SUCCESS, 328230557Sjimharris 329230557Sjimharris /** 330230557Sjimharris * This field indicates an illegal phy connection based on the routing attribute 331230557Sjimharris * of both expander phy attached to each other. 332230557Sjimharris */ 333230557Sjimharris SCI_FAILURE_ILLEGAL_ROUTING_ATTRIBUTE_CONFIGURATION, 334230557Sjimharris 335230557Sjimharris /** 336230557Sjimharris * This field indicates a CONFIG ROUTE INFO command has a response with function result 337230557Sjimharris * INDEX DOES NOT EXIST, usually means exceeding max route index. 338230557Sjimharris */ 339230557Sjimharris SCI_FAILURE_EXCEED_MAX_ROUTE_INDEX, 340230557Sjimharris 341230557Sjimharris /** 342230557Sjimharris * This value indicates that an unsupported PCI device ID has been 343230557Sjimharris * specified. This indicates that attempts to invoke 344230557Sjimharris * scic_library_allocate_controller() will fail. 345230557Sjimharris */ 346230557Sjimharris SCI_FAILURE_UNSUPPORTED_PCI_DEVICE_ID 347230557Sjimharris 348230557Sjimharris} SCI_STATUS; 349230557Sjimharris 350230557Sjimharris/** 351230557Sjimharris * @enum _SCI_IO_STATUS 352230557Sjimharris * @brief This enumeration depicts all of the possible IO completion 353230557Sjimharris * status values. Each value in this enumeration maps directly to 354230557Sjimharris * a value in the SCI_STATUS enumeration. Please refer to that 355230557Sjimharris * enumeration for detailed comments concerning what the status 356230557Sjimharris * represents. 357230557Sjimharris * @todo Add the API to retrieve the SCU status from the core. 358230557Sjimharris * @todo Check to see that the following status are properly handled: 359230557Sjimharris * - SCI_IO_FAILURE_UNSUPPORTED_PROTOCOL 360230557Sjimharris * - SCI_IO_FAILURE_INVALID_IO_TAG 361230557Sjimharris */ 362230557Sjimharristypedef enum _SCI_IO_STATUS 363230557Sjimharris{ 364230557Sjimharris SCI_IO_SUCCESS = SCI_SUCCESS, 365230557Sjimharris SCI_IO_FAILURE = SCI_FAILURE, 366230557Sjimharris SCI_IO_SUCCESS_COMPLETE_BEFORE_START = SCI_SUCCESS_IO_COMPLETE_BEFORE_START, 367230557Sjimharris SCI_IO_SUCCESS_IO_DONE_EARLY = SCI_SUCCESS_IO_DONE_EARLY, 368230557Sjimharris SCI_IO_FAILURE_INVALID_STATE = SCI_FAILURE_INVALID_STATE, 369230557Sjimharris SCI_IO_FAILURE_INSUFFICIENT_RESOURCES = SCI_FAILURE_INSUFFICIENT_RESOURCES, 370230557Sjimharris SCI_IO_FAILURE_UNSUPPORTED_PROTOCOL = SCI_FAILURE_UNSUPPORTED_PROTOCOL, 371230557Sjimharris SCI_IO_FAILURE_RESPONSE_VALID = SCI_FAILURE_IO_RESPONSE_VALID, 372230557Sjimharris SCI_IO_FAILURE_CONTROLLER_SPECIFIC_ERR = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR, 373230557Sjimharris SCI_IO_FAILURE_TERMINATED = SCI_FAILURE_IO_TERMINATED, 374230557Sjimharris SCI_IO_FAILURE_REQUIRES_SCSI_ABORT = SCI_FAILURE_IO_REQUIRES_SCSI_ABORT, 375230557Sjimharris SCI_IO_FAILURE_INVALID_PARAMETER_VALUE = SCI_FAILURE_INVALID_PARAMETER_VALUE, 376230557Sjimharris SCI_IO_FAILURE_NO_NCQ_TAG_AVAILABLE = SCI_FAILURE_NO_NCQ_TAG_AVAILABLE, 377230557Sjimharris SCI_IO_FAILURE_PROTOCOL_VIOLATION = SCI_FAILURE_PROTOCOL_VIOLATION, 378230557Sjimharris 379230557Sjimharris SCI_IO_FAILURE_REMOTE_DEVICE_RESET_REQUIRED = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED, 380230557Sjimharris 381230557Sjimharris SCI_IO_FAILURE_RETRY_REQUIRED = SCI_FAILURE_RETRY_REQUIRED, 382230557Sjimharris SCI_IO_FAILURE_RETRY_LIMIT_REACHED = SCI_FAILURE_RETRY_LIMIT_REACHED, 383230557Sjimharris SCI_IO_FAILURE_INVALID_REMOTE_DEVICE = SCI_FAILURE_INVALID_REMOTE_DEVICE 384230557Sjimharris} SCI_IO_STATUS; 385230557Sjimharris 386230557Sjimharris/** 387230557Sjimharris * @enum _SCI_TASK_STATUS 388230557Sjimharris * @brief This enumeration depicts all of the possible task completion 389230557Sjimharris * status values. Each value in this enumeration maps directly to 390230557Sjimharris * a value in the SCI_STATUS enumeration. Please refer to that 391230557Sjimharris * enumeration for detailed comments concerning what the status 392230557Sjimharris * represents. 393230557Sjimharris * @todo Check to see that the following status are properly handled: 394230557Sjimharris */ 395230557Sjimharristypedef enum _SCI_TASK_STATUS 396230557Sjimharris{ 397230557Sjimharris SCI_TASK_SUCCESS = SCI_SUCCESS, 398230557Sjimharris SCI_TASK_FAILURE = SCI_FAILURE, 399230557Sjimharris SCI_TASK_FAILURE_INVALID_STATE = SCI_FAILURE_INVALID_STATE, 400230557Sjimharris SCI_TASK_FAILURE_INSUFFICIENT_RESOURCES = SCI_FAILURE_INSUFFICIENT_RESOURCES, 401230557Sjimharris SCI_TASK_FAILURE_UNSUPPORTED_PROTOCOL = SCI_FAILURE_UNSUPPORTED_PROTOCOL, 402230557Sjimharris SCI_TASK_FAILURE_INVALID_TAG = SCI_FAILURE_INVALID_IO_TAG, 403230557Sjimharris SCI_TASK_FAILURE_RESPONSE_VALID = SCI_FAILURE_IO_RESPONSE_VALID, 404230557Sjimharris SCI_TASK_FAILURE_CONTROLLER_SPECIFIC_ERR = SCI_FAILURE_CONTROLLER_SPECIFIC_IO_ERR, 405230557Sjimharris SCI_TASK_FAILURE_TERMINATED = SCI_FAILURE_IO_TERMINATED, 406230557Sjimharris SCI_TASK_FAILURE_INVALID_PARAMETER_VALUE = SCI_FAILURE_INVALID_PARAMETER_VALUE, 407230557Sjimharris 408230557Sjimharris SCI_TASK_FAILURE_REMOTE_DEVICE_RESET_REQUIRED = SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED, 409230557Sjimharris SCI_TASK_FAILURE_RESET_DEVICE_PARTIAL_SUCCESS = SCI_FAILURE_RESET_DEVICE_PARTIAL_SUCCESS 410230557Sjimharris 411230557Sjimharris} SCI_TASK_STATUS; 412230557Sjimharris 413230557Sjimharris#ifdef __cplusplus 414230557Sjimharris} 415230557Sjimharris#endif // __cplusplus 416230557Sjimharris 417230557Sjimharris#endif // _SCI_STATUS_H_ 418230557Sjimharris 419