Changeset View
Changeset View
Standalone View
Standalone View
head/sys/powerpc/mpc85xx/fsl_sata.c
Show First 20 Lines • Show All 1,864 Lines • ▼ Show 20 Lines | #endif | ||||
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | ||||
strncpy(cpi->hba_vid, "FSL SATA", HBA_IDLEN); | strncpy(cpi->hba_vid, "FSL SATA", HBA_IDLEN); | ||||
strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); | strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); | ||||
cpi->unit_number = cam_sim_unit(sim); | cpi->unit_number = cam_sim_unit(sim); | ||||
cpi->transport = XPORT_SATA; | cpi->transport = XPORT_SATA; | ||||
cpi->transport_version = XPORT_VERSION_UNSPECIFIED; | cpi->transport_version = XPORT_VERSION_UNSPECIFIED; | ||||
cpi->protocol = PROTO_ATA; | cpi->protocol = PROTO_ATA; | ||||
cpi->protocol_version = PROTO_VERSION_UNSPECIFIED; | cpi->protocol_version = PROTO_VERSION_UNSPECIFIED; | ||||
cpi->maxio = MAXPHYS; | cpi->maxio = maxphys; | ||||
cpi->ccb_h.status = CAM_REQ_CMP; | cpi->ccb_h.status = CAM_REQ_CMP; | ||||
break; | break; | ||||
} | } | ||||
default: | default: | ||||
ccb->ccb_h.status = CAM_REQ_INVALID; | ccb->ccb_h.status = CAM_REQ_INVALID; | ||||
break; | break; | ||||
} | } | ||||
fsl_sata_done(ch, ccb); | fsl_sata_done(ch, ccb); | ||||
Show All 15 Lines |