Deleted Added
full compact
ctl.h (231772) ctl.h (237821)
1/*-
2 * Copyright (c) 2003 Silicon Graphics International Corp.
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

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

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGES.
29 *
30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $
1/*-
2 * Copyright (c) 2003 Silicon Graphics International Corp.
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

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

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGES.
29 *
30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $
31 * $FreeBSD: stable/9/sys/cam/ctl/ctl.h 229997 2012-01-12 00:34:33Z ken $
31 * $FreeBSD: stable/9/sys/cam/ctl/ctl.h 237821 2012-06-29 21:19:24Z ken $
32 */
33/*
34 * Function definitions used both within CTL and potentially in various CTL
35 * clients.
36 *
37 * Author: Ken Merry <ken@FreeBSD.org>
38 */
39

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

115 CTL_UA_LUN_CHANGE = 0x0010,
116 CTL_UA_MODE_CHANGE = 0x0020,
117 CTL_UA_LOG_CHANGE = 0x0040,
118 CTL_UA_LVD = 0x0080,
119 CTL_UA_SE = 0x0100,
120 CTL_UA_RES_PREEMPT = 0x0200,
121 CTL_UA_RES_RELEASE = 0x0400,
122 CTL_UA_REG_PREEMPT = 0x0800,
32 */
33/*
34 * Function definitions used both within CTL and potentially in various CTL
35 * clients.
36 *
37 * Author: Ken Merry <ken@FreeBSD.org>
38 */
39

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

115 CTL_UA_LUN_CHANGE = 0x0010,
116 CTL_UA_MODE_CHANGE = 0x0020,
117 CTL_UA_LOG_CHANGE = 0x0040,
118 CTL_UA_LVD = 0x0080,
119 CTL_UA_SE = 0x0100,
120 CTL_UA_RES_PREEMPT = 0x0200,
121 CTL_UA_RES_RELEASE = 0x0400,
122 CTL_UA_REG_PREEMPT = 0x0800,
123 CTL_UA_ASYM_ACC_CHANGE = 0x1000
123 CTL_UA_ASYM_ACC_CHANGE = 0x1000,
124 CTL_UA_CAPACITY_CHANGED = 0x2000
124} ctl_ua_type;
125
126#ifdef _KERNEL
127
128MALLOC_DECLARE(M_CTL);
129
130typedef enum {
131 CTL_THREAD_NONE = 0x00,

--- 85 unchanged lines hidden ---
125} ctl_ua_type;
126
127#ifdef _KERNEL
128
129MALLOC_DECLARE(M_CTL);
130
131typedef enum {
132 CTL_THREAD_NONE = 0x00,

--- 85 unchanged lines hidden ---