cissreg.h (197263) | cissreg.h (245459) |
---|---|
1/*- 2 * Copyright (c) 2001 Michael Smith 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2001 Michael Smith 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/ciss/cissreg.h 197263 2009-09-16 23:27:14Z scottl $ | 26 * $FreeBSD: head/sys/dev/ciss/cissreg.h 245459 2013-01-15 14:35:35Z sbruno $ |
27 */ 28 29/* 30 * Structure and I/O definitions for the Command Interface for SCSI-3 Support. 31 * 32 * Data in command CDBs are in big-endian format. All other data is little-endian. 33 * This header only supports little-endian hosts at this time. 34 */ --- 385 unchanged lines hidden (view full) --- 420#define CISS_DRIVER_INTERRUPT_ON_LOCKUP (1<<2) 421#define CISS_DRIVER_SUPPORT_MIXED_Q_TAGS (1<<3) 422#define CISS_DRIVER_HOST_IS_ALPHA (1<<4) 423#define CISS_DRIVER_MULTI_LUN_SUPPORT (1<<5) 424#define CISS_DRIVER_MESSAGE_REQUESTS_SUPPORTED (1<<7) 425#define CISS_DRIVER_DAUGHTER_ATTACHED (1<<8) 426#define CISS_DRIVER_SCSI_PREFETCH (1<<9) 427 u_int32_t max_sg_length; /* 31 in older firmware */ | 27 */ 28 29/* 30 * Structure and I/O definitions for the Command Interface for SCSI-3 Support. 31 * 32 * Data in command CDBs are in big-endian format. All other data is little-endian. 33 * This header only supports little-endian hosts at this time. 34 */ --- 385 unchanged lines hidden (view full) --- 420#define CISS_DRIVER_INTERRUPT_ON_LOCKUP (1<<2) 421#define CISS_DRIVER_SUPPORT_MIXED_Q_TAGS (1<<3) 422#define CISS_DRIVER_HOST_IS_ALPHA (1<<4) 423#define CISS_DRIVER_MULTI_LUN_SUPPORT (1<<5) 424#define CISS_DRIVER_MESSAGE_REQUESTS_SUPPORTED (1<<7) 425#define CISS_DRIVER_DAUGHTER_ATTACHED (1<<8) 426#define CISS_DRIVER_SCSI_PREFETCH (1<<9) 427 u_int32_t max_sg_length; /* 31 in older firmware */ |
428/* 429 * these fields appear in OpenCISS Spec 1.06 430 * http://cciss.sourceforge.net/#docs 431 */ 432 u_int32_t max_logical_supported; 433 u_int32_t max_physical_supported; 434 u_int32_t max_physical_per_logical; 435 u_int32_t max_perfomant_mode_cmds; 436 u_int32_t max_block_fetch_count; |
|
428} __packed; 429 430/* 431 * Configuration table for the Performant transport. Only 4 request queues 432 * are mentioned in this table, though apparently up to 256 can exist. 433 */ 434struct ciss_perf_config { 435 uint32_t fetch_count[8]; --- 316 unchanged lines hidden --- | 437} __packed; 438 439/* 440 * Configuration table for the Performant transport. Only 4 request queues 441 * are mentioned in this table, though apparently up to 256 can exist. 442 */ 443struct ciss_perf_config { 444 uint32_t fetch_count[8]; --- 316 unchanged lines hidden --- |