Deleted Added
full compact
cam_ccb.h (223081) cam_ccb.h (225950)
1/*-
2 * Data structures and definitions for CAM Control Blocks (CCBs).
3 *
4 * Copyright (c) 1997, 1998 Justin T. Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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 *
1/*-
2 * Data structures and definitions for CAM Control Blocks (CCBs).
3 *
4 * Copyright (c) 1997, 1998 Justin T. Gibbs.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
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 * $FreeBSD: head/sys/cam/cam_ccb.h 223081 2011-06-14 14:53:17Z gibbs $
28 * $FreeBSD: head/sys/cam/cam_ccb.h 225950 2011-10-03 20:32:55Z ken $
29 */
30
31#ifndef _CAM_CAM_CCB_H
32#define _CAM_CAM_CCB_H 1
33
34#include <sys/queue.h>
35#include <sys/cdefs.h>
36#include <sys/time.h>

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

534 u_int32_t match_buf_len;
535 struct dev_match_result *matches;
536 struct ccb_dev_position pos;
537};
538
539/*
540 * Definitions for the path inquiry CCB fields.
541 */
29 */
30
31#ifndef _CAM_CAM_CCB_H
32#define _CAM_CAM_CCB_H 1
33
34#include <sys/queue.h>
35#include <sys/cdefs.h>
36#include <sys/time.h>

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

534 u_int32_t match_buf_len;
535 struct dev_match_result *matches;
536 struct ccb_dev_position pos;
537};
538
539/*
540 * Definitions for the path inquiry CCB fields.
541 */
542#define CAM_VERSION 0x15 /* Hex value for current version */
542#define CAM_VERSION 0x16 /* Hex value for current version */
543
544typedef enum {
545 PI_MDP_ABLE = 0x80, /* Supports MDP message */
546 PI_WIDE_32 = 0x40, /* Supports 32 bit wide SCSI */
547 PI_WIDE_16 = 0x20, /* Supports 16 bit wide SCSI */
548 PI_SDTR_ABLE = 0x10, /* Supports SDTR message */
549 PI_LINKED_CDB = 0x08, /* Supports linked CDBs */
550 PI_SATAPM = 0x04, /* Supports SATA PM */

--- 735 unchanged lines hidden ---
543
544typedef enum {
545 PI_MDP_ABLE = 0x80, /* Supports MDP message */
546 PI_WIDE_32 = 0x40, /* Supports 32 bit wide SCSI */
547 PI_WIDE_16 = 0x20, /* Supports 16 bit wide SCSI */
548 PI_SDTR_ABLE = 0x10, /* Supports SDTR message */
549 PI_LINKED_CDB = 0x08, /* Supports linked CDBs */
550 PI_SATAPM = 0x04, /* Supports SATA PM */

--- 735 unchanged lines hidden ---