Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cam/cam_ccb.h
Show First 20 Lines • Show All 825 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
struct ccb_nvmeio { | struct ccb_nvmeio { | ||||
struct ccb_hdr ccb_h; | struct ccb_hdr ccb_h; | ||||
union ccb *next_ccb; /* Ptr for next CCB for action */ | union ccb *next_ccb; /* Ptr for next CCB for action */ | ||||
struct nvme_command cmd; /* NVME command, per NVME standard */ | struct nvme_command cmd; /* NVME command, per NVME standard */ | ||||
struct nvme_completion cpl; /* NVME completion, per NVME standard */ | struct nvme_completion cpl; /* NVME completion, per NVME standard */ | ||||
uint8_t *data_ptr; /* Ptr to the data buf/SG list */ | uint8_t *data_ptr; /* Ptr to the data buf/SG list */ | ||||
uint32_t dxfer_len; /* Data transfer length */ | uint32_t dxfer_len; /* Data transfer length */ | ||||
uint32_t resid; /* Transfer residual length: 2's comp unused ?*/ | uint16_t sglist_cnt; /* Number of SG list entries */ | ||||
uint16_t unused; /* padding for removed uint32_t */ | |||||
}; | }; | ||||
/* | /* | ||||
* Definitions for the asynchronous callback CCB fields. | * Definitions for the asynchronous callback CCB fields. | ||||
*/ | */ | ||||
typedef enum { | typedef enum { | ||||
AC_UNIT_ATTENTION = 0x4000,/* Device reported UNIT ATTENTION */ | AC_UNIT_ATTENTION = 0x4000,/* Device reported UNIT ATTENTION */ | ||||
AC_ADVINFO_CHANGED = 0x2000,/* Advance info might have changes */ | AC_ADVINFO_CHANGED = 0x2000,/* Advance info might have changes */ | ||||
▲ Show 20 Lines • Show All 696 Lines • Show Last 20 Lines |