libsas.h (e37c83c06c2690157a989df40dc99a6b61c9ea15) libsas.h (df64d3caab8db6ae17dacd229a03d7689a10c432)
1/*
2 * SAS host prototypes and structures header file
3 *
4 * Copyright (C) 2005 Adaptec, Inc. All rights reserved.
5 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
6 *
7 * This file is licensed under GPLv2.
8 *

--- 408 unchanged lines hidden (view full) ---

417 */
418
419enum service_response {
420 SAS_TASK_COMPLETE,
421 SAS_TASK_UNDELIVERED = -1,
422};
423
424enum exec_status {
1/*
2 * SAS host prototypes and structures header file
3 *
4 * Copyright (C) 2005 Adaptec, Inc. All rights reserved.
5 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
6 *
7 * This file is licensed under GPLv2.
8 *

--- 408 unchanged lines hidden (view full) ---

417 */
418
419enum service_response {
420 SAS_TASK_COMPLETE,
421 SAS_TASK_UNDELIVERED = -1,
422};
423
424enum exec_status {
425 SAM_GOOD = 0,
426 SAM_CHECK_COND = 2,
427 SAM_COND_MET = 4,
428 SAM_BUSY = 8,
429 SAM_INTERMEDIATE = 0x10,
430 SAM_IM_COND_MET = 0x12,
431 SAM_RESV_CONFLICT= 0x14,
432 SAM_TASK_SET_FULL= 0x28,
433 SAM_ACA_ACTIVE = 0x30,
434 SAM_TASK_ABORTED = 0x40,
425 /* The SAM_STAT_.. codes fit in the lower 6 bits */
435
436 SAS_DEV_NO_RESPONSE = 0x80,
437 SAS_DATA_UNDERRUN,
438 SAS_DATA_OVERRUN,
439 SAS_INTERRUPTED,
440 SAS_QUEUE_FULL,
441 SAS_DEVICE_UNKNOWN,
442 SAS_SG_ERR,

--- 241 unchanged lines hidden ---
426
427 SAS_DEV_NO_RESPONSE = 0x80,
428 SAS_DATA_UNDERRUN,
429 SAS_DATA_OVERRUN,
430 SAS_INTERRUPTED,
431 SAS_QUEUE_FULL,
432 SAS_DEVICE_UNKNOWN,
433 SAS_SG_ERR,

--- 241 unchanged lines hidden ---