mpt_debug.c (147883) | mpt_debug.c (154603) |
---|---|
1/*- 2 * Debug routines for LSI '909 FC adapters. 3 * FreeBSD Version. 4 * 5 * Copyright (c) 2000, 2001 by Greg Ansley 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * Additional Copyright (c) 2002 by Matthew Jacob under same license. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Debug routines for LSI '909 FC adapters. 3 * FreeBSD Version. 4 * 5 * Copyright (c) 2000, 2001 by Greg Ansley 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * Additional Copyright (c) 2002 by Matthew Jacob under same license. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/dev/mpt/mpt_debug.c 147883 2005-07-10 15:05:39Z scottl $"); | 32__FBSDID("$FreeBSD: head/sys/dev/mpt/mpt_debug.c 154603 2006-01-21 00:29:52Z mjacob $"); |
33 34#include <dev/mpt/mpt.h> 35 36#include <dev/mpt/mpilib/mpi_ioc.h> 37#include <dev/mpt/mpilib/mpi_init.h> 38#include <dev/mpt/mpilib/mpi_fc.h> 39 40#include <cam/scsi/scsi_all.h> --- 66 unchanged lines hidden (view full) --- 107{ MPI_FUNCTION_PORT_ENABLE, "Port Enable" }, 108{ MPI_FUNCTION_EVENT_NOTIFICATION, "Event Notification" }, 109{ MPI_FUNCTION_EVENT_ACK, "Event Ack" }, 110{ MPI_FUNCTION_FW_DOWNLOAD, "FW Download" }, 111{ MPI_FUNCTION_TARGET_CMD_BUFFER_POST, "SCSI Target Command Buffer" }, 112{ MPI_FUNCTION_TARGET_ASSIST, "Target Assist" }, 113{ MPI_FUNCTION_TARGET_STATUS_SEND, "Target Status Send" }, 114{ MPI_FUNCTION_TARGET_MODE_ABORT, "Target Mode Abort" }, | 33 34#include <dev/mpt/mpt.h> 35 36#include <dev/mpt/mpilib/mpi_ioc.h> 37#include <dev/mpt/mpilib/mpi_init.h> 38#include <dev/mpt/mpilib/mpi_fc.h> 39 40#include <cam/scsi/scsi_all.h> --- 66 unchanged lines hidden (view full) --- 107{ MPI_FUNCTION_PORT_ENABLE, "Port Enable" }, 108{ MPI_FUNCTION_EVENT_NOTIFICATION, "Event Notification" }, 109{ MPI_FUNCTION_EVENT_ACK, "Event Ack" }, 110{ MPI_FUNCTION_FW_DOWNLOAD, "FW Download" }, 111{ MPI_FUNCTION_TARGET_CMD_BUFFER_POST, "SCSI Target Command Buffer" }, 112{ MPI_FUNCTION_TARGET_ASSIST, "Target Assist" }, 113{ MPI_FUNCTION_TARGET_STATUS_SEND, "Target Status Send" }, 114{ MPI_FUNCTION_TARGET_MODE_ABORT, "Target Mode Abort" }, |
115{ MPI_FUNCTION_TARGET_FC_BUF_POST_LINK_SRVC, "FC: Link Service Buffers" }, 116{ MPI_FUNCTION_TARGET_FC_RSP_LINK_SRVC, "FC: Link Service Response" }, 117{ MPI_FUNCTION_TARGET_FC_EX_SEND_LINK_SRVC, "FC: Send Extended Link Service" }, 118{ MPI_FUNCTION_TARGET_FC_ABORT, "FC: Abort" }, 119{ MPI_FUNCTION_FC_LINK_SRVC_BUF_POST, "FC: Link Service Buffers" }, 120{ MPI_FUNCTION_FC_LINK_SRVC_RSP, "FC: Link Server Response" }, 121{ MPI_FUNCTION_FC_EX_LINK_SRVC_SEND, "FC: Send Extended Link Service" }, 122{ MPI_FUNCTION_FC_ABORT, "FC: Abort" }, 123{ MPI_FUNCTION_FW_UPLOAD, "FW Upload" }, 124{ MPI_FUNCTION_FC_COMMON_TRANSPORT_SEND, "FC: Send Common Transport" }, 125{ MPI_FUNCTION_FC_PRIMITIVE_SEND, "FC: Send Primitive" }, 126{ MPI_FUNCTION_RAID_ACTION, "RAID Action" }, 127{ MPI_FUNCTION_RAID_SCSI_IO_PASSTHROUGH, "RAID SCSI Pass-Through" }, 128{ MPI_FUNCTION_TOOLBOX, "Toolbox Command" }, 129{ MPI_FUNCTION_SCSI_ENCLOSURE_PROCESSOR, "SCSI Enclosure Proc. Command" }, 130{ MPI_FUNCTION_MAILBOX, "Mailbox Command" }, 131{ MPI_FUNCTION_LAN_SEND, "LAN Send" }, 132{ MPI_FUNCTION_LAN_RECEIVE, "LAN Recieve" }, 133{ MPI_FUNCTION_LAN_RESET, "LAN Reset" }, 134{ MPI_FUNCTION_IOC_MESSAGE_UNIT_RESET, "IOC Message Unit Reset" }, 135{ MPI_FUNCTION_IO_UNIT_RESET, "IO Unit Reset" }, 136{ MPI_FUNCTION_HANDSHAKE, "Handshake" }, 137{ MPI_FUNCTION_REPLY_FRAME_REMOVAL, "Reply Frame Removal" }, | |
138{ -1, 0}, 139}; 140 141static const struct Error_Map IOC_Event[] = { 142{ MPI_EVENT_NONE, "None" }, 143{ MPI_EVENT_LOG_DATA, "LogData" }, 144{ MPI_EVENT_STATE_CHANGE, "State Change" }, 145{ MPI_EVENT_UNIT_ATTENTION, "Unit Attention" }, --- 583 unchanged lines hidden --- | 115{ -1, 0}, 116}; 117 118static const struct Error_Map IOC_Event[] = { 119{ MPI_EVENT_NONE, "None" }, 120{ MPI_EVENT_LOG_DATA, "LogData" }, 121{ MPI_EVENT_STATE_CHANGE, "State Change" }, 122{ MPI_EVENT_UNIT_ATTENTION, "Unit Attention" }, --- 583 unchanged lines hidden --- |