Deleted Added
full compact
ctl_io.h (268151) ctl_io.h (268556)
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 268151 2014-07-02 10:45:31Z mav $
31 * $FreeBSD: stable/10/sys/cam/ctl/ctl_io.h 268556 2014-07-12 04:34:39Z 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_

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

215 CTL_IO_TASK,
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 */
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_

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

215 CTL_IO_TASK,
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 */
223 uint32_t (*lun_map_fn)(void *arg, uint32_t lun);
224 void *lun_map_arg;
225};
226
227typedef enum {
228 CTL_MSG_SERIALIZE,
229 CTL_MSG_R2R,
230 CTL_MSG_FINISH_IO,

--- 301 unchanged lines hidden ---
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,

--- 301 unchanged lines hidden ---