xref: /OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/aic7xxx_pci.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Adaptec AIC7xxx device driver for Linux.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Copyright (c) 2000-2001 Adaptec Inc.
5*4882a593Smuzhiyun  * All rights reserved.
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * Redistribution and use in source and binary forms, with or without
8*4882a593Smuzhiyun  * modification, are permitted provided that the following conditions
9*4882a593Smuzhiyun  * are met:
10*4882a593Smuzhiyun  * 1. Redistributions of source code must retain the above copyright
11*4882a593Smuzhiyun  *    notice, this list of conditions, and the following disclaimer,
12*4882a593Smuzhiyun  *    without modification.
13*4882a593Smuzhiyun  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
14*4882a593Smuzhiyun  *    substantially similar to the "NO WARRANTY" disclaimer below
15*4882a593Smuzhiyun  *    ("Disclaimer") and any redistribution must be conditioned upon
16*4882a593Smuzhiyun  *    including a substantially similar Disclaimer requirement for further
17*4882a593Smuzhiyun  *    binary redistribution.
18*4882a593Smuzhiyun  * 3. Neither the names of the above-listed copyright holders nor the names
19*4882a593Smuzhiyun  *    of any contributors may be used to endorse or promote products derived
20*4882a593Smuzhiyun  *    from this software without specific prior written permission.
21*4882a593Smuzhiyun  *
22*4882a593Smuzhiyun  * Alternatively, this software may be distributed under the terms of the
23*4882a593Smuzhiyun  * GNU General Public License ("GPL") version 2 as published by the Free
24*4882a593Smuzhiyun  * Software Foundation.
25*4882a593Smuzhiyun  *
26*4882a593Smuzhiyun  * NO WARRANTY
27*4882a593Smuzhiyun  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28*4882a593Smuzhiyun  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29*4882a593Smuzhiyun  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
30*4882a593Smuzhiyun  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31*4882a593Smuzhiyun  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32*4882a593Smuzhiyun  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33*4882a593Smuzhiyun  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34*4882a593Smuzhiyun  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
35*4882a593Smuzhiyun  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
36*4882a593Smuzhiyun  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37*4882a593Smuzhiyun  * POSSIBILITY OF SUCH DAMAGES.
38*4882a593Smuzhiyun  *
39*4882a593Smuzhiyun  * $Id$
40*4882a593Smuzhiyun  *
41*4882a593Smuzhiyun  */
42*4882a593Smuzhiyun #ifndef _AIC7XXX_PCI_H_
43*4882a593Smuzhiyun #define _AIC7XXX_PCI_H_
44*4882a593Smuzhiyun 
45*4882a593Smuzhiyun #define ID_ALL_MASK			0xFFFFFFFFFFFFFFFFull
46*4882a593Smuzhiyun #define ID_DEV_VENDOR_MASK		0xFFFFFFFF00000000ull
47*4882a593Smuzhiyun #define ID_9005_GENERIC_MASK		0xFFF0FFFF00000000ull
48*4882a593Smuzhiyun #define ID_9005_SISL_MASK		0x000FFFFF00000000ull
49*4882a593Smuzhiyun #define ID_9005_SISL_ID			0x0005900500000000ull
50*4882a593Smuzhiyun #define ID_AIC7850			0x5078900400000000ull
51*4882a593Smuzhiyun #define ID_AHA_2902_04_10_15_20C_30C	0x5078900478509004ull
52*4882a593Smuzhiyun #define ID_AIC7855			0x5578900400000000ull
53*4882a593Smuzhiyun #define ID_AIC7859			0x3860900400000000ull
54*4882a593Smuzhiyun #define ID_AHA_2930CU			0x3860900438699004ull
55*4882a593Smuzhiyun #define ID_AIC7860			0x6078900400000000ull
56*4882a593Smuzhiyun #define ID_AIC7860C			0x6078900478609004ull
57*4882a593Smuzhiyun #define ID_AHA_1480A			0x6075900400000000ull
58*4882a593Smuzhiyun #define ID_AHA_2940AU_0			0x6178900400000000ull
59*4882a593Smuzhiyun #define ID_AHA_2940AU_1			0x6178900478619004ull
60*4882a593Smuzhiyun #define ID_AHA_2940AU_CN		0x2178900478219004ull
61*4882a593Smuzhiyun #define ID_AHA_2930C_VAR		0x6038900438689004ull
62*4882a593Smuzhiyun 
63*4882a593Smuzhiyun #define ID_AIC7870			0x7078900400000000ull
64*4882a593Smuzhiyun #define ID_AHA_2940			0x7178900400000000ull
65*4882a593Smuzhiyun #define ID_AHA_3940			0x7278900400000000ull
66*4882a593Smuzhiyun #define ID_AHA_398X			0x7378900400000000ull
67*4882a593Smuzhiyun #define ID_AHA_2944			0x7478900400000000ull
68*4882a593Smuzhiyun #define ID_AHA_3944			0x7578900400000000ull
69*4882a593Smuzhiyun #define ID_AHA_4944			0x7678900400000000ull
70*4882a593Smuzhiyun 
71*4882a593Smuzhiyun #define ID_AIC7880			0x8078900400000000ull
72*4882a593Smuzhiyun #define ID_AIC7880_B			0x8078900478809004ull
73*4882a593Smuzhiyun #define ID_AHA_2940U			0x8178900400000000ull
74*4882a593Smuzhiyun #define ID_AHA_3940U			0x8278900400000000ull
75*4882a593Smuzhiyun #define ID_AHA_2944U			0x8478900400000000ull
76*4882a593Smuzhiyun #define ID_AHA_3944U			0x8578900400000000ull
77*4882a593Smuzhiyun #define ID_AHA_398XU			0x8378900400000000ull
78*4882a593Smuzhiyun #define ID_AHA_4944U			0x8678900400000000ull
79*4882a593Smuzhiyun #define ID_AHA_2940UB			0x8178900478819004ull
80*4882a593Smuzhiyun #define ID_AHA_2930U			0x8878900478889004ull
81*4882a593Smuzhiyun #define ID_AHA_2940U_PRO		0x8778900478879004ull
82*4882a593Smuzhiyun #define ID_AHA_2940U_CN			0x0078900478009004ull
83*4882a593Smuzhiyun 
84*4882a593Smuzhiyun #define ID_AIC7895			0x7895900478959004ull
85*4882a593Smuzhiyun #define ID_AIC7895_ARO			0x7890900478939004ull
86*4882a593Smuzhiyun #define ID_AIC7895_ARO_MASK		0xFFF0FFFFFFFFFFFFull
87*4882a593Smuzhiyun #define ID_AHA_2940U_DUAL		0x7895900478919004ull
88*4882a593Smuzhiyun #define ID_AHA_3940AU			0x7895900478929004ull
89*4882a593Smuzhiyun #define ID_AHA_3944AU			0x7895900478949004ull
90*4882a593Smuzhiyun 
91*4882a593Smuzhiyun #define ID_AIC7890			0x001F9005000F9005ull
92*4882a593Smuzhiyun #define ID_AIC7890_ARO			0x00139005000F9005ull
93*4882a593Smuzhiyun #define ID_AAA_131U2			0x0013900500039005ull
94*4882a593Smuzhiyun #define ID_AHA_2930U2			0x0011900501819005ull
95*4882a593Smuzhiyun #define ID_AHA_2940U2B			0x00109005A1009005ull
96*4882a593Smuzhiyun #define ID_AHA_2940U2_OEM		0x0010900521809005ull
97*4882a593Smuzhiyun #define ID_AHA_2940U2			0x00109005A1809005ull
98*4882a593Smuzhiyun #define ID_AHA_2950U2B			0x00109005E1009005ull
99*4882a593Smuzhiyun 
100*4882a593Smuzhiyun #define ID_AIC7892			0x008F9005FFFF9005ull
101*4882a593Smuzhiyun #define ID_AIC7892_ARO			0x00839005FFFF9005ull
102*4882a593Smuzhiyun #define ID_AHA_29160			0x00809005E2A09005ull
103*4882a593Smuzhiyun #define ID_AHA_29160_CPQ		0x00809005E2A00E11ull
104*4882a593Smuzhiyun #define ID_AHA_29160N			0x0080900562A09005ull
105*4882a593Smuzhiyun #define ID_AHA_29160C			0x0080900562209005ull
106*4882a593Smuzhiyun #define ID_AHA_29160B			0x00809005E2209005ull
107*4882a593Smuzhiyun #define ID_AHA_19160B			0x0081900562A19005ull
108*4882a593Smuzhiyun #define ID_AHA_2915_30LP		0x0082900502109005ull
109*4882a593Smuzhiyun 
110*4882a593Smuzhiyun #define ID_AIC7896			0x005F9005FFFF9005ull
111*4882a593Smuzhiyun #define ID_AIC7896_ARO			0x00539005FFFF9005ull
112*4882a593Smuzhiyun #define ID_AHA_3950U2B_0		0x00509005FFFF9005ull
113*4882a593Smuzhiyun #define ID_AHA_3950U2B_1		0x00509005F5009005ull
114*4882a593Smuzhiyun #define ID_AHA_3950U2D_0		0x00519005FFFF9005ull
115*4882a593Smuzhiyun #define ID_AHA_3950U2D_1		0x00519005B5009005ull
116*4882a593Smuzhiyun 
117*4882a593Smuzhiyun #define ID_AIC7899			0x00CF9005FFFF9005ull
118*4882a593Smuzhiyun #define ID_AIC7899_ARO			0x00C39005FFFF9005ull
119*4882a593Smuzhiyun #define ID_AHA_3960D			0x00C09005F6209005ull
120*4882a593Smuzhiyun #define ID_AHA_3960D_CPQ		0x00C09005F6200E11ull
121*4882a593Smuzhiyun 
122*4882a593Smuzhiyun #define ID_AIC7810			0x1078900400000000ull
123*4882a593Smuzhiyun #define ID_AIC7815			0x7815900400000000ull
124*4882a593Smuzhiyun 
125*4882a593Smuzhiyun #endif /* _AIC7XXX_PCI_H_ */
126