ctl_io.h (287991) | ctl_io.h (288020) |
---|---|
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_io.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_io.h#5 $ |
31 * $FreeBSD: head/sys/cam/ctl/ctl_io.h 287991 2015-09-19 18:23:06Z mav $ | 31 * $FreeBSD: head/sys/cam/ctl/ctl_io.h 288020 2015-09-20 10:40:30Z mav $ |
32 */ 33/* 34 * CAM Target Layer data movement structures/interface. 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_IO_H_ --- 43 unchanged lines hidden (view full) --- 83 * definition in ctl_private.h. 84 */ 85typedef enum { 86 CTL_FLAG_NONE = 0x00000000, /* no flags */ 87 CTL_FLAG_DATA_IN = 0x00000001, /* DATA IN */ 88 CTL_FLAG_DATA_OUT = 0x00000002, /* DATA OUT */ 89 CTL_FLAG_DATA_NONE = 0x00000003, /* no data */ 90 CTL_FLAG_DATA_MASK = 0x00000003, | 32 */ 33/* 34 * CAM Target Layer data movement structures/interface. 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_IO_H_ --- 43 unchanged lines hidden (view full) --- 83 * definition in ctl_private.h. 84 */ 85typedef enum { 86 CTL_FLAG_NONE = 0x00000000, /* no flags */ 87 CTL_FLAG_DATA_IN = 0x00000001, /* DATA IN */ 88 CTL_FLAG_DATA_OUT = 0x00000002, /* DATA OUT */ 89 CTL_FLAG_DATA_NONE = 0x00000003, /* no data */ 90 CTL_FLAG_DATA_MASK = 0x00000003, |
91 CTL_FLAG_KDPTR_SGLIST = 0x00000008, /* kern_data_ptr is S/G list*/ 92 CTL_FLAG_EDPTR_SGLIST = 0x00000010, /* ext_data_ptr is S/G list */ | |
93 CTL_FLAG_DO_AUTOSENSE = 0x00000020, /* grab sense info */ 94 CTL_FLAG_USER_REQ = 0x00000040, /* request came from userland */ 95 CTL_FLAG_ALLOCATED = 0x00000100, /* data space allocated */ 96 CTL_FLAG_BLOCKED = 0x00000200, /* on the blocked queue */ 97 CTL_FLAG_ABORT_STATUS = 0x00000400, /* return TASK ABORTED status */ 98 CTL_FLAG_ABORT = 0x00000800, /* this I/O should be aborted */ 99 CTL_FLAG_DMA_INPROG = 0x00001000, /* DMA in progress */ 100 CTL_FLAG_DELAY_DONE = 0x00004000, /* delay injection done */ --- 459 unchanged lines hidden --- | 91 CTL_FLAG_DO_AUTOSENSE = 0x00000020, /* grab sense info */ 92 CTL_FLAG_USER_REQ = 0x00000040, /* request came from userland */ 93 CTL_FLAG_ALLOCATED = 0x00000100, /* data space allocated */ 94 CTL_FLAG_BLOCKED = 0x00000200, /* on the blocked queue */ 95 CTL_FLAG_ABORT_STATUS = 0x00000400, /* return TASK ABORTED status */ 96 CTL_FLAG_ABORT = 0x00000800, /* this I/O should be aborted */ 97 CTL_FLAG_DMA_INPROG = 0x00001000, /* DMA in progress */ 98 CTL_FLAG_DELAY_DONE = 0x00004000, /* delay injection done */ --- 459 unchanged lines hidden --- |