Deleted Added
full compact
mfireg.h (233711) mfireg.h (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

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

49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50 * SUCH DAMAGE.
51 */
52
53#ifndef _MFIREG_H
54#define _MFIREG_H
55
56#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

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

49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
50 * SUCH DAMAGE.
51 */
52
53#ifndef _MFIREG_H
54#define _MFIREG_H
55
56#include <sys/cdefs.h>
57__FBSDID("$FreeBSD: head/sys/dev/mfi/mfireg.h 233711 2012-03-30 23:05:48Z ambrisko $");
57__FBSDID("$FreeBSD: head/sys/dev/mfi/mfireg.h 235014 2012-05-04 16:00:39Z ambrisko $");
58
59/*
60 * MegaRAID SAS MFI firmware definitions
61 *
62 * Calling this driver 'MegaRAID SAS' is a bit misleading. It's a completely
63 * new firmware interface from the old AMI MegaRAID one, and there is no
64 * reason why this interface should be limited to just SAS. In any case, LSI
65 * seems to also call this interface 'MFI', so that will be used here.

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

398 MR_EVT_ARGS_STR,
399 MR_EVT_ARGS_TIME,
400 MR_EVT_ARGS_ECC
401} mfi_evt_args;
402
403#define MR_EVT_CTRL_HOST_BUS_SCAN_REQUESTED 0x0152
404#define MR_EVT_PD_REMOVED 0x0070
405#define MR_EVT_PD_INSERTED 0x005b
58
59/*
60 * MegaRAID SAS MFI firmware definitions
61 *
62 * Calling this driver 'MegaRAID SAS' is a bit misleading. It's a completely
63 * new firmware interface from the old AMI MegaRAID one, and there is no
64 * reason why this interface should be limited to just SAS. In any case, LSI
65 * seems to also call this interface 'MFI', so that will be used here.

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

398 MR_EVT_ARGS_STR,
399 MR_EVT_ARGS_TIME,
400 MR_EVT_ARGS_ECC
401} mfi_evt_args;
402
403#define MR_EVT_CTRL_HOST_BUS_SCAN_REQUESTED 0x0152
404#define MR_EVT_PD_REMOVED 0x0070
405#define MR_EVT_PD_INSERTED 0x005b
406#define MR_EVT_LD_CHANGE 0x0051
406
407typedef enum {
408 MR_LD_CACHE_WRITE_BACK = 0x01,
409 MR_LD_CACHE_WRITE_ADAPTIVE = 0x02,
410 MR_LD_CACHE_READ_AHEAD = 0x04,
411 MR_LD_CACHE_READ_ADAPTIVE = 0x08,
412 MR_LD_CACHE_WRITE_CACHE_BAD_BBU=0x10,
413 MR_LD_CACHE_ALLOW_WRITE_CACHE = 0x20,

--- 1455 unchanged lines hidden ---
407
408typedef enum {
409 MR_LD_CACHE_WRITE_BACK = 0x01,
410 MR_LD_CACHE_WRITE_ADAPTIVE = 0x02,
411 MR_LD_CACHE_READ_AHEAD = 0x04,
412 MR_LD_CACHE_READ_ADAPTIVE = 0x08,
413 MR_LD_CACHE_WRITE_CACHE_BAD_BBU=0x10,
414 MR_LD_CACHE_ALLOW_WRITE_CACHE = 0x20,

--- 1455 unchanged lines hidden ---