ctl_backend.h (275568) | ctl_backend.h (275865) |
---|---|
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_backend.h#2 $ | 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_backend.h#2 $ |
31 * $FreeBSD: head/sys/cam/ctl/ctl_backend.h 275568 2014-12-06 20:39:25Z mav $ | 31 * $FreeBSD: head/sys/cam/ctl/ctl_backend.h 275865 2014-12-17 17:30:54Z mav $ |
32 */ 33/* 34 * CTL backend driver definitions 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_BACKEND_H_ --- 149 unchanged lines hidden (view full) --- 189struct ctl_be_lun { 190 uint8_t lun_type; /* passed to CTL */ 191 ctl_backend_lun_flags flags; /* passed to CTL */ 192 void *be_lun; /* passed to CTL */ 193 uint64_t maxlba; /* passed to CTL */ 194 uint32_t blocksize; /* passed to CTL */ 195 uint16_t pblockexp; /* passed to CTL */ 196 uint16_t pblockoff; /* passed to CTL */ | 32 */ 33/* 34 * CTL backend driver definitions 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_BACKEND_H_ --- 149 unchanged lines hidden (view full) --- 189struct ctl_be_lun { 190 uint8_t lun_type; /* passed to CTL */ 191 ctl_backend_lun_flags flags; /* passed to CTL */ 192 void *be_lun; /* passed to CTL */ 193 uint64_t maxlba; /* passed to CTL */ 194 uint32_t blocksize; /* passed to CTL */ 195 uint16_t pblockexp; /* passed to CTL */ 196 uint16_t pblockoff; /* passed to CTL */ |
197 uint16_t ublockexp; /* passed to CTL */ 198 uint16_t ublockoff; /* passed to CTL */ |
|
197 uint32_t atomicblock; /* passed to CTL */ 198 uint32_t req_lun_id; /* passed to CTL */ 199 uint32_t lun_id; /* returned from CTL */ 200 uint8_t serial_num[CTL_SN_LEN]; /* passed to CTL */ 201 uint8_t device_id[CTL_DEVID_LEN];/* passed to CTL */ 202 be_callback_t lun_shutdown; /* passed to CTL */ 203 be_lun_config_t lun_config_status; /* passed to CTL */ 204 struct ctl_backend_driver *be; /* passed to CTL */ --- 100 unchanged lines hidden --- | 199 uint32_t atomicblock; /* passed to CTL */ 200 uint32_t req_lun_id; /* passed to CTL */ 201 uint32_t lun_id; /* returned from CTL */ 202 uint8_t serial_num[CTL_SN_LEN]; /* passed to CTL */ 203 uint8_t device_id[CTL_DEVID_LEN];/* passed to CTL */ 204 be_callback_t lun_shutdown; /* passed to CTL */ 205 be_lun_config_t lun_config_status; /* passed to CTL */ 206 struct ctl_backend_driver *be; /* passed to CTL */ --- 100 unchanged lines hidden --- |