mpt_prt
mpt_prt(mpt, "enabling port %d", port);
mpt_prt(mpt, "port enable timed out");
mpt_prt(mpt, "%sabling async events", onoff? "en" : "dis");
mpt_prt(mpt, "doorbell req = %s",
mpt_prt(mpt, "mpt_get_iocfacts failed");
mpt_prt(mpt,
mpt_prt(mpt, "mpt_get_portfacts failed");
mpt_prt(mpt,
mpt_prt(mpt, "initiator role unsupported");
mpt_prt(mpt, "Unsupported Port Type (%x)",
mpt_prt(mpt, "mpt_send_ioc_init failed");
mpt_prt(mpt, "mpt_send_ioc_init ok");
mpt_prt(mpt, "IOC failed to go to run state");
mpt_prt(mpt, "IOC now at RUNSTATE");
mpt_prt(mpt, "failed to enable port 0");
mpt_prt(mpt, "enabled port 0");
mpt_prt(mpt, "failed to initialize IOC");
mpt_prt(mpt, "enabling interrupts");
mpt_prt(mpt, "Device not running");
mpt_prt(mpt, "soft reset");
mpt_prt(mpt, "soft reset failed: device not running");
mpt_prt(mpt, "soft reset failed: doorbell wedged");
mpt_prt(mpt, "soft reset failed: ack timeout");
mpt_prt(mpt, "soft reset failed: device did not start running");
mpt_prt(mpt, "hard reset");
mpt_prt(mpt, "failed to reset device");
mpt_prt(mpt, "Send Request %d (%#" PRIxBUSADDR "):",
mpt_prt(mpt, "%08x %08x %08x %08x",
mpt_prt(mpt, "%08x %08x %08x %08x",
mpt_prt(mpt, "%08x %08x %08x %08x",
mpt_prt(mpt, "%08x %08x %08x %08x",
mpt_prt(mpt, "handshake aborted due to invalid doorbell state");
mpt_prt(mpt, "mpt_send_handshake_cmd timeout1");
mpt_prt(mpt, "mpt_send_handshake_cmd timeout2");
mpt_prt(mpt,
mpt_prt(mpt, "mpt_recv_handshake_cmd timeout1");
mpt_prt(mpt, "mpt_recv_handshake_cmd timeout2");
mpt_prt(mpt, "reply length does not match message length: "
mpt_prt(mpt, "mpt_recv_handshake_cmd timeout3");
mpt_prt(mpt, "mpt_recv_handshake_cmd timeout4");
mpt_prt(mpt, "read_cfg_header timed out");
mpt_prt(mpt, "mpt_read_cfg_header: Config Info Status %x",
mpt_prt(mpt, "read_cfg_page timed out");
mpt_prt(mpt, "mpt_read_cfg_page: Config Info Status %x",
mpt_prt(mpt, "page type 0x%x not changeable",
mpt_prt(mpt, "mpt_write_cfg_page timed out");
mpt_prt(mpt, "mpt_write_cfg_page: Config Info Status %x",
mpt_prt(mpt, "SPI Port Page 0 Header: %x %x %x %x",
mpt_prt(mpt, "SPI Port Page 1 Header: %x %x %x %x",
mpt_prt(mpt, "SPI Port Page 2 Header: %x %x %x %x",
mpt_prt(mpt,
mpt_prt(mpt,
mpt_prt(mpt, "failed to read SPI Port Page 0");
mpt_prt(mpt,
mpt_prt(mpt, "failed to read SPI Port Page 1");
mpt_prt(mpt,
mpt_prt(mpt, "failed to read SPI Port Page 2");
mpt_prt(mpt,
mpt_prt(mpt,
mpt_prt(mpt, "cannot read SPI Tgt %d Device Page 0", i);
mpt_prt(mpt,
mpt_prt(mpt, "cannot read SPI Tgt %d Device Page 1", i);
mpt_prt(mpt,
mpt_prt(mpt,
mpt_prt(mpt,
mpt_prt(mpt,
mpt_prt(mpt,
mpt_prt(mpt, "mpt_run_xfer: no timeout specified for request: 0x%x\n",
mpt_prt(mpt, "unable to write Device Page 1");
mpt_prt(mpt, "unable to read back Device Page 1");
mpt_prt(mpt,
mpt_prt(mpt, "unable to read Device Page 0");
mpt_prt(mpt,
mpt_prt(mpt, "enable port reply index %d", index);
mpt_prt(mpt, "unknown ctlop: 0x%x", dmsg->Function);
mpt_prt(mpt, "EvtLogData: IOCLogInfo: 0x%08x", msg->IOCLogInfo);
mpt_prt(mpt, "EvtLogData: Event Data:");
mpt_prt(mpt, "Unit Attn: Bus 0x%02x Target 0x%02x",
mpt_prt(mpt, "IOC Bus Reset Port %d",
mpt_prt(mpt, "External Bus Reset");
mpt_prt(mpt, "Rescan Port %d", (msg->Data[0] >> 8) & 0xff);
mpt_prt(mpt, "Port %d: Link state %s",
mpt_prt(mpt,
mpt_prt(mpt, "\tDevice needs AL_PA");
mpt_prt(mpt, "\tDevice %02x doesn't "
mpt_prt(mpt, "\tDevice detected loop "
mpt_prt(mpt, "\tDevice %02x detected "
mpt_prt(mpt, "\tDevice %02x requests that "
mpt_prt(mpt, "Port %d: FC Link Event: LPE(%02x,%02x) "
mpt_prt(mpt, "Port %d: FC Link Event: LPB(%02x,%02x) "
mpt_prt(mpt, "Port %d: FC Link Event: "
mpt_prt(mpt, "Port %d: FC Logout: N_PortID: %02x",
mpt_prt(mpt, "Phy %d: Link Status Unknown",
mpt_prt(mpt, "Phy %d: Link Disabled",
mpt_prt(mpt, "Phy %d: Failed Speed Negotiation",
mpt_prt(mpt, "Phy %d: SATA OOB Complete",
mpt_prt(mpt, "Phy %d: Link Rate 1.5 Gbps",
mpt_prt(mpt, "Phy %d: Link Rate 3.0 Gbps",
mpt_prt(mpt, "Phy %d: SAS Phy Link Status Event: "
mpt_prt(mpt, "Integrated RAID Event: %s", raid_msg);
mpt_prt(mpt, "Queue Full Event");
mpt_prt(mpt, "Unknown async event: 0x%x", le32toh(msg->Event));
mpt_prt(mpt, "no mngt request\n");
mpt_prt(mpt, "recovered from command timeout");
mpt_prt(mpt, "mpt_timeout: recovered %d commands",nrepl);
mpt_prt(mpt,
mpt_prt(mpt, "Status 0x%08x, Mask 0x%08x, Doorbell 0x%08x",
mpt_prt(mpt, "request state: %s", mpt_req_state(req->debug));
mpt_prt(mpt, "soft reset failed");
mpt_prt(mpt, "re-queued %d requests", nreq);
mpt_prt(mpt, "restart succeeded");
mpt_prt(mpt, "context %u reply OK", reply);
mpt_prt(mpt, "Address Reply (index %u):",
mpt_prt(mpt, "%08x %08x %08x %08x", pReply[0],
mpt_prt(mpt, "%08x %08x %08x %08x", pReply[4],
mpt_prt(mpt, "%08x %08x %08x %08x", pReply[8],
mpt_prt(mpt, "%s: index 0x%x, NULL reply", __func__,
mpt_prt(mpt, "%s: invalid index (0x%x) in reply", __func__,
mpt_prt(mpt, "%s: corrupted request_t (0x%x)", __func__,
mpt_prt(mpt, "%s: TASK MGMT", __func__);
mpt_prt(mpt, "%s: unknown Function 0x%x (0x%x)",
mpt_prt(mpt,
mpt_prt(mpt, "request state: %s", mpt_req_state(req->debug));
mpt_prt(mpt, "mpt_request:");
mpt_prt(mpt, "mpt_reply:");
mpt_prt(mpt, "context reply: 0x%08x", reply);
mpt_prt(mpt, "%s: IOC overrun!", __func__);
mpt_prt(mpt, "%s: IOC SCSI residual mismatch!", __func__);
mpt_prt(mpt, "%s: IOC SCSI task terminated!", __func__);
mpt_prt(mpt, "%s: IOC SCSI task failed!", __func__);
mpt_prt(mpt, "%s: IOC task terminated!", __func__);
mpt_prt(mpt, "%s: IOC SCSI bus reset!", __func__);
mpt_prt(mpt, "%s: IOC indicates protocol error -- "
mpt_prt(mpt, "%s: IOC returned unknown code: 0x%x", __func__,
mpt_prt(mpt, "%s: IOC has error - logging...\n", __func__);
mpt_prt(mpt, "%s: IOC fatal error: restarting...", __func__);
mpt_prt(mpt, "error %d loading DMA map", error);
void mpt_prt(mpt_softc_t *, const char *, ...) __printflike(2, 3);