Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/scsi/scsi_da.c
Show First 20 Lines • Show All 1,486 Lines • ▼ Show 20 Lines | |||||
static int daerror(union ccb *ccb, u_int32_t cam_flags, | static int daerror(union ccb *ccb, u_int32_t cam_flags, | ||||
u_int32_t sense_flags); | u_int32_t sense_flags); | ||||
static void daprevent(struct cam_periph *periph, int action); | static void daprevent(struct cam_periph *periph, int action); | ||||
static void dareprobe(struct cam_periph *periph); | static void dareprobe(struct cam_periph *periph); | ||||
static void dasetgeom(struct cam_periph *periph, uint32_t block_len, | static void dasetgeom(struct cam_periph *periph, uint32_t block_len, | ||||
uint64_t maxsector, | uint64_t maxsector, | ||||
struct scsi_read_capacity_data_long *rcaplong, | struct scsi_read_capacity_data_long *rcaplong, | ||||
size_t rcap_size); | size_t rcap_size); | ||||
static timeout_t dasendorderedtag; | static callout_func_t dasendorderedtag; | ||||
static void dashutdown(void *arg, int howto); | static void dashutdown(void *arg, int howto); | ||||
static timeout_t damediapoll; | static callout_func_t damediapoll; | ||||
#ifndef DA_DEFAULT_POLL_PERIOD | #ifndef DA_DEFAULT_POLL_PERIOD | ||||
#define DA_DEFAULT_POLL_PERIOD 3 | #define DA_DEFAULT_POLL_PERIOD 3 | ||||
#endif | #endif | ||||
#ifndef DA_DEFAULT_TIMEOUT | #ifndef DA_DEFAULT_TIMEOUT | ||||
#define DA_DEFAULT_TIMEOUT 60 /* Timeout in seconds */ | #define DA_DEFAULT_TIMEOUT 60 /* Timeout in seconds */ | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 5,064 Lines • Show Last 20 Lines |