Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/siis/siis.c
Show First 20 Lines • Show All 1,953 Lines • ▼ Show 20 Lines | case XPT_PATH_INQ: /* Path routing inquiry */ | ||||
cpi->target_sprt = 0; | cpi->target_sprt = 0; | ||||
cpi->hba_misc = PIM_SEQSCAN | PIM_UNMAPPED | PIM_ATA_EXT; | cpi->hba_misc = PIM_SEQSCAN | PIM_UNMAPPED | PIM_ATA_EXT; | ||||
cpi->hba_eng_cnt = 0; | cpi->hba_eng_cnt = 0; | ||||
cpi->max_target = 15; | cpi->max_target = 15; | ||||
cpi->max_lun = 0; | cpi->max_lun = 0; | ||||
cpi->initiator_id = 0; | cpi->initiator_id = 0; | ||||
cpi->bus_id = cam_sim_bus(sim); | cpi->bus_id = cam_sim_bus(sim); | ||||
cpi->base_transfer_speed = 150000; | cpi->base_transfer_speed = 150000; | ||||
strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); | ||||
strncpy(cpi->hba_vid, "SIIS", HBA_IDLEN); | strlcpy(cpi->hba_vid, "SIIS", HBA_IDLEN); | ||||
strncpy(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); | ||||
Show All 19 Lines |