ctl_io.h (268556) | ctl_io.h (268685) |
---|---|
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: stable/10/sys/cam/ctl/ctl_io.h 268556 2014-07-12 04:34:39Z mav $ | 31 * $FreeBSD: stable/10/sys/cam/ctl/ctl_io.h 268685 2014-07-15 17:08:04Z 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_ --- 176 unchanged lines hidden (view full) --- 216} ctl_io_type; 217 218struct ctl_nexus { 219 struct ctl_id initid; /* Initiator ID */ 220 uint32_t targ_port; /* Target port, filled in by PORT */ 221 struct ctl_id targ_target; /* Destination target */ 222 uint32_t targ_lun; /* Destination lun */ 223 uint32_t targ_mapped_lun; /* Destination lun CTL-wide */ | 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_ --- 176 unchanged lines hidden (view full) --- 216} ctl_io_type; 217 218struct ctl_nexus { 219 struct ctl_id initid; /* Initiator ID */ 220 uint32_t targ_port; /* Target port, filled in by PORT */ 221 struct ctl_id targ_target; /* Destination target */ 222 uint32_t targ_lun; /* Destination lun */ 223 uint32_t targ_mapped_lun; /* Destination lun CTL-wide */ |
224 uint32_t (*lun_map_fn)(void *arg, uint32_t lun); 225 void *lun_map_arg; | |
226}; 227 228typedef enum { 229 CTL_MSG_SERIALIZE, 230 CTL_MSG_R2R, 231 CTL_MSG_FINISH_IO, 232 CTL_MSG_BAD_JUJU, 233 CTL_MSG_MANAGE_TASKS, --- 299 unchanged lines hidden --- | 224}; 225 226typedef enum { 227 CTL_MSG_SERIALIZE, 228 CTL_MSG_R2R, 229 CTL_MSG_FINISH_IO, 230 CTL_MSG_BAD_JUJU, 231 CTL_MSG_MANAGE_TASKS, --- 299 unchanged lines hidden --- |