void mpt_print_db(u_int32_t mb) { printf("mpt mailbox: (0x%x) State %s WhoInit %s\n", mb, mpt_state(mb), mpt_who(MPT_WHO(mb))); }
static void mpt_print_ioc_facts(MSG_IOC_FACTS_REPLY *msg) { mpt_print_reply_hdr((MSG_DEFAULT_REPLY *)msg); printf("\tIOCNumber %d\n", msg->IOCNumber); printf("\tMaxChainDepth %d\n", msg->MaxChainDepth); printf("\tWhoInit %s\n", mpt_who(msg->WhoInit)); printf("\tBlockSize %d\n", msg->BlockSize); printf("\tFlags %d\n", msg->Flags); printf("\tReplyQueueDepth %d\n", msg->ReplyQueueDepth); printf("\tReqFrameSize 0x%04x\n", msg->RequestFrameSize); printf("\tFW Version 0x%08x\n", msg->FWVersion.Word); printf("\tProduct ID 0x%04x\n", msg->ProductID); printf("\tCredits 0x%04x\n", msg->GlobalCredits); printf("\tPorts %d\n", msg->NumberOfPorts); printf("\tEventState 0x%02x\n", msg->EventState); printf("\tHostMFA_HA 0x%08x\n", msg->CurrentHostMfaHighAddr); printf("\tSenseBuf_HA 0x%08x\n", msg->CurrentSenseBufferHighAddr); printf("\tRepFrameSize 0x%04x\n", msg->CurReplyFrameSize); printf("\tMaxDevices 0x%02x\n", msg->MaxDevices); printf("\tMaxBuses 0x%02x\n", msg->MaxBuses); printf("\tFWImageSize 0x%04x\n", msg->FWImageSize); }
static void mpt_print_init_reply(MSG_IOC_INIT_REPLY *msg) { mpt_print_reply_hdr((MSG_DEFAULT_REPLY *)msg); printf("\tWhoInit %s\n", mpt_who(msg->WhoInit)); printf("\tMaxDevices 0x%02x\n", msg->MaxDevices); printf("\tMaxBuses 0x%02x\n", msg->MaxBuses); }