xref: /OK3568_Linux_fs/kernel/drivers/scsi/aic7xxx/aic79xx_pci.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Adaptec AIC79xx 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 _AIC79XX_PCI_H_
43*4882a593Smuzhiyun #define _AIC79XX_PCI_H_
44*4882a593Smuzhiyun 
45*4882a593Smuzhiyun #define ID_ALL_MASK			0xFFFFFFFFFFFFFFFFull
46*4882a593Smuzhiyun #define ID_ALL_IROC_MASK		0xFF7FFFFFFFFFFFFFull
47*4882a593Smuzhiyun #define ID_DEV_VENDOR_MASK		0xFFFFFFFF00000000ull
48*4882a593Smuzhiyun #define ID_9005_GENERIC_MASK		0xFFF0FFFF00000000ull
49*4882a593Smuzhiyun #define ID_9005_GENERIC_IROC_MASK	0xFF70FFFF00000000ull
50*4882a593Smuzhiyun 
51*4882a593Smuzhiyun #define ID_AIC7901			0x800F9005FFFF9005ull
52*4882a593Smuzhiyun #define ID_AHA_29320A			0x8000900500609005ull
53*4882a593Smuzhiyun #define ID_AHA_29320ALP			0x8017900500449005ull
54*4882a593Smuzhiyun #define ID_AHA_29320LPE			0x8017900500459005ull
55*4882a593Smuzhiyun 
56*4882a593Smuzhiyun #define ID_AIC7901A			0x801E9005FFFF9005ull
57*4882a593Smuzhiyun #define ID_AHA_29320LP			0x8014900500449005ull
58*4882a593Smuzhiyun 
59*4882a593Smuzhiyun #define ID_AIC7902			0x801F9005FFFF9005ull
60*4882a593Smuzhiyun #define ID_AIC7902_B			0x801D9005FFFF9005ull
61*4882a593Smuzhiyun #define ID_AHA_39320			0x8010900500409005ull
62*4882a593Smuzhiyun #define ID_AHA_29320			0x8012900500429005ull
63*4882a593Smuzhiyun #define ID_AHA_29320B			0x8013900500439005ull
64*4882a593Smuzhiyun #define ID_AHA_39320_B			0x8015900500409005ull
65*4882a593Smuzhiyun #define ID_AHA_39320_B_DELL		0x8015900501681028ull
66*4882a593Smuzhiyun #define ID_AHA_39320A			0x8016900500409005ull
67*4882a593Smuzhiyun #define ID_AHA_39320D			0x8011900500419005ull
68*4882a593Smuzhiyun #define ID_AHA_39320D_B			0x801C900500419005ull
69*4882a593Smuzhiyun #define ID_AHA_39320D_HP		0x8011900500AC0E11ull
70*4882a593Smuzhiyun #define ID_AHA_39320D_B_HP		0x801C900500AC0E11ull
71*4882a593Smuzhiyun 
72*4882a593Smuzhiyun #endif /* _AIC79XX_PCI_H_ */
73