hptintf.h (256281) | hptintf.h (281957) |
---|---|
1/*- 2 * Copyright (c) 2011 HighPoint Technologies, Inc. 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) 2011 HighPoint Technologies, Inc. 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: stable/10/sys/dev/hptnr/hptintf.h 252867 2013-07-06 07:49:41Z delphij $ | 26 * $FreeBSD: stable/10/sys/dev/hptnr/hptintf.h 281957 2015-04-25 00:32:47Z delphij $ |
27 */ 28 29#include <dev/hptnr/hptnr_config.h> 30 31#ifndef HPT_INTF_H 32#define HPT_INTF_H 33 34#if defined(__BIG_ENDIAN__)&&!defined(__BIG_ENDIAN_BITFIELD) --- 331 unchanged lines hidden (view full) --- 366#define CHIP_SUPPORT_SATA_300 0x08 367 368#define HPT_SPIN_UP_MODE_NOSUPPORT 0 369#define HPT_SPIN_UP_MODE_FULL 1 370#define HPT_SPIN_UP_MODE_STANDBY 2 371 372#define HPT_CAP_DUMP_METADATA 0x1 373#define HPT_CAP_DISK_CHECKING 0x2 | 27 */ 28 29#include <dev/hptnr/hptnr_config.h> 30 31#ifndef HPT_INTF_H 32#define HPT_INTF_H 33 34#if defined(__BIG_ENDIAN__)&&!defined(__BIG_ENDIAN_BITFIELD) --- 331 unchanged lines hidden (view full) --- 366#define CHIP_SUPPORT_SATA_300 0x08 367 368#define HPT_SPIN_UP_MODE_NOSUPPORT 0 369#define HPT_SPIN_UP_MODE_FULL 1 370#define HPT_SPIN_UP_MODE_STANDBY 2 371 372#define HPT_CAP_DUMP_METADATA 0x1 373#define HPT_CAP_DISK_CHECKING 0x2 |
374#define HPT_CAP_REPORT_SECTOR_SIZE 0x10 |
|
374 375typedef struct _DRIVER_CAPABILITIES { 376 HPT_U32 dwSize; 377 378 HPT_U8 MaximumControllers; /* maximum controllers the driver can support */ 379 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */ 380 HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */ 381 HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */ --- 1850 unchanged lines hidden --- | 375 376typedef struct _DRIVER_CAPABILITIES { 377 HPT_U32 dwSize; 378 379 HPT_U8 MaximumControllers; /* maximum controllers the driver can support */ 380 HPT_U8 SupportCrossControllerRAID; /* 1-support, 0-not support */ 381 HPT_U8 MinimumBlockSizeShift; /* minimum block size shift */ 382 HPT_U8 MaximumBlockSizeShift; /* maximum block size shift */ --- 1850 unchanged lines hidden --- |