Lines Matching +full:io +full:- +full:multiplex
1 /*-
76 //SLM-Add new PCIe info to all of these tables
149 {"Multiplex Sequence", 0x05},
150 {"I-T Nexus Loss Timer", 0x06},
217 {"scsi io data error", MPI2_IOCSTATUS_SCSI_IO_DATA_ERROR},
280 mpr_describe_table(mpr_whoinit_names, facts->WhoInit)); in mpr_print_iocfacts()
286 facts->IOCCapabilities, "\20" "\3ScsiTaskFull" "\4DiagTrace" in mpr_print_iocfacts()
290 mpr_print_field(sc, "FWVersion= %d-%d-%d-%d\n", in mpr_print_iocfacts()
291 facts->FWVersion.Struct.Major, in mpr_print_iocfacts()
292 facts->FWVersion.Struct.Minor, in mpr_print_iocfacts()
293 facts->FWVersion.Struct.Unit, in mpr_print_iocfacts()
294 facts->FWVersion.Struct.Dev); in mpr_print_iocfacts()
301 facts->ProtocolFlags, "\20" "\1ScsiTarg" "\2ScsiInit"); in mpr_print_iocfacts()
328 mpr_describe_table(mpr_event_names, le16toh(event->Event)), le16toh(event->Event)); in mpr_print_evt_generic()
339 mpr_to_u64(&buf->SASAddress)); in mpr_print_sasdev0()
346 mpr_print_field(sc, "DeviceInfo: %b,%s\n", le32toh(buf->DeviceInfo), in mpr_print_sasdev0()
350 mpr_describe_table(mpr_sasdev0_devtype, buf->DeviceInfo & 0x03)); in mpr_print_sasdev0()
355 mpr_to_u64(&buf->DeviceName)); in mpr_print_sasdev0()
367 switch(le16toh(event->Event)) { in mpr_print_evt_sas()
372 data = (MPI2_EVENT_DATA_SAS_DISCOVERY *)&event->EventData; in mpr_print_evt_sas()
373 mpr_print_field(sc, "Flags: %b\n", data->Flags, in mpr_print_evt_sas()
376 mpr_describe_table(mpr_sasdisc_reason, data->ReasonCode)); in mpr_print_evt_sas()
379 le32toh(data->DiscoveryStatus), "\20" in mpr_print_evt_sas()
389 //SLM-add for PCIE EVENT too in mpr_print_evt_sas()
397 &event->EventData; in mpr_print_evt_sas()
404 mpr_describe_table(mpr_sastopo_exp, data->ExpStatus), in mpr_print_evt_sas()
405 data->ExpStatus); in mpr_print_evt_sas()
407 for (i = 0; i < data->NumEntries; i++) { in mpr_print_evt_sas()
408 phy = &data->PHY[i]; in mpr_print_evt_sas()
409 phynum = data->StartPhyNum + i; in mpr_print_evt_sas()
412 le16toh(phy->AttachedDevHandle)); in mpr_print_evt_sas()
416 (phy->LinkRate >> 4) & 0xf), phy->LinkRate); in mpr_print_evt_sas()
419 phy->PhyStatus)); in mpr_print_evt_sas()
428 &event->EventData; in mpr_print_evt_sas()
431 mpr_describe_table(mpr_sastopo_exp, data->ReasonCode)); in mpr_print_evt_sas()
443 &event->EventData; in mpr_print_evt_sas()
446 mpr_describe_table(mpr_sasdev_reason, data->ReasonCode)); in mpr_print_evt_sas()
451 mpr_to_u64(&data->SASAddress)); in mpr_print_evt_sas()
458 data = (MPI2_EVENT_DATA_SAS_BROADCAST_PRIMITIVE *)&event->EventData; in mpr_print_evt_sas()
473 MPR_PRINTFIELD_START(sc, "SAS Expander Page 1 #%d", buf->Phy); in mpr_print_expander1()
480 (buf->ProgrammedLinkRate >> 4) & 0xf), buf->ProgrammedLinkRate); in mpr_print_expander1()
483 (buf->HwLinkRate >> 4) & 0xf), buf->HwLinkRate); in mpr_print_expander1()
487 (le32toh(buf->PhyInfo) >> 16) & 0xf), le32toh(buf->PhyInfo)); in mpr_print_expander1()
489 le32toh(buf->AttachedDeviceInfo), "\20" "\4SATAhost" "\5SMPinit" "\6STPinit" in mpr_print_expander1()
493 le32toh(buf->AttachedDeviceInfo) & 0x03)); in mpr_print_expander1()
498 buf->NegotiatedLinkRate & 0xf), buf->NegotiatedLinkRate); in mpr_print_expander1()
505 le32toh(buf->AttachedPhyInfo) & 0xf), le32toh(buf->AttachedPhyInfo)); in mpr_print_expander1()
519 le32toh(buf->AttachedPhyInfo) & 0xf), le32toh(buf->AttachedPhyInfo)); in mpr_print_sasphy0()
522 (buf->ProgrammedLinkRate >> 4) & 0xf), buf->ProgrammedLinkRate); in mpr_print_sasphy0()
525 (buf->HwLinkRate >> 4) & 0xf), buf->HwLinkRate); in mpr_print_sasphy0()
530 (le32toh(buf->PhyInfo) >> 16) & 0xf), le32toh(buf->PhyInfo)); in mpr_print_sasphy0()
533 buf->NegotiatedLinkRate & 0xf), buf->NegotiatedLinkRate); in mpr_print_sasphy0()
546 frame = (char *)cm->cm_req; in mpr_print_sgl()
552 while ((frame != NULL) && (!(cm->cm_flags & MPR_CM_FLAGS_SGE_SIMPLE))) { in mpr_print_sgl()
553 flags = ieee_sge->Flags; in mpr_print_sgl()
554 length = le32toh(ieee_sge->Length); in mpr_print_sgl()
556 flags, length, mpr_to_u64(&ieee_sge->Address)); in mpr_print_sgl()
564 "Address=0x%016jx\n", ieee_sgc->Flags, in mpr_print_sgl()
565 le32toh(ieee_sgc->Length), in mpr_print_sgl()
566 ieee_sgc->NextChainOffset, in mpr_print_sgl()
567 mpr_to_u64(&ieee_sgc->Address)); in mpr_print_sgl()
569 chain = TAILQ_FIRST(&cm->cm_chain_list); in mpr_print_sgl()
572 frame = (char *)chain->chain; in mpr_print_sgl()
577 while ((frame != NULL) && (cm->cm_flags & MPR_CM_FLAGS_SGE_SIMPLE)) { in mpr_print_sgl()
578 flags = le32toh(sge->FlagsLength) >> MPI2_SGE_FLAGS_SHIFT; in mpr_print_sgl()
580 flags, le32toh(sge->FlagsLength) & 0xffffff, in mpr_print_sgl()
581 mpr_to_u64(&sge->Address)); in mpr_print_sgl()
595 req = (MPI2_SCSI_IO_REQUEST *)cm->cm_req; in mpr_print_scsiio_cmd()
596 mpr_print_sgl(sc, cm, req->SGLOffset0); in mpr_print_scsiio_cmd()