Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
cam.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define CAM_BUS_WILDCARD   ((u_int)~0)
 
#define CAM_TARGET_WILDCARD   ((u_int)~0)
 
#define CAM_LUN_WILDCARD   ((u_int)~0)
 

Enumerations

enum  cam_status {
  CAM_REQ_INPROG, CAM_REQ_CMP, CAM_REQ_ABORTED, CAM_UA_ABORT,
  CAM_REQ_CMP_ERR, CAM_BUSY, CAM_REQ_INVALID, CAM_PATH_INVALID,
  CAM_SEL_TIMEOUT, CAM_CMD_TIMEOUT, CAM_SCSI_STATUS_ERROR, CAM_SCSI_BUS_RESET,
  CAM_UNCOR_PARITY, CAM_AUTOSENSE_FAIL, CAM_NO_HBA, CAM_DATA_RUN_ERR,
  CAM_UNEXP_BUSFREE, CAM_SEQUENCE_FAIL, CAM_CCB_LEN_ERR, CAM_PROVIDE_FAIL,
  CAM_BDR_SENT, CAM_REQ_TERMIO, CAM_UNREC_HBA_ERROR, CAM_REQ_TOO_BIG,
  CAM_UA_TERMIO, CAM_MSG_REJECT_REC, CAM_DEV_NOT_THERE, CAM_RESRC_UNAVAIL,
  CAM_REQUEUE_REQ, CAM_DEV_QFRZN = 0x40, CAM_STATUS_MASK = 0x3F
}
 
enum  ac_code {
  AC_GETDEV_CHANGED = 0x800, AC_INQ_CHANGED = 0x400, AC_TRANSFER_NEG = 0x200, AC_LOST_DEVICE = 0x100,
  AC_FOUND_DEVICE = 0x080, AC_PATH_DEREGISTERED = 0x040, AC_PATH_REGISTERED = 0x020, AC_SENT_BDR = 0x010,
  AC_SCSI_AEN = 0x008, AC_UNSOL_RESEL = 0x002, AC_BUS_RESET = 0x001
}
 
enum  ccb_flags { CAM_DIR_IN = DMA_FROM_DEVICE, CAM_DIR_OUT = DMA_TO_DEVICE, CAM_DIR_NONE = DMA_NONE }
 

Macro Definition Documentation

#define CAM_BUS_WILDCARD   ((u_int)~0)

Definition at line 40 of file cam.h.

#define CAM_LUN_WILDCARD   ((u_int)~0)

Definition at line 42 of file cam.h.

#define CAM_TARGET_WILDCARD   ((u_int)~0)

Definition at line 41 of file cam.h.

Enumeration Type Documentation

enum ac_code
Enumerator:
AC_GETDEV_CHANGED 
AC_INQ_CHANGED 
AC_TRANSFER_NEG 
AC_LOST_DEVICE 
AC_FOUND_DEVICE 
AC_PATH_DEREGISTERED 
AC_PATH_REGISTERED 
AC_SENT_BDR 
AC_SCSI_AEN 
AC_UNSOL_RESEL 
AC_BUS_RESET 

Definition at line 91 of file cam.h.

enum cam_status
Enumerator:
CAM_REQ_INPROG 
CAM_REQ_CMP 
CAM_REQ_ABORTED 
CAM_UA_ABORT 
CAM_REQ_CMP_ERR 
CAM_BUSY 
CAM_REQ_INVALID 
CAM_PATH_INVALID 
CAM_SEL_TIMEOUT 
CAM_CMD_TIMEOUT 
CAM_SCSI_STATUS_ERROR 
CAM_SCSI_BUS_RESET 
CAM_UNCOR_PARITY 
CAM_AUTOSENSE_FAIL 
CAM_NO_HBA 
CAM_DATA_RUN_ERR 
CAM_UNEXP_BUSFREE 
CAM_SEQUENCE_FAIL 
CAM_CCB_LEN_ERR 
CAM_PROVIDE_FAIL 
CAM_BDR_SENT 
CAM_REQ_TERMIO 
CAM_UNREC_HBA_ERROR 
CAM_REQ_TOO_BIG 
CAM_UA_TERMIO 
CAM_MSG_REJECT_REC 
CAM_DEV_NOT_THERE 
CAM_RESRC_UNAVAIL 
CAM_REQUEUE_REQ 
CAM_DEV_QFRZN 
CAM_STATUS_MASK 

Definition at line 45 of file cam.h.

enum ccb_flags
Enumerator:
CAM_DIR_IN 
CAM_DIR_OUT 
CAM_DIR_NONE 

Definition at line 105 of file cam.h.