Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/cam_xpt_internal.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
uint8_t *device_id; | uint8_t *device_id; | ||||
uint32_t ext_inq_len; | uint32_t ext_inq_len; | ||||
uint8_t *ext_inq; | uint8_t *ext_inq; | ||||
uint8_t physpath_len; | uint8_t physpath_len; | ||||
uint8_t *physpath; /* physical path string form */ | uint8_t *physpath; /* physical path string form */ | ||||
uint32_t rcap_len; | uint32_t rcap_len; | ||||
uint8_t *rcap_buf; | uint8_t *rcap_buf; | ||||
struct ata_params ident_data; | struct ata_params ident_data; | ||||
struct mmc_params mmc_ident_data; | |||||
u_int8_t inq_flags; /* | u_int8_t inq_flags; /* | ||||
* Current settings for inquiry flags. | * Current settings for inquiry flags. | ||||
* This allows us to override settings | * This allows us to override settings | ||||
* like disconnection and tagged | * like disconnection and tagged | ||||
* queuing for a device. | * queuing for a device. | ||||
*/ | */ | ||||
u_int8_t queue_flags; /* Queue flags from the control page */ | u_int8_t queue_flags; /* Queue flags from the control page */ | ||||
u_int8_t serial_num_len; | u_int8_t serial_num_len; | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
struct cam_periph *periph; | struct cam_periph *periph; | ||||
struct cam_eb *bus; | struct cam_eb *bus; | ||||
struct cam_et *target; | struct cam_et *target; | ||||
struct cam_ed *device; | struct cam_ed *device; | ||||
}; | }; | ||||
struct xpt_xport * scsi_get_xport(void); | struct xpt_xport * scsi_get_xport(void); | ||||
struct xpt_xport * ata_get_xport(void); | struct xpt_xport * ata_get_xport(void); | ||||
struct xpt_xport * mmc_get_xport(void); | |||||
struct cam_ed * xpt_alloc_device(struct cam_eb *bus, | struct cam_ed * xpt_alloc_device(struct cam_eb *bus, | ||||
struct cam_et *target, | struct cam_et *target, | ||||
lun_id_t lun_id); | lun_id_t lun_id); | ||||
void xpt_acquire_device(struct cam_ed *device); | void xpt_acquire_device(struct cam_ed *device); | ||||
void xpt_release_device(struct cam_ed *device); | void xpt_release_device(struct cam_ed *device); | ||||
u_int32_t xpt_dev_ccbq_resize(struct cam_path *path, int newopenings); | u_int32_t xpt_dev_ccbq_resize(struct cam_path *path, int newopenings); | ||||
void xpt_start_tags(struct cam_path *path); | void xpt_start_tags(struct cam_path *path); | ||||
void xpt_stop_tags(struct cam_path *path); | void xpt_stop_tags(struct cam_path *path); | ||||
MALLOC_DECLARE(M_CAMXPT); | MALLOC_DECLARE(M_CAMXPT); | ||||
#endif | #endif | ||||
Context not available. |