cam_ccb.h (216088) | cam_ccb.h (220602) |
---|---|
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 216088 2010-11-30 22:39:46Z ken $ | 28 * $FreeBSD: head/sys/cam/cam_ccb.h 220602 2011-04-13 16:20:54Z mav $ |
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> --- 847 unchanged lines hidden (view full) --- 884 u_int pm_present; /* PM is present (XPT->SIM) */ 885 u_int tags; /* Number of allowed tags */ 886 u_int atapi; /* Length of ATAPI CDB */ 887 u_int caps; /* Device and host SATA caps. */ 888#define CTS_SATA_CAPS_H 0x0000ffff 889#define CTS_SATA_CAPS_H_PMREQ 0x00000001 890#define CTS_SATA_CAPS_H_APST 0x00000002 891#define CTS_SATA_CAPS_H_DMAAA 0x00000010 /* Auto-activation */ | 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> --- 847 unchanged lines hidden (view full) --- 884 u_int pm_present; /* PM is present (XPT->SIM) */ 885 u_int tags; /* Number of allowed tags */ 886 u_int atapi; /* Length of ATAPI CDB */ 887 u_int caps; /* Device and host SATA caps. */ 888#define CTS_SATA_CAPS_H 0x0000ffff 889#define CTS_SATA_CAPS_H_PMREQ 0x00000001 890#define CTS_SATA_CAPS_H_APST 0x00000002 891#define CTS_SATA_CAPS_H_DMAAA 0x00000010 /* Auto-activation */ |
892#define CTS_SATA_CAPS_H_AN 0x00000020 /* Async. notification */ |
|
892#define CTS_SATA_CAPS_D 0xffff0000 893#define CTS_SATA_CAPS_D_PMREQ 0x00010000 894#define CTS_SATA_CAPS_D_APST 0x00020000 895}; 896 897/* Get/Set transfer rate/width/disconnection/tag queueing settings */ 898struct ccb_trans_settings { 899 struct ccb_hdr ccb_h; --- 366 unchanged lines hidden --- | 893#define CTS_SATA_CAPS_D 0xffff0000 894#define CTS_SATA_CAPS_D_PMREQ 0x00010000 895#define CTS_SATA_CAPS_D_APST 0x00020000 896}; 897 898/* Get/Set transfer rate/width/disconnection/tag queueing settings */ 899struct ccb_trans_settings { 900 struct ccb_hdr ccb_h; --- 366 unchanged lines hidden --- |