Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/cam_ccb.h
Show First 20 Lines • Show All 500 Lines • ▼ Show 20 Lines | |||||
struct device_match_result { | struct device_match_result { | ||||
path_id_t path_id; | path_id_t path_id; | ||||
target_id_t target_id; | target_id_t target_id; | ||||
lun_id_t target_lun; | lun_id_t target_lun; | ||||
cam_proto protocol; | cam_proto protocol; | ||||
struct scsi_inquiry_data inq_data; | struct scsi_inquiry_data inq_data; | ||||
struct ata_params ident_data; | struct ata_params ident_data; | ||||
dev_result_flags flags; | dev_result_flags flags; | ||||
struct mmc_params mmc_ident_data; | |||||
}; | }; | ||||
struct bus_match_result { | struct bus_match_result { | ||||
path_id_t path_id; | path_id_t path_id; | ||||
char dev_name[DEV_IDLEN]; | char dev_name[DEV_IDLEN]; | ||||
u_int32_t unit_number; | u_int32_t unit_number; | ||||
u_int32_t bus_id; | u_int32_t bus_id; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 755 Lines • ▼ Show 20 Lines | #define CDAI_FLAG_STORE 0x1 /* If set, action becomes store */ | ||||
/* NB: buftype is interpreted on a per-transport basis */ | /* NB: buftype is interpreted on a per-transport basis */ | ||||
#define CDAI_TYPE_SCSI_DEVID 1 | #define CDAI_TYPE_SCSI_DEVID 1 | ||||
#define CDAI_TYPE_SERIAL_NUM 2 | #define CDAI_TYPE_SERIAL_NUM 2 | ||||
#define CDAI_TYPE_PHYS_PATH 3 | #define CDAI_TYPE_PHYS_PATH 3 | ||||
#define CDAI_TYPE_RCAPLONG 4 | #define CDAI_TYPE_RCAPLONG 4 | ||||
#define CDAI_TYPE_EXT_INQ 5 | #define CDAI_TYPE_EXT_INQ 5 | ||||
#define CDAI_TYPE_NVME_CNTRL 6 /* NVMe Identify Controller data */ | #define CDAI_TYPE_NVME_CNTRL 6 /* NVMe Identify Controller data */ | ||||
#define CDAI_TYPE_NVME_NS 7 /* NVMe Identify Namespace data */ | #define CDAI_TYPE_NVME_NS 7 /* NVMe Identify Namespace data */ | ||||
#define CDAI_TYPE_MMC_PARAMS 8 /* MMC/SD ident */ | |||||
off_t bufsiz; /* IN: Size of external buffer */ | off_t bufsiz; /* IN: Size of external buffer */ | ||||
#define CAM_SCSI_DEVID_MAXLEN 65536 /* length in buffer is an uint16_t */ | #define CAM_SCSI_DEVID_MAXLEN 65536 /* length in buffer is an uint16_t */ | ||||
off_t provsiz; /* OUT: Size required/used */ | off_t provsiz; /* OUT: Size required/used */ | ||||
uint8_t *buf; /* IN/OUT: Buffer for requested data */ | uint8_t *buf; /* IN/OUT: Buffer for requested data */ | ||||
}; | }; | ||||
/* | /* | ||||
* CCB for sending async events | * CCB for sending async events | ||||
▲ Show 20 Lines • Show All 262 Lines • Show Last 20 Lines |