Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ahci/ahciem.c
Show First 20 Lines • Show All 635 Lines • ▼ Show 20 Lines | case XPT_PATH_INQ: /* Path routing inquiry */ | ||||
strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | ||||
strlcpy(cpi->hba_vid, "AHCI", HBA_IDLEN); | strlcpy(cpi->hba_vid, "AHCI", HBA_IDLEN); | ||||
strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN); | strlcpy(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->hba_vendor = pci_get_vendor(parent); | cpi->hba_vendor = pci_get_vendor(parent); | ||||
cpi->hba_device = pci_get_device(parent); | cpi->hba_device = pci_get_device(parent); | ||||
cpi->hba_subvendor = pci_get_subvendor(parent); | cpi->hba_subvendor = pci_get_subvendor(parent); | ||||
cpi->hba_subdevice = pci_get_subdevice(parent); | cpi->hba_subdevice = pci_get_subdevice(parent); | ||||
cpi->ccb_h.status = CAM_REQ_CMP; | cpi->ccb_h.status = CAM_REQ_CMP; | ||||
break; | break; | ||||
} | } | ||||
default: | default: | ||||
Show All 11 Lines |