Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/scsi/scsi_cd.c
Show First 20 Lines • Show All 296 Lines • ▼ Show 20 Lines | |||||
static int cdsetspeed(struct cam_periph *periph, | static int cdsetspeed(struct cam_periph *periph, | ||||
u_int32_t rdspeed, u_int32_t wrspeed); | u_int32_t rdspeed, u_int32_t wrspeed); | ||||
static int cdreportkey(struct cam_periph *periph, | static int cdreportkey(struct cam_periph *periph, | ||||
struct dvd_authinfo *authinfo); | struct dvd_authinfo *authinfo); | ||||
static int cdsendkey(struct cam_periph *periph, | static int cdsendkey(struct cam_periph *periph, | ||||
struct dvd_authinfo *authinfo); | struct dvd_authinfo *authinfo); | ||||
static int cdreaddvdstructure(struct cam_periph *periph, | static int cdreaddvdstructure(struct cam_periph *periph, | ||||
struct dvd_struct *dvdstruct); | struct dvd_struct *dvdstruct); | ||||
static timeout_t cdmediapoll; | static callout_func_t cdmediapoll; | ||||
static struct periph_driver cddriver = | static struct periph_driver cddriver = | ||||
{ | { | ||||
cdinit, "cd", | cdinit, "cd", | ||||
TAILQ_HEAD_INITIALIZER(cddriver.units), /* generation */ 0 | TAILQ_HEAD_INITIALIZER(cddriver.units), /* generation */ 0 | ||||
}; | }; | ||||
PERIPHDRIVER_DECLARE(cd, cddriver); | PERIPHDRIVER_DECLARE(cd, cddriver); | ||||
▲ Show 20 Lines • Show All 3,935 Lines • Show Last 20 Lines |