Deleted Added
full compact
mfi_debug.c (233711) mfi_debug.c (235014)
1/*-
2 * Copyright (c) 2006 IronPort Systems
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006 IronPort Systems
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/mfi/mfi_debug.c 233711 2012-03-30 23:05:48Z ambrisko $");
28__FBSDID("$FreeBSD: head/sys/dev/mfi/mfi_debug.c 235014 2012-05-04 16:00:39Z ambrisko $");
29
30#include "opt_mfi.h"
31
32#ifdef MFI_DEBUG
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/kernel.h>

--- 130 unchanged lines hidden (view full) ---

167 opcode = "CLUSTER";
168 break;
169 case MFI_DCMD_CLUSTER_RESET_ALL:
170 opcode = "CLUSTER_RESET_ALL";
171 break;
172 case MFI_DCMD_CLUSTER_RESET_LD:
173 opcode = "CLUSTER_RESET_LD";
174 break;
29
30#include "opt_mfi.h"
31
32#ifdef MFI_DEBUG
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/kernel.h>

--- 130 unchanged lines hidden (view full) ---

167 opcode = "CLUSTER";
168 break;
169 case MFI_DCMD_CLUSTER_RESET_ALL:
170 opcode = "CLUSTER_RESET_ALL";
171 break;
172 case MFI_DCMD_CLUSTER_RESET_LD:
173 opcode = "CLUSTER_RESET_LD";
174 break;
175 case MFI_DCMD_LD_MAP_GET_INFO:
176 opcode = "LD_MAP_GET_INFO";
177 break;
175 default:
176 opcode = "UNKNOWN";
177 break;
178 }
179
180 device_printf(dev, "cmd=MFI_CMD_DCMD opcode=%s data_len=%d\n",
181 opcode, hdr->data_len);
182 mfi_print_frame_flags(dev, hdr->flags);

--- 96 unchanged lines hidden ---
178 default:
179 opcode = "UNKNOWN";
180 break;
181 }
182
183 device_printf(dev, "cmd=MFI_CMD_DCMD opcode=%s data_len=%d\n",
184 opcode, hdr->data_len);
185 mfi_print_frame_flags(dev, hdr->flags);

--- 96 unchanged lines hidden ---