tw_cl_share.h (169400) | tw_cl_share.h (172496) |
---|---|
1/* 2 * Copyright (c) 2004-07 Applied Micro Circuits Corporation. 3 * Copyright (c) 2004-05 Vinod Kashyap 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * | 1/* 2 * Copyright (c) 2004-07 Applied Micro Circuits Corporation. 3 * Copyright (c) 2004-05 Vinod Kashyap 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/dev/twa/tw_cl_share.h 169400 2007-05-09 04:16:32Z scottl $ | 27 * $FreeBSD: head/sys/dev/twa/tw_cl_share.h 172496 2007-10-09 17:43:57Z scottl $ |
28 */ 29 30/* 31 * AMCC'S 3ware driver for 9000 series storage controllers. 32 * 33 * Author: Vinod Kashyap 34 * Modifications by: Adam Radford | 28 */ 29 30/* 31 * AMCC'S 3ware driver for 9000 series storage controllers. 32 * 33 * Author: Vinod Kashyap 34 * Modifications by: Adam Radford |
35 * Modifications by: Manjunath Ranganathaiah |
|
35 */ 36 37 38 39#ifndef TW_CL_SHARE_H 40 41#define TW_CL_SHARE_H 42 --- 6 unchanged lines hidden (view full) --- 49#define TW_CL_NULL ((TW_VOID *)0) 50#define TW_CL_TRUE 1 51#define TW_CL_FALSE 0 52 53#define TW_CL_VENDOR_ID 0x13C1 /* 3ware vendor id */ 54#define TW_CL_DEVICE_ID_9K 0x1002 /* 9000 PCI series device id */ 55#define TW_CL_DEVICE_ID_9K_X 0x1003 /* 9000 PCI-X series device id */ 56#define TW_CL_DEVICE_ID_9K_E 0x1004 /* 9000 PCIe series device id */ | 36 */ 37 38 39 40#ifndef TW_CL_SHARE_H 41 42#define TW_CL_SHARE_H 43 --- 6 unchanged lines hidden (view full) --- 50#define TW_CL_NULL ((TW_VOID *)0) 51#define TW_CL_TRUE 1 52#define TW_CL_FALSE 0 53 54#define TW_CL_VENDOR_ID 0x13C1 /* 3ware vendor id */ 55#define TW_CL_DEVICE_ID_9K 0x1002 /* 9000 PCI series device id */ 56#define TW_CL_DEVICE_ID_9K_X 0x1003 /* 9000 PCI-X series device id */ 57#define TW_CL_DEVICE_ID_9K_E 0x1004 /* 9000 PCIe series device id */ |
58#define TW_CL_DEVICE_ID_9K_SA 0x1005 /* 9000 PCIe SAS series device id */ |
|
57 58#define TW_CL_BAR_TYPE_IO 1 /* I/O base address */ 59#define TW_CL_BAR_TYPE_MEM 2 /* memory base address */ 60#define TW_CL_BAR_TYPE_SBUF 3 /* SBUF base address */ 61 62#ifdef TW_OSL_ENCLOSURE_SUPPORT 63#define TW_CL_MAX_NUM_UNITS 65 /* max # of units we support 64 -- enclosure target id is 64 */ --- 536 unchanged lines hidden --- | 59 60#define TW_CL_BAR_TYPE_IO 1 /* I/O base address */ 61#define TW_CL_BAR_TYPE_MEM 2 /* memory base address */ 62#define TW_CL_BAR_TYPE_SBUF 3 /* SBUF base address */ 63 64#ifdef TW_OSL_ENCLOSURE_SUPPORT 65#define TW_CL_MAX_NUM_UNITS 65 /* max # of units we support 66 -- enclosure target id is 64 */ --- 536 unchanged lines hidden --- |