aacvar.h (177567) | aacvar.h (177619) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/dev/aac/aacvar.h 177567 2008-03-24 19:23:33Z emaste $ | 29 * $FreeBSD: head/sys/dev/aac/aacvar.h 177619 2008-03-25 21:39:06Z emaste $ |
30 */ 31 32#include <sys/bio.h> 33#include <sys/lock.h> 34#include <sys/mutex.h> 35#include <sys/taskqueue.h> 36#include <sys/selinfo.h> 37#include <geom/geom_disk.h> --- 90 unchanged lines hidden (view full) --- 128 struct aac_softc *ad_controller; 129 struct aac_container *ad_container; 130 struct disk *ad_disk; 131 int ad_flags; 132#define AAC_DISK_OPEN (1<<0) 133 int ad_cylinders; 134 int ad_heads; 135 int ad_sectors; | 30 */ 31 32#include <sys/bio.h> 33#include <sys/lock.h> 34#include <sys/mutex.h> 35#include <sys/taskqueue.h> 36#include <sys/selinfo.h> 37#include <geom/geom_disk.h> --- 90 unchanged lines hidden (view full) --- 128 struct aac_softc *ad_controller; 129 struct aac_container *ad_container; 130 struct disk *ad_disk; 131 int ad_flags; 132#define AAC_DISK_OPEN (1<<0) 133 int ad_cylinders; 134 int ad_heads; 135 int ad_sectors; |
136 u_int32_t ad_size; | 136 u_int64_t ad_size; |
137 int unit; 138}; 139 140/* 141 * Per-command control structure. 142 */ 143struct aac_command 144{ --- 242 unchanged lines hidden (view full) --- 387#define AAC_FLAGS_NO4GB (1 << 6) /* Can't access host mem >2GB */ 388#define AAC_FLAGS_256FIBS (1 << 7) /* Can only do 256 commands */ 389#define AAC_FLAGS_BROKEN_MEMMAP (1 << 8) /* Broken HostPhysMemPages */ 390#define AAC_FLAGS_SLAVE (1 << 9) 391#define AAC_FLAGS_MASTER (1 << 10) 392#define AAC_FLAGS_NEW_COMM (1 << 11) /* New comm. interface supported */ 393#define AAC_FLAGS_RAW_IO (1 << 12) /* Raw I/O interface */ 394#define AAC_FLAGS_ARRAY_64BIT (1 << 13) /* 64-bit array size */ | 137 int unit; 138}; 139 140/* 141 * Per-command control structure. 142 */ 143struct aac_command 144{ --- 242 unchanged lines hidden (view full) --- 387#define AAC_FLAGS_NO4GB (1 << 6) /* Can't access host mem >2GB */ 388#define AAC_FLAGS_256FIBS (1 << 7) /* Can only do 256 commands */ 389#define AAC_FLAGS_BROKEN_MEMMAP (1 << 8) /* Broken HostPhysMemPages */ 390#define AAC_FLAGS_SLAVE (1 << 9) 391#define AAC_FLAGS_MASTER (1 << 10) 392#define AAC_FLAGS_NEW_COMM (1 << 11) /* New comm. interface supported */ 393#define AAC_FLAGS_RAW_IO (1 << 12) /* Raw I/O interface */ 394#define AAC_FLAGS_ARRAY_64BIT (1 << 13) /* 64-bit array size */ |
395#define AAC_FLAGS_LBA_64BIT (1 << 14) /* 64-bit LBA support */ |
|
395 396 u_int32_t supported_options; 397 u_int32_t scsi_method_id; 398 TAILQ_HEAD(,aac_sim) aac_sim_tqh; 399 400 u_int32_t aac_max_fibs; /* max. FIB count */ 401 u_int32_t aac_max_fibs_alloc; /* max. alloc. per alloc_commands() */ 402 u_int32_t aac_max_fib_size; /* max. FIB size */ --- 229 unchanged lines hidden --- | 396 397 u_int32_t supported_options; 398 u_int32_t scsi_method_id; 399 TAILQ_HEAD(,aac_sim) aac_sim_tqh; 400 401 u_int32_t aac_max_fibs; /* max. FIB count */ 402 u_int32_t aac_max_fibs_alloc; /* max. alloc. per alloc_commands() */ 403 u_int32_t aac_max_fib_size; /* max. FIB size */ --- 229 unchanged lines hidden --- |